add junit

This commit is contained in:
Jeff Xiong
2013-03-13 08:36:58 +08:00
parent 1b5d0f705a
commit 77d7982ff6
3 changed files with 36 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
.idea
*.iml
target
+19
View File
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.thoughtworkers</groupId>
<artifactId>java-dojo</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
</dependency>
</dependencies>
</project>
@@ -0,0 +1,13 @@
package org.thoughtworkers;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
public class SmokeTest {
@Test
public void shouldAlwaysPass() throws Exception {
assertThat(1, is(1));
}
}