Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added JUnit .jar files and added JUnit to the project's build path. I…
…mported from the project file itself to ensure portability.
  • Loading branch information
pid1 committed Jan 1, 2015
1 parent 65d9b6b commit bbc7ee8
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .classpath
Expand Up @@ -2,5 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="hamcrest-core-1.3.jar"/>
<classpathentry kind="lib" path="junit-4.12.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Binary file modified bin/Main.class
Binary file not shown.
Binary file added hamcrest-core-1.3.jar
Binary file not shown.
Binary file added junit-4.12.jar
Binary file not shown.
16 changes: 16 additions & 0 deletions src/Main.java
@@ -1,5 +1,21 @@
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.
Expand Down
Binary file added src/hamcrest-core-1.3.jar
Binary file not shown.
Binary file added src/junit-4.12.jar
Binary file not shown.

0 comments on commit bbc7ee8

Please sign in to comment.