summaryrefslogtreecommitdiff
path: root/scalalib/test/resources/hello-java/core/test/src/hello/MyCoreTests.java
diff options
context:
space:
mode:
Diffstat (limited to 'scalalib/test/resources/hello-java/core/test/src/hello/MyCoreTests.java')
-rw-r--r--scalalib/test/resources/hello-java/core/test/src/hello/MyCoreTests.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/scalalib/test/resources/hello-java/core/test/src/hello/MyCoreTests.java b/scalalib/test/resources/hello-java/core/test/src/hello/MyCoreTests.java
new file mode 100644
index 00000000..38bebaeb
--- /dev/null
+++ b/scalalib/test/resources/hello-java/core/test/src/hello/MyCoreTests.java
@@ -0,0 +1,15 @@
+package hello;
+
+import static org.junit.Assert.assertEquals;
+import org.junit.Test;
+
+public class MyCoreTests {
+ @Test
+ public void msgTest() {
+ assertEquals(Core.msg(), "Hello World!!");
+ }
+ @Test
+ public void lengthTest() {
+ assertEquals(Core.msg().length(), 11);
+ }
+} \ No newline at end of file