REPO-2774: refactor the test suite names to make the bamboo jobs easier to read

This commit is contained in:
Andrei Rebegea
2017-08-07 15:02:40 +03:00
parent c283c81acc
commit 2d05837fe3
18 changed files with 23 additions and 24 deletions

View File

@@ -548,6 +548,7 @@ public class AllRepositoryTestsCatalogue
// [classpath:alfresco/application-context.xml] - part 7 // [classpath:alfresco/application-context.xml] - part 7
static void applicationContext_07(TestSuite suite) static void applicationContext_07(TestSuite suite)
{ {
suite.addTest(new JUnit4TestAdapter(RepositoryStartupTest.class));
suite.addTest(new JUnit4TestAdapter(org.alfresco.util.CronTriggerBeanSystemTest.class)); suite.addTest(new JUnit4TestAdapter(org.alfresco.util.CronTriggerBeanSystemTest.class));
suite.addTest(new JUnit4TestAdapter(org.alfresco.filesys.auth.cifs.CifsAuthenticatorPassthruTest.class)); suite.addTest(new JUnit4TestAdapter(org.alfresco.filesys.auth.cifs.CifsAuthenticatorPassthruTest.class));
@@ -863,9 +864,9 @@ public class AllRepositoryTestsCatalogue
} }
// [classpath:alfresco/application-context.xml, classpath:cache-test/cache-test-context.xml] // [classpath:alfresco/application-context.xml, classpath:cache-test/cache-test-context.xml]
static void applicationContext_cacheTestContext_14(TestSuite suite) static void applicationContext_cacheTestContext(TestSuite suite)
{ {
// this does not want to work in the applicationContext_globalIntegrationTestContext_01 test - unless it is the first test // this does not want to work in the applicationContext_globalIntegrationTestContext test - unless it is the first test
// pass - fast 6s - // pass - fast 6s -
// cache-test-context.xml should be safe to merge - it defines some beans that seem to be used only in tests // cache-test-context.xml should be safe to merge - it defines some beans that seem to be used only in tests
suite.addTestSuite(org.alfresco.repo.cache.CacheTest.class); suite.addTestSuite(org.alfresco.repo.cache.CacheTest.class);
@@ -894,7 +895,7 @@ public class AllRepositoryTestsCatalogue
} }
// [classpath:**/virtualization-test-context.xml, classpath:alfresco/application-context.xml] // [classpath:**/virtualization-test-context.xml, classpath:alfresco/application-context.xml]
static void virtualizationTestContext_applicationContext_70(TestSuite suite) static void virtualizationTestContext_applicationContext(TestSuite suite)
{ {
// pass - 16s - safe for merge // pass - 16s - safe for merge
@@ -902,8 +903,6 @@ public class AllRepositoryTestsCatalogue
suite.addTest(org.alfresco.repo.virtual.VirtualizationIntegrationTestSuite.suite()); suite.addTest(org.alfresco.repo.virtual.VirtualizationIntegrationTestSuite.suite());
} }
// TODO until here
// ------------------------------------application context until here -------------------
/** /**
* *

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository001TestSuite_ApplicationContext extends TestSuite public class AppContext01TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository002TestSuite_ApplicationContext extends TestSuite public class AppContext02TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository003TestSuite_ApplicationContext extends TestSuite public class AppContext03TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository004TestSuite_ApplicationContext extends TestSuite public class AppContext04TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository005TestSuite_ApplicationContext extends TestSuite public class AppContext05TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository006TestSuite_ApplicationContext extends TestSuite public class AppContext06TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository007TestSuite_ApplicationContext extends TestSuite public class AppContext07TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository008TestSuite_ApplicationContext extends TestSuite public class AppContext08TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository009TestSuite_ApplicationContext public class AppContext09TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository010TestSuite_ApplicationContext extends TestSuite public class AppContext10TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository011TestSuite_ApplicationContext extends TestSuite public class AppContext11TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository012TestSuite_ApplicationContext extends TestSuite public class AppContext12TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository100TestSuite_ApplicationContext_Combinations1 extends TestSuite public class AppContextExtra01TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,17 +28,17 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository101TestSuite_ApplicationContext_Combinations2 extends TestSuite public class AppContextExtra02TestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {
TestSuite suite = new TestSuite(); TestSuite suite = new TestSuite();
//any other order may lead to failing tests //any other order may lead to failing tests
AllRepositoryTestsCatalogue.virtualizationTestContext_applicationContext_70(suite); AllRepositoryTestsCatalogue.virtualizationTestContext_applicationContext(suite);
AllRepositoryTestsCatalogue.applicationContext_testSubscriptionsContext_52(suite); AllRepositoryTestsCatalogue.applicationContext_testSubscriptionsContext_52(suite);
AllRepositoryTestsCatalogue.applicationContext_openCmisContext_07(suite); AllRepositoryTestsCatalogue.applicationContext_openCmisContext_07(suite);
AllRepositoryTestsCatalogue.applicationContext_cacheTestContext_14(suite); AllRepositoryTestsCatalogue.applicationContext_cacheTestContext(suite);
AllRepositoryTestsCatalogue.applicationContext_mtAllContext_56(suite); AllRepositoryTestsCatalogue.applicationContext_mtAllContext_56(suite);
return suite; return suite;

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository200TestSuite_MinimalContext extends TestSuite public class MinContextTestSuite extends TestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository999TestSuite_MiscContexts public class MiscContextTestSuite
{ {
public static Test suite() public static Test suite()
{ {

View File

@@ -28,7 +28,7 @@ package org.alfresco;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;
public class Repository300TestSuite_Transformations public class TransformerTestSuite
{ {
public static Test suite() public static Test suite()
{ {