Search in sources :

Example 11 with Repeat

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

the class MemoryDatabaseTest method tc9DeletetreiTbConnection.

@Repeat(5)
@Ignore
@Test
public void tc9DeletetreiTbConnection() {
    HsRow row = shConnectServerData.new HsRow(deleteConnectionNum);
    MemoryDBManagement db = new MemoryDBManagement(row);
    db.setMemory(false);
    db.deleteConnection(TsUIConstants.Entry.MENU);
    deleteConnectionNum++;
}
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)

Example 12 with Repeat

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

the class ProjectOperationTest method tc1DeleteProject.

@Repeat(3)
@Test
public void tc1DeleteProject() {
    ProjectCreate prj1 = new ProjectCreate(shCreatePrjData.new HsRow(deletePrjNum));
    prj1.createPrj(TsUIConstants.Entry.MENU);
    ProjectDelete prj2 = new ProjectDelete(shDeletePrjData.new HsRow(deletePrjNum));
    prj2.deletePrj(TsUIConstants.Entry.MENU);
    deletePrjNum++;
}
Also used : ProjectCreate(net.heartsome.cat.ts.test.basecase.menu.file.ProjectCreate) ProjectDelete(net.heartsome.cat.ts.test.basecase.menu.file.ProjectDelete) Test(org.junit.Test) Repeat(net.heartsome.test.swtbot.junit.Repeat)

Example 13 with Repeat

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

the class ProjectOperationTest method tc3RenameProject.

// @Ignore
@Repeat(5)
@Test
public void tc3RenameProject() {
    ProjectRename prj = new ProjectRename(shRenamePrjData.new HsRow(renamePrjNum));
    prj.renamePrj(TsUIConstants.Entry.SHORTCUT);
    renamePrjNum++;
}
Also used : ProjectRename(net.heartsome.cat.ts.test.basecase.menu.file.ProjectRename) 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