Search in sources :

Example 1 with Repeat

use of net.heartsome.test.swtbot.junit.Repeat in project translationstudio8 by heartsome.

the class DatabaseTest method tc3DeleteDB.

@Repeat(15)
@Test
public void tc3DeleteDB() {
    HsRow row = shDeleteDBData.new HsRow(deleteDBNum);
    DBManagement db = new DBManagement(row);
    db.deleteDB(TsUIConstants.Entry.MENU);
    deleteDBNum++;
}
Also used : HsRow(net.heartsome.test.utilities.poi.ExcelUtil.HsSheet.HsRow) DBManagement(net.heartsome.cat.ts.test.basecase.menu.db.DBManagement) Test(org.junit.Test) Repeat(net.heartsome.test.swtbot.junit.Repeat)

Example 2 with Repeat

use of net.heartsome.test.swtbot.junit.Repeat in project translationstudio8 by heartsome.

the class DatabaseTest method tc2CreateDB.

@Repeat(25)
@Test
public void tc2CreateDB() {
    HsRow row = shCreateDBData.new HsRow(createDBNum);
    DBManagement db = new DBManagement(row);
    db.createDB(TsUIConstants.Entry.MENU);
    createDBNum++;
}
Also used : HsRow(net.heartsome.test.utilities.poi.ExcelUtil.HsSheet.HsRow) DBManagement(net.heartsome.cat.ts.test.basecase.menu.db.DBManagement) Test(org.junit.Test) Repeat(net.heartsome.test.swtbot.junit.Repeat)

Example 3 with Repeat

use of net.heartsome.test.swtbot.junit.Repeat in project translationstudio8 by heartsome.

the class ImportToDBTest method tc2ImportTBX.

//	@Repeat(10)
//	@Test
//	public void tc1ImportTMX() {
//		HsRow row = shImportTMXData.new HsRow(importTMXNum);
//		ImportToDB tmx = new ImportToDB(TsUIConstants.ImportType.TMX, row);
//		tmx.importTMX(TsUIConstants.Entry.MENU);
//		importTMXNum++;
//	}
@Repeat(10)
@Test
public void tc2ImportTBX() {
    HsRow row = shImportTBXData.new HsRow(importTBXNum);
    ImportToDB tbx = new ImportToDB(TsUIConstants.ImportType.TBX, row);
    tbx.importTBX(TsUIConstants.Entry.MENU);
    importTBXNum++;
}
Also used : ImportToDB(net.heartsome.cat.ts.test.basecase.menu.db.ImportToDB) HsRow(net.heartsome.test.utilities.poi.ExcelUtil.HsSheet.HsRow) Test(org.junit.Test) Repeat(net.heartsome.test.swtbot.junit.Repeat)

Example 4 with Repeat

use of net.heartsome.test.swtbot.junit.Repeat in project translationstudio8 by heartsome.

the class MemoryDatabaseTest method tc7CreatetreiTbDB.

@Repeat(5)
@Test
public void tc7CreatetreiTbDB() {
    HsRow row = shCreateDBData.new HsRow(createDBNum);
    MemoryDBManagement db = new MemoryDBManagement(row);
    db.setMemory(false);
    db.createDB(TsUIConstants.Entry.MENU);
    createDBNum++;
}
Also used : HsRow(net.heartsome.test.utilities.poi.ExcelUtil.HsSheet.HsRow) MemoryDBManagement(net.heartsome.cat.ts.test.basecase.menu.db.MemoryDBManagement) Test(org.junit.Test) Repeat(net.heartsome.test.swtbot.junit.Repeat)

Example 5 with Repeat

use of net.heartsome.test.swtbot.junit.Repeat in project translationstudio8 by heartsome.

the class MemoryDatabaseTest method tc8DeletetreiTbDB.

@Repeat(15)
@Ignore
@Test
public void tc8DeletetreiTbDB() {
    HsRow row = shDeleteDBData.new HsRow(deleteDBNum);
    MemoryDBManagement db = new MemoryDBManagement(row);
    db.setMemory(false);
    db.deleteDB(TsUIConstants.Entry.MENU);
    deleteDBNum++;
}
Also used : HsRow(net.heartsome.test.utilities.poi.ExcelUtil.HsSheet.HsRow) MemoryDBManagement(net.heartsome.cat.ts.test.basecase.menu.db.MemoryDBManagement) Ignore(org.junit.Ignore) Test(org.junit.Test) Repeat(net.heartsome.test.swtbot.junit.Repeat)

Aggregations

Repeat (net.heartsome.test.swtbot.junit.Repeat)13 Test (org.junit.Test)13 HsRow (net.heartsome.test.utilities.poi.ExcelUtil.HsSheet.HsRow)10 MemoryDBManagement (net.heartsome.cat.ts.test.basecase.menu.db.MemoryDBManagement)5 DBManagement (net.heartsome.cat.ts.test.basecase.menu.db.DBManagement)4 Ignore (org.junit.Ignore)3 ProjectCreate (net.heartsome.cat.ts.test.basecase.menu.file.ProjectCreate)2 ImportToDB (net.heartsome.cat.ts.test.basecase.menu.db.ImportToDB)1 ProjectDelete (net.heartsome.cat.ts.test.basecase.menu.file.ProjectDelete)1 ProjectRename (net.heartsome.cat.ts.test.basecase.menu.file.ProjectRename)1