mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-10-01 14:41:19 +00:00
update sanity and abstract restTest
This commit is contained in:
@@ -8,16 +8,12 @@ import org.alfresco.utility.data.DataSite;
|
|||||||
import org.alfresco.utility.data.DataUser;
|
import org.alfresco.utility.data.DataUser;
|
||||||
import org.alfresco.utility.network.ServerHealth;
|
import org.alfresco.utility.network.ServerHealth;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.annotation.Scope;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
import org.springframework.test.context.ContextConfiguration;
|
import org.springframework.test.context.ContextConfiguration;
|
||||||
import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
|
import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
|
||||||
import org.testng.annotations.BeforeClass;
|
import org.testng.annotations.BeforeClass;
|
||||||
|
|
||||||
import com.jayway.restassured.RestAssured;
|
import com.jayway.restassured.RestAssured;
|
||||||
|
|
||||||
@Component
|
|
||||||
@Scope(value = "prototype")
|
|
||||||
@ContextConfiguration("classpath:alfresco-restapi-context.xml")
|
@ContextConfiguration("classpath:alfresco-restapi-context.xml")
|
||||||
public abstract class RestTest extends AbstractTestNGSpringContextTests
|
public abstract class RestTest extends AbstractTestNGSpringContextTests
|
||||||
{
|
{
|
||||||
|
@@ -10,8 +10,7 @@
|
|||||||
<groups>
|
<groups>
|
||||||
<run>
|
<run>
|
||||||
<include name="sanity" />
|
<include name="sanity" />
|
||||||
<exclude name="demo"></exclude>
|
<exclude name="demo"></exclude>
|
||||||
<exclude name=""></exclude>
|
|
||||||
</run>
|
</run>
|
||||||
</groups>
|
</groups>
|
||||||
<packages>
|
<packages>
|
||||||
|
Reference in New Issue
Block a user