Skip to content

Commit

Permalink
Init repository
Browse files Browse the repository at this point in the history
  • Loading branch information
surli committed Oct 12, 2017
0 parents commit 27009d6
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.iml
target/
.idea
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
language: java
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?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>fr.inria.draft</groupId>
<artifactId>draft-ci</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.4</version>
<scope>test</scope>
</dependency>
</dependencies>


</project>
6 changes: 6 additions & 0 deletions src/main/java/DumbClass.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* Created by urli on 12/10/2017.
*/
public class DumbClass {
public static int FOO = 42;
}
14 changes: 14 additions & 0 deletions src/test/java/TestDumbClass.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import org.junit.Test;

import static org.junit.Assert.assertEquals;

/**
* Created by urli on 12/10/2017.
*/
public class TestDumbClass {

@Test
public void testFoo() {
assertEquals(42, DumbClass.FOO);
}
}

0 comments on commit 27009d6

Please sign in to comment.