-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved JUnit test example from Main.java to a JUnit_Test_Example.class…
… file. Standardized formatting (Replace all tab characters with spaces, 2 spaces per tab).
- Loading branch information
Showing
4 changed files
with
20 additions
and
19 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import static org.junit.Assert.assertEquals; | ||
|
||
import org.junit.Test; | ||
import org.junit.Ignore; | ||
import org.junit.runner.RunWith; | ||
import org.junit.runners.JUnit4; | ||
|
||
public class JUnit_Test_Example { | ||
|
||
@Test | ||
public void thisAlwaysPasses() { | ||
|
||
} | ||
|
||
@Test | ||
@Ignore | ||
public void thisIsIgnored() { | ||
|
||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,6 @@ | ||
import static org.junit.Assert.assertEquals; | ||
|
||
import org.junit.Test; | ||
import org.junit.Ignore; | ||
import org.junit.runner.RunWith; | ||
import org.junit.runners.JUnit4; | ||
|
||
public class Main { | ||
@Test | ||
public void thisAlwaysPasses() { | ||
|
||
} | ||
|
||
@Test | ||
@Ignore | ||
public void thisIsIgnored() { | ||
|
||
} | ||
|
||
public static void main(String[] args) { | ||
// Demonstrations for Sarah. | ||
|
||
} | ||
|
||
} |