Created
December 5, 2013 19:59
-
-
Save acdcjunior/7812834 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.*; | |
public class ExemploTest { | |
@Rule | |
public ExemploMethodRule exemploRule = new ExemploMethodRule(); | |
@BeforeClass | |
public static void beforeClass() { | |
System.out.println("@BeforeClass"); | |
} | |
@AfterClass | |
public static void afterClass() { | |
System.out.println("@AfterClass"); | |
} | |
@Before | |
public void before() { | |
System.out.println("@Before"); | |
} | |
@After | |
public void after() { | |
System.out.println("@After"); | |
} | |
@Test | |
public void aa() { | |
System.out.println("aa()"); | |
} | |
@Test | |
public void bb() { | |
System.out.println("bb()"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment