Browse Source

[tests] disable recache server tests

Rudy Ges 2 years ago
parent
commit
4ef6753caa
1 changed files with 32 additions and 32 deletions
  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"));