Created
February 22, 2013 15:21
-
-
Save mulderbaba/5014153 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
package org.ankarajug.testinfected.gist; | |
import org.junit.After; | |
import org.junit.Before; | |
/** | |
* User: mertcaliskan | |
* Date: 2/22/13 | |
*/ | |
public class ClassA { | |
@Before | |
public void classASetup() { | |
System.out.println("class A setup"); | |
} | |
@After | |
public void classATearDown() { | |
System.out.println("class A tear down"); | |
} | |
} |
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
package org.ankarajug.testinfected.gist; | |
import org.junit.After; | |
import org.junit.Before; | |
import org.junit.Test; | |
/** | |
* User: mertcaliskan | |
* Date: 2/22/13 | |
*/ | |
public class ClassB extends ClassA { | |
@Before | |
public void classBSetup() { | |
System.out.println("class B setup"); | |
} | |
@After | |
public void classBTearDown() { | |
System.out.println("class B tear down"); | |
} | |
@Test | |
public void doTheTest() { | |
System.out.println("test test test"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment