|
@@ -1,7 +1,7 @@
|
|
using StringTools;
|
|
using StringTools;
|
|
|
|
|
|
|
|
+@:timeout(5000)
|
|
class ServerTests extends HaxeServerTestCase {
|
|
class ServerTests extends HaxeServerTestCase {
|
|
- @:timeout(5000)
|
|
|
|
function testNoModification() {
|
|
function testNoModification() {
|
|
vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
|
|
vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
|
|
var args = ["-main", "HelloWorld.hx", "--no-output", "-js", "no.js"];
|
|
var args = ["-main", "HelloWorld.hx", "--no-output", "-js", "no.js"];
|
|
@@ -12,7 +12,6 @@ class ServerTests extends HaxeServerTestCase {
|
|
assertReuse("HelloWorld");
|
|
assertReuse("HelloWorld");
|
|
}
|
|
}
|
|
|
|
|
|
- @:timeout(5000)
|
|
|
|
function testModification() {
|
|
function testModification() {
|
|
vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
|
|
vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
|
|
var args = ["-main", "HelloWorld.hx", "--no-output", "-js", "no.js"];
|
|
var args = ["-main", "HelloWorld.hx", "--no-output", "-js", "no.js"];
|
|
@@ -23,7 +22,6 @@ class ServerTests extends HaxeServerTestCase {
|
|
assertNotCacheModified("HelloWorld");
|
|
assertNotCacheModified("HelloWorld");
|
|
}
|
|
}
|
|
|
|
|
|
- @:timeout(5000)
|
|
|
|
function testDependency() {
|
|
function testDependency() {
|
|
vfs.putContent("WithDependency.hx", getTemplate("WithDependency.hx"));
|
|
vfs.putContent("WithDependency.hx", getTemplate("WithDependency.hx"));
|
|
vfs.putContent("Dependency.hx", getTemplate("Dependency.hx"));
|
|
vfs.putContent("Dependency.hx", getTemplate("Dependency.hx"));
|
|
@@ -38,7 +36,6 @@ class ServerTests extends HaxeServerTestCase {
|
|
assertReuse("WithDependency");
|
|
assertReuse("WithDependency");
|
|
}
|
|
}
|
|
|
|
|
|
- @:timeout(5000)
|
|
|
|
function testMacro() {
|
|
function testMacro() {
|
|
vfs.putContent("MacroMain.hx", getTemplate("MacroMain.hx"));
|
|
vfs.putContent("MacroMain.hx", getTemplate("MacroMain.hx"));
|
|
vfs.putContent("Macro.hx", getTemplate("Macro.hx"));
|
|
vfs.putContent("Macro.hx", getTemplate("Macro.hx"));
|
|
@@ -59,7 +56,6 @@ class ServerTests extends HaxeServerTestCase {
|
|
assertHasPrint("2");
|
|
assertHasPrint("2");
|
|
}
|
|
}
|
|
|
|
|
|
- @:timeout(5000)
|
|
|
|
function testDceEmpty() {
|
|
function testDceEmpty() {
|
|
vfs.putContent("Empty.hx", getTemplate("Empty.hx"));
|
|
vfs.putContent("Empty.hx", getTemplate("Empty.hx"));
|
|
var args = ["-main", "Empty", "--no-output", "-java", "java"];
|
|
var args = ["-main", "Empty", "--no-output", "-java", "java"];
|