/**
* Setup TestNG method to create Rapture login object and objects.
*
* @param RaptureURL
* Passed in from <env>_testng.xml suite file
* @param RaptureUser
* Passed in from <env>_testng.xml suite file
* @param RapturePassword
* Passed in from <env>_testng.xml suite file
* @return none
*/
@BeforeMethod
@BeforeClass(groups = { "mongo" })
@Parameters({ "RaptureURL", "RaptureUser", "RapturePassword" })
public void setUp(@Optional("http://localhost:8665/rapture") String url, @Optional("rapture") String username, @Optional("rapture") String password) {
// If running from eclipse set env var -Penv=docker or use the following
// url variable settings:
// url="http://192.168.99.101:8665/rapture"; //docker
// url="http://localhost:8665/rapture";
// System.out.println("Using url " + url);
// raptureLogin = new HttpLoginApi(url, new SimpleCredentialsProvider(username, password));
// raptureLogin.login();
// seriesApi = new HttpSeriesApi(raptureLogin);
// docApi = new HttpDocApi(raptureLogin);
// scriptApi = new HttpScriptApi(raptureLogin);
// eventApi = new HttpEventApi(raptureLogin);
// fountainApi = new HttpIdGenApi(raptureLogin);
// blobApi = new HttpBlobApi(raptureLogin);
// callingContext = raptureLogin.getContext();
//
}
ConsistencyTest.java 文件源码
java
阅读 26
收藏 0
点赞 0
评论 0
项目:Rapture
作者:
评论列表
文章目录