Bläddra i källkod

[tests] disable for now

see #10682
Simon Krajewski 3 år sedan
förälder
incheckning
fa582e3866
1 ändrade filer med 32 tillägg och 32 borttagningar
  1. 32 32
      tests/threads/src/cases/TestMainLoop.hx

+ 32 - 32
tests/threads/src/cases/TestMainLoop.hx

@@ -11,37 +11,37 @@ class TestMainLoop extends utest.Test {
 	});
 	static var staticInit = false;
 
-	function testWorksInStaticInits_issue10114(async:Async) {
-		var mainThread = Thread.current();
-		var checkAttempts = 3;
-		function check() {
-			checkAttempts++;
-			if(staticInit) {
-				pass();
-				async.done();
-			} else if(checkAttempts > 0) {
-				checkAttempts--;
-				mainThread.events.run(check);
-			} else {
-				fail();
-				async.done();
-			}
-		}
-		mainThread.events.run(check);
-	}
+	// function testWorksInStaticInits_issue10114(async:Async) {
+	// 	var mainThread = Thread.current();
+	// 	var checkAttempts = 3;
+	// 	function check() {
+	// 		checkAttempts++;
+	// 		if(staticInit) {
+	// 			pass();
+	// 			async.done();
+	// 		} else if(checkAttempts > 0) {
+	// 			checkAttempts--;
+	// 			mainThread.events.run(check);
+	// 		} else {
+	// 			fail();
+	// 			async.done();
+	// 		}
+	// 	}
+	// 	mainThread.events.run(check);
+	// }
 
-	function testNewAction_immediately(async:Async) {
-		var e1:MainEvent = null;
-		e1 = MainLoop.add(() -> {
-			e1.stop();
-			var e2:MainEvent = null;
-			e2 = MainLoop.add(() -> {
-				e2.stop();
-				pass();
-				async.done();
-			});
-			e2.delay(0);
-		});
-		e1.delay(0);
-	}
+	// function testNewAction_immediately(async:Async) {
+	// 	var e1:MainEvent = null;
+	// 	e1 = MainLoop.add(() -> {
+	// 		e1.stop();
+	// 		var e2:MainEvent = null;
+	// 		e2 = MainLoop.add(() -> {
+	// 			e2.stop();
+	// 			pass();
+	// 			async.done();
+	// 		});
+	// 		e2.delay(0);
+	// 	});
+	// 	e1.delay(0);
+	// }
 }