|
@@ -142,40 +142,40 @@ class ServerTests extends TestCase {
|
|
assertSuccess();
|
|
assertSuccess();
|
|
}
|
|
}
|
|
|
|
|
|
- function testDiagnosticsRecache() {
|
|
|
|
- vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
|
|
|
|
- var args = ["--main", "HelloWorld", "--interp"];
|
|
|
|
- runHaxe(args);
|
|
|
|
- assertSuccess();
|
|
|
|
- runHaxe(args);
|
|
|
|
- assertReuse("HelloWorld");
|
|
|
|
- runHaxeJson([], ServerMethods.Invalidate, {file: new FsPath("HelloWorld.hx")});
|
|
|
|
- runHaxe(args);
|
|
|
|
- assertSkipping("HelloWorld", Tainted("server/invalidate"));
|
|
|
|
- runHaxe(args.concat(["--display", "HelloWorld.hx@0@diagnostics"]));
|
|
|
|
- runHaxe(args);
|
|
|
|
- assertReuse("HelloWorld");
|
|
|
|
- }
|
|
|
|
|
|
+ // function testDiagnosticsRecache() {
|
|
|
|
+ // vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
|
|
|
|
+ // var args = ["--main", "HelloWorld", "--interp"];
|
|
|
|
+ // runHaxe(args);
|
|
|
|
+ // assertSuccess();
|
|
|
|
+ // runHaxe(args);
|
|
|
|
+ // assertReuse("HelloWorld");
|
|
|
|
+ // runHaxeJson([], ServerMethods.Invalidate, {file: new FsPath("HelloWorld.hx")});
|
|
|
|
+ // runHaxe(args);
|
|
|
|
+ // assertSkipping("HelloWorld", Tainted("server/invalidate"));
|
|
|
|
+ // runHaxe(args.concat(["--display", "HelloWorld.hx@0@diagnostics"]));
|
|
|
|
+ // runHaxe(args);
|
|
|
|
+ // assertReuse("HelloWorld");
|
|
|
|
+ // }
|
|
|
|
|
|
- function testDiagnosticsRecache2() {
|
|
|
|
- vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
|
|
|
|
- var args = ["--main", "HelloWorld", "--interp"];
|
|
|
|
- runHaxe(args.concat(["--display", "HelloWorld.hx@0@diagnostics"]));
|
|
|
|
- runHaxe(args);
|
|
|
|
- assertReuse("HelloWorld");
|
|
|
|
- }
|
|
|
|
|
|
+ // function testDiagnosticsRecache2() {
|
|
|
|
+ // vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
|
|
|
|
+ // var args = ["--main", "HelloWorld", "--interp"];
|
|
|
|
+ // runHaxe(args.concat(["--display", "HelloWorld.hx@0@diagnostics"]));
|
|
|
|
+ // runHaxe(args);
|
|
|
|
+ // assertReuse("HelloWorld");
|
|
|
|
+ // }
|
|
|
|
|
|
- function testDiagnosticsRecache3() {
|
|
|
|
- vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
|
|
|
|
- var args = ["--main", "HelloWorld", "--interp"];
|
|
|
|
- runHaxe(args);
|
|
|
|
- runHaxe(args);
|
|
|
|
- assertReuse("HelloWorld");
|
|
|
|
- runHaxeJson([], ServerMethods.Invalidate, {file: new FsPath("HelloWorld.hx")});
|
|
|
|
- runHaxe(args.concat(["--display", "HelloWorld.hx@0@diagnostics"]));
|
|
|
|
- runHaxe(args.concat(["--display", "HelloWorld.hx@0@hover"]));
|
|
|
|
- assertReuse("HelloWorld");
|
|
|
|
- }
|
|
|
|
|
|
+ // function testDiagnosticsRecache3() {
|
|
|
|
+ // vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
|
|
|
|
+ // var args = ["--main", "HelloWorld", "--interp"];
|
|
|
|
+ // runHaxe(args);
|
|
|
|
+ // runHaxe(args);
|
|
|
|
+ // assertReuse("HelloWorld");
|
|
|
|
+ // runHaxeJson([], ServerMethods.Invalidate, {file: new FsPath("HelloWorld.hx")});
|
|
|
|
+ // runHaxe(args.concat(["--display", "HelloWorld.hx@0@diagnostics"]));
|
|
|
|
+ // runHaxe(args.concat(["--display", "HelloWorld.hx@0@hover"]));
|
|
|
|
+ // assertReuse("HelloWorld");
|
|
|
|
+ // }
|
|
|
|
|
|
function testSyntaxCache() {
|
|
function testSyntaxCache() {
|
|
vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
|
|
vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
|