[ SEARCH-1485 ] Minor (name) refactoring on some tests / superclass

This commit is contained in:
agazzarini
2019-04-10 15:29:37 +02:00
parent 78313094dc
commit f14f9c3a45
9 changed files with 9 additions and 9 deletions
@@ -28,7 +28,7 @@ import com.jayway.restassured.RestAssured;
@Configuration
@ContextConfiguration("classpath:alfresco-search-e2e-context.xml")
public abstract class AbstractBackupTest extends AbstractTestNGSpringContextTests
public abstract class AbstractBackupE2ETest extends AbstractTestNGSpringContextTests
{
protected SiteModel testSite = new SiteModel("siteForBackupTesting");
protected FolderModel folder = new FolderModel("folderBackedUp");
@@ -9,7 +9,7 @@ import org.testng.annotations.Test;
* @author Paul Brodner
*
*/
public class SearchServiceOnBackupTests extends AbstractBackupTest
public class SearchServicesOnBackupTests extends AbstractBackupE2ETest
{
@Test
public void deleteBackupFolder() throws Exception {
@@ -9,7 +9,7 @@ import org.testng.annotations.Test;
* @author Paul Brodner
*
*/
public class SearchServicePostBackupTests extends AbstractBackupTest
public class SearchServicesPostBackupTests extends AbstractBackupE2ETest
{
@Test
public void testIFBackupDataExist() throws Exception {
@@ -14,7 +14,7 @@ import org.testng.annotations.Test;
* @author Paul Brodner
*
*/
public class SearchServicePreBackupTests extends AbstractBackupTest
public class SearchServicesPreBackupTests extends AbstractBackupE2ETest
{
/**
* {"responseHeader":{"status":0,"QTime":1},"exception":"org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
@@ -17,7 +17,7 @@ import org.testng.annotations.BeforeClass;
* @author Paul Brodner
*/
@ContextConfiguration("classpath:alfresco-search-e2e-context.xml")
public abstract class UpgradeTestCase extends AbstractTestNGSpringContextTests
public abstract class AbstractUpgradeE2ETest extends AbstractTestNGSpringContextTests
{
@Autowired
protected ServerHealth serverHealth;
@@ -9,7 +9,7 @@ import org.alfresco.utility.model.QueryModel;
import org.slf4j.Logger;
import org.testng.annotations.Test;
public class SearchServiceUpgradeTests extends UpgradeTestCase
public class SearchServiceUpgradeTests extends AbstractUpgradeE2ETest
{
private static Logger LOG = LogFactory.getLogger();
@@ -4,7 +4,7 @@
<classes>
<!-- execute this before backup -->
<class
name="org.alfresco.test.search.nonFunctional.backup.SearchServiceOnBackupTests" />
name="org.alfresco.test.search.nonFunctional.backup.SearchServicesOnBackupTests" />
</classes>
</test>
</suite>
@@ -4,7 +4,7 @@
<classes>
<!-- execute this after backup -->
<class
name="org.alfresco.test.search.nonFunctional.backup.SearchServicePostBackupTests" />
name="org.alfresco.test.search.nonFunctional.backup.SearchServicesPostBackupTests" />
</classes>
</test>
</suite>
@@ -4,7 +4,7 @@
<classes>
<!-- execute this before backup -->
<class
name="org.alfresco.test.search.nonFunctional.backup.SearchServicePreBackupTests" />
name="org.alfresco.test.search.nonFunctional.backup.SearchServicesPreBackupTests" />
</classes>
</test>
</suite>