Skip to content

Commit

Permalink
フォルダ構成を整理した。
Browse files Browse the repository at this point in the history
  • Loading branch information
amay077 committed Sep 6, 2012
1 parent 864fd63 commit 11aa55a
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 287 deletions.
2 changes: 0 additions & 2 deletions HelloTest.sublime-project

This file was deleted.

272 changes: 0 additions & 272 deletions HelloTest.sublime-workspace

This file was deleted.

10 changes: 0 additions & 10 deletions MyTest.hx

This file was deleted.

11 changes: 9 additions & 2 deletions build.hxml
@@ -1,2 +1,9 @@
-neko mytest.n
-main MyTest
# add source directories
-cp src/
-cp test/

# set main() class
-main GeoHexTestRunner

# build neko and run
-x bin/GeoHexTestRunner
6 changes: 6 additions & 0 deletions runtest.sh
@@ -0,0 +1,6 @@
echo "-- build-start ------------------------"
echo "delete bin/"
rm -rf bin/
mkdir bin/
echo "build and run"
haxe build.hxml
File renamed without changes.
11 changes: 11 additions & 0 deletions test/GeoHexTestRunner.hx
@@ -0,0 +1,11 @@
import net.geohex.GeoHexTest;

class GeoHexTestRunner {
static function main() {

var r = new haxe.unit.TestRunner();
r.add(new GeoHexTest());

r.run();
}
}
2 changes: 1 addition & 1 deletion net/geohex/HelloTest.hx → test/net/geohex/GeoHexTest.hx
Expand Up @@ -3,7 +3,7 @@ package net.geohex;
import net.geohex.GeoHex;
import net.geohex.GeoHex.Zone;

class HelloTest extends haxe.unit.TestCase {
class GeoHexTest extends haxe.unit.TestCase {

public function testBasic() {
var geohex = new GeoHex();
Expand Down

0 comments on commit 11aa55a

Please sign in to comment.