Esempio n. 1
0
 @BeforeMethod
 private void createStacks() throws TckRepositoryException {
   stacks = new StackImpl[STACKS_SIZE];
   for (int i = 0; i < STACKS_SIZE; i++) {
     stacks[i] = createStack("stack-" + i, "name-" + i);
   }
   stackRepo.createAll(asList(stacks));
 }
Esempio n. 2
0
 @AfterMethod
 private void removeStacks() throws TckRepositoryException {
   stackRepo.removeAll();
 }