Skip to content
Browse files

Removed testng test ordering, may need more work

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
  • Loading branch information...
1 parent ab05a21 commit c0fec2dce63452843151ea301a1c29cf1ea0de2b @ifedorenko ifedorenko committed Jan 5, 2013
View
6 .../src/test/java/org/sonatype/nexus/integrationtests/nexus142/Nexus142UserPermissionIT.java
@@ -79,7 +79,7 @@ public void testCreatePermission()
}
- @Test( dependsOnMethods = "testCreatePermission" )
+ @Test
public void testUpdatePermission()
throws IOException
{
@@ -136,7 +136,7 @@ public void testUpdatePermission()
}
- @Test( dependsOnMethods = "testUpdatePermission" )
+ @Test
public void testReadPermission()
throws IOException
{
@@ -192,7 +192,7 @@ public void testReadPermission()
}
- @Test( dependsOnMethods = { "testReadPermission" } )
+ @Test
public void testDeletePermission()
throws IOException
{
View
4 ...ness-its/src/test/java/org/sonatype/nexus/integrationtests/nexus383/Nexus383SearchIT.java
@@ -221,8 +221,8 @@ public void disableDeploying()
getSearchMessageUtil().allowDeploying( NEXUS_TEST_HARNESS_REPO, true );
}
- @Test( dependsOnMethods = { "searchFor", "searchForSHA1", "disableSearching", "disableEnableSearching",
- "disableBrowsing", "disableEnableBrowsing", "disableDeploying" } )
+ @Test //( dependsOnMethods = { "searchFor", "searchForSHA1", "disableSearching", "disableEnableSearching",
+ //"disableBrowsing", "disableEnableBrowsing", "disableDeploying" } )
// 4. deploy same artifact to multiple repos, and search
public void crossRepositorySearch()
throws Exception
View
4 ...ss-its/src/test/java/org/sonatype/nexus/integrationtests/nexus383/Nexus383SearchNGIT.java
@@ -231,8 +231,8 @@ public void disableDeploying()
getSearchMessageUtil().allowDeploying( NEXUS_TEST_HARNESS_REPO, true );
}
- @Test( dependsOnMethods = { "searchFor", "searchForSHA1", "disableSearching", "disableEnableSearching",
- "disableBrowsing", "disableEnableBrowsing", "disableDeploying" } )
+ @Test //( dependsOnMethods = { "searchFor", "searchForSHA1", "disableSearching", "disableEnableSearching",
+ //"disableBrowsing", "disableEnableBrowsing", "disableDeploying" } )
// 4. deploy same artifact to multiple repos, and search
public void crossRepositorySearch()
throws Exception
View
9 ...ness-its/src/test/java/org/sonatype/nexus/integrationtests/nexus3860/AbstractCargoIT.java
@@ -232,10 +232,13 @@ public void checkStatus()
protected PluginConsoleMessageUtil pluginConsoleMsgUtil = new PluginConsoleMessageUtil();
- @Test( dependsOnMethods = { "checkStatus", "checkLogs" } )
+ @Test
public void checkPlugins()
throws Exception
{
+ checkStatus();
+ checkLogs();
+
TestContainer.getInstance().getTestContext().useAdminForRequests();
List<PluginInfoDTO> pluginInfos = pluginConsoleMsgUtil.listPluginInfos();
@@ -249,10 +252,12 @@ public void checkPlugins()
}
}
- @Test( dependsOnMethods = { "checkStatus" } )
+ @Test
public void checkLogs()
throws Exception
{
+ checkStatus();
+
Response response = RequestFacade.sendMessage( "service/local/logs", Method.GET );
String responseText = response.getEntity().getText();
View
4 ...test/java/org/sonatype/nexus/integrationtests/nexus4593/Nexus4593NoAutoblockFor403IT.java
@@ -104,7 +104,7 @@ public void testNoAutoblockOn403()
* <p/>
* This test will change repo status to auto blocked.
*/
- @Test( dependsOnMethods = "testNoAutoblockOn403" )
+ @Test //( dependsOnMethods = "testNoAutoblockOn403" )
public void testAutoblockOn401()
throws Exception
{
@@ -127,7 +127,7 @@ public void testAutoblockOn401()
/**
* Verify that un-autoblocking a repo works when 'HEAD /' is giving 403.
*/
- @Test( dependsOnMethods = "testAutoblockOn401" )
+ @Test //( dependsOnMethods = "testAutoblockOn401" )
public void testUnAutoblockFor403()
throws Exception
{
View
4 .../src/test/java/org/sonatype/nexus/integrationtests/nexus502/Nexus502MavenExecutionIT.java
@@ -65,7 +65,7 @@ public void dependencyDownload()
}
}
- @Test( dependsOnMethods = { "dependencyDownload" } )
+ @Test //( dependsOnMethods = { "dependencyDownload" } )
public void dependencyDownloadPrivateServer()
throws Exception
{
@@ -92,7 +92,7 @@ private UserResource disableUser( String userId )
}
// Depends on nexus-508
- @Test( dependsOnMethods = { "dependencyDownloadPrivateServer" } )
+ @Test //( dependsOnMethods = { "dependencyDownloadPrivateServer" } )
public void dependencyDownloadProtectedServer()
throws Exception
{
View
4 ...its/src/test/java/org/sonatype/nexus/integrationtests/nexus538/Nexus538SystemFeedsIT.java
@@ -44,7 +44,7 @@ public void bootEventTest()
Assert.assertTrue( findFeedEntry( feed, "Booting", null ) );
}
- @Test( dependsOnMethods = { "bootEventTest" } )
+ @Test //( dependsOnMethods = { "bootEventTest" } )
public void updateRepoTest()
throws Exception
{
@@ -67,7 +67,7 @@ public void updateRepoTest()
findFeedEntry( feed, "Configuration change", new String[] { newName, oldName } ) );
}
- @Test( dependsOnMethods = { "updateRepoTest" } )
+ @Test //( dependsOnMethods = { "updateRepoTest" } )
public void changeProxyStatusTest()
throws Exception
{

0 comments on commit c0fec2d

Please sign in to comment.
Something went wrong with that request. Please try again.