diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f63e7c --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*~ +*.n diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8a6b873 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +test: force_look + haxe test.hxml && neko HubbleSiteDailyImageChumbyTestRunner.n + rm HubbleSiteDailyImageChumbyTestRunner.n + +force_look: + true \ No newline at end of file diff --git a/classes/XMLReader.hx b/classes/XMLReader.hx new file mode 100644 index 0000000..8ffc4ee --- /dev/null +++ b/classes/XMLReader.hx @@ -0,0 +1,5 @@ +class XMLReader { + public function new() { + + } +} \ No newline at end of file diff --git a/test.hxml b/test.hxml new file mode 100644 index 0000000..4a2e51f --- /dev/null +++ b/test.hxml @@ -0,0 +1,4 @@ +-main HubbleSiteDailyImageChumbyTestRunner +-neko HubbleSiteDailyImageChumbyTestRunner.n +-cp classes +-cp test \ No newline at end of file diff --git a/test/HubbleSiteDailyImageChumbyTestRunner.hx b/test/HubbleSiteDailyImageChumbyTestRunner.hx new file mode 100644 index 0000000..01a47b3 --- /dev/null +++ b/test/HubbleSiteDailyImageChumbyTestRunner.hx @@ -0,0 +1,7 @@ +class HubbleSiteDailyImageChumbyTestRunner { + static function main() { + var r = new haxe.unit.TestRunner(); + r.add(new RemoteXMLReaderTest()); + r.run(); + } +} diff --git a/test/RemoteXMLReaderTest.hx b/test/RemoteXMLReaderTest.hx new file mode 100644 index 0000000..76c8c36 --- /dev/null +++ b/test/RemoteXMLReaderTest.hx @@ -0,0 +1,11 @@ +class RemoteXMLReaderTest extends haxe.unit.TestCase { + private var xr : XMLReader; + + override function setup() { + this.xr = new XMLReader(); + } + + function testParseXML() { + assertTrue(true); + } +} \ No newline at end of file