summaryrefslogtreecommitdiff
path: root/scl
diff options
context:
space:
mode:
authorstudent <student@students-iMac.local>2018-02-13 10:53:27 -0500
committerstudent <student@students-iMac.local>2018-02-13 10:53:27 -0500
commit812dea5faf3eb6d067379f1435eced6142f38532 (patch)
tree6562dc106d83abdc3f9944ac8aad67b0cdd5dd68 /scl
parente1480c4e706d4902f9865f6119e71e30b4173153 (diff)
Create SCL module
Diffstat (limited to 'scl')
-rw-r--r--scl/pom.xml26
-rw-r--r--scl/src/main/java/bjc/App.java13
-rw-r--r--scl/src/test/java/bjc/AppTest.java38
3 files changed, 77 insertions, 0 deletions
diff --git a/scl/pom.xml b/scl/pom.xml
new file mode 100644
index 0000000..a4e9e4c
--- /dev/null
+++ b/scl/pom.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>bjc</groupId>
+ <artifactId>dicelang-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
+ <groupId>bjc</groupId>
+ <artifactId>dicelang-scl</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <name>scl</name>
+ <url>http://maven.apache.org</url>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/scl/src/main/java/bjc/App.java b/scl/src/main/java/bjc/App.java
new file mode 100644
index 0000000..ff1c4f9
--- /dev/null
+++ b/scl/src/main/java/bjc/App.java
@@ -0,0 +1,13 @@
+package bjc;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/scl/src/test/java/bjc/AppTest.java b/scl/src/test/java/bjc/AppTest.java
new file mode 100644
index 0000000..8d8ca91
--- /dev/null
+++ b/scl/src/test/java/bjc/AppTest.java
@@ -0,0 +1,38 @@
+package bjc;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}