mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
[ SEARCH-1485 ] Minor (name) refactoring on some tests / superclass
This commit is contained in:
+1
-1
@@ -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");
|
||||
+1
-1
@@ -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 {
|
||||
+1
-1
@@ -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 {
|
||||
+1
-1
@@ -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:
|
||||
+1
-1
@@ -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;
|
||||
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user