use of net.heartsome.test.utilities.poi.ExcelUtil.HsSheet.HsRow 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++;
}
use of net.heartsome.test.utilities.poi.ExcelUtil.HsSheet.HsRow 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++;
}
use of net.heartsome.test.utilities.poi.ExcelUtil.HsSheet.HsRow 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++;
}
use of net.heartsome.test.utilities.poi.ExcelUtil.HsSheet.HsRow in project translationstudio8 by heartsome.
the class ImportToDBTest method end.
@AfterClass
public static void end() {
// 删除用完的数据库
HsRow dbRow = shImportTMXData.new HsRow(1);
MemoryDBManagement db = new MemoryDBManagement(dbRow);
db.deleteDB(TsUIConstants.Entry.MENU, true);
}
use of net.heartsome.test.utilities.poi.ExcelUtil.HsSheet.HsRow 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++;
}
Aggregations