Skip to content

Commit

Permalink
Moved JUnit test example from Main.java to a JUnit_Test_Example.class…
Browse files Browse the repository at this point in the history
… file.

Standardized formatting (Replace all tab characters with spaces, 2 spaces per
tab).
  • Loading branch information
pid1 committed Jan 12, 2015
1 parent bbc7ee8 commit a96451d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
Binary file added bin/JUnit_Test_Example.class
Binary file not shown.
Binary file modified bin/Main.class
Binary file not shown.
20 changes: 20 additions & 0 deletions src/JUnit_Test_Example.java
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() {

}
}
19 changes: 0 additions & 19 deletions src/Main.java
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.

}

}

0 comments on commit a96451d

Please sign in to comment.