Browse Source

drop ProjectComparisonTest as the page was removed

tags/6.3-RC1
Stas Vilchik 7 years ago
parent
commit
a2d0b4ee58

+ 0
- 3
it/it-tests/src/test/java/it/Category4Suite.java View File

@@ -29,7 +29,6 @@ import it.duplication.CrossProjectDuplicationsOnRemoveFileTest;
import it.duplication.CrossProjectDuplicationsTest;
import it.duplication.DuplicationsTest;
import it.duplication.NewDuplicationsTest;
import it.projectComparison.ProjectComparisonTest;
import it.projectEvent.EventTest;
import it.projectSearch.SearchProjectsTest;
import it.qualityProfile.QualityProfilesPageTest;
@@ -80,8 +79,6 @@ import static util.ItUtils.xooPlugin;
PurgeTest.class,
// project event
EventTest.class,
// project comparison
ProjectComparisonTest.class,
// project search
SearchProjectsTest.class,
// http

+ 0
- 58
it/it-tests/src/test/java/it/projectComparison/ProjectComparisonTest.java View File

@@ -1,58 +0,0 @@
/*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
package it.projectComparison;

import com.sonar.orchestrator.Orchestrator;
import com.sonar.orchestrator.build.SonarScanner;
import it.Category4Suite;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test;

import static util.ItUtils.projectDir;
import static util.selenium.Selenese.runSelenese;

public class ProjectComparisonTest {

@ClassRule
public static Orchestrator orchestrator = Category4Suite.ORCHESTRATOR;

@BeforeClass
public static void inspectProject() {
orchestrator.executeBuild(
SonarScanner.create(projectDir("shared/xoo-sample"))
.setProjectKey("project-comparison-test-project")
.setProjectName("ProjectComparisonTest Project"));
}

@Test
@Ignore("need to find a way to type into invisible input fields")
public void test_project_comparison_service() {
runSelenese(orchestrator,
"/projectComparison/ProjectComparisonTest/should-display-basic-set-of-metrics.html",
"/projectComparison/ProjectComparisonTest/should-add-projects.html",
"/projectComparison/ProjectComparisonTest/should-move-and-remove-projects.html",
"/projectComparison/ProjectComparisonTest/should-add-metrics.html",
"/projectComparison/ProjectComparisonTest/should-not-add-differential-metrics.html",
"/projectComparison/ProjectComparisonTest/should-move-and-remove-metrics.html");
}

}

Loading…
Cancel
Save