Home | History | Annotate | Download | only in tmp
      1 package test.tmp;
      2 
      3 import org.testng.annotations.BeforeClass;
      4 import org.testng.annotations.Test;
      5 
      6 public class TestB {
      7     @BeforeClass
      8     public void insertB() {
      9         // Inserts an entity 'B'. This is an expensive operation.
     10         // After this, the entity 'B' is the first row on the table.
     11     }
     12 
     13     @Test
     14     public void testGetB() {
     15         // Checks that 'B' is the first row on the table, and loads it.
     16     }
     17 
     18     @Test(dependsOnMethods = "testGetB")
     19     public void testViewB_Details1() {
     20         // Loads the first row (assumed B) and checks some details
     21     }
     22 
     23     @Test(dependsOnMethods = "testGetB")
     24     public void testViewB_Details2() {
     25         // Loads the first row (assumed B) and checks some details
     26     }
     27 
     28     @Test(dependsOnMethods = "testGetB")
     29     public void testViewB_Details3() {
     30         // Loads the first row (assumed B) and checks some details
     31     }
     32 
     33     @Test(dependsOnMethods = "testGetB")
     34     public void testViewB_Details4() {
     35     }
     36 
     37 }
     38