From 7f31c4c95056efa9df145290976aaeabba11b7f9 Mon Sep 17 00:00:00 2001 From: "Seth J. Morabito" Date: Fri, 5 Dec 2008 16:44:33 -0800 Subject: [PATCH] Initial project creation --- .gitignore | 3 ++ pom.xml | 18 ++++++++++ src/main/java/com/loomcom/j6502/Control.java | 11 +++++++ .../java/com/loomcom/j6502/ControlTest.java | 33 +++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 .gitignore create mode 100644 pom.xml create mode 100644 src/main/java/com/loomcom/j6502/Control.java create mode 100644 src/test/java/com/loomcom/j6502/ControlTest.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6c3b3ba --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*~ +*# +target diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..9350954 --- /dev/null +++ b/pom.xml @@ -0,0 +1,18 @@ + + 4.0.0 + com.loomcom.j6502 + j6502 + jar + 1.0-SNAPSHOT + j6502 + http://www.loomcom.com/j6502 + + + junit + junit + 3.8.1 + test + + + diff --git a/src/main/java/com/loomcom/j6502/Control.java b/src/main/java/com/loomcom/j6502/Control.java new file mode 100644 index 0000000..339e063 --- /dev/null +++ b/src/main/java/com/loomcom/j6502/Control.java @@ -0,0 +1,11 @@ +package com.loomcom.j6502; + +/** + * Main control class for the J6502 Simulator. + */ +public class Control { + public static void main(String[] args) { + System.out.println("Hello, world!"); + } + +} \ No newline at end of file diff --git a/src/test/java/com/loomcom/j6502/ControlTest.java b/src/test/java/com/loomcom/j6502/ControlTest.java new file mode 100644 index 0000000..232c4d3 --- /dev/null +++ b/src/test/java/com/loomcom/j6502/ControlTest.java @@ -0,0 +1,33 @@ +package com.loomcom.j6502; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for the j6502 control class. + */ +public class ControlTest extends TestCase { + /** + * Create the test case + * + * @param testName name of the test case + */ + public ControlTest(String testName) { + super(testName); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() { + return new TestSuite(ControlTest.class); + } + + /** + * Rigourous Test :-) + */ + public void testControl() { + assertTrue(true); + } +}