First commit.
This commit is contained in:
commit
17c072b192
39 changed files with 1817 additions and 0 deletions
BIN
examples/test/src/main/java/App.class
Normal file
BIN
examples/test/src/main/java/App.class
Normal file
Binary file not shown.
12
examples/test/src/main/java/App.java
Normal file
12
examples/test/src/main/java/App.java
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* This Java source file was generated by the Gradle 'init' task.
|
||||
*/
|
||||
public class App {
|
||||
public String getGreeting() {
|
||||
return "Hello world.";
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(new App().getGreeting());
|
||||
}
|
||||
}
|
12
examples/test/src/test/java/AppTest.java
Normal file
12
examples/test/src/test/java/AppTest.java
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* This Java source file was generated by the Gradle 'init' task.
|
||||
*/
|
||||
import org.junit.Test;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
public class AppTest {
|
||||
@Test public void testAppHasAGreeting() {
|
||||
App classUnderTest = new App();
|
||||
assertNotNull("app should have a greeting", classUnderTest.getGreeting());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue