瀏覽代碼

[tests] disable recache server tests

Rudy Ges 2 年之前
父節點
當前提交
4ef6753caa
共有 1 個文件被更改,包括 32 次插入32 次删除
  1. 32 32
      tests/server/src/cases/ServerTests.hx

+ 32 - 32
tests/server/src/cases/ServerTests.hx

@@ -142,40 +142,40 @@ class ServerTests extends TestCase {
 		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() {
 		vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));