소스 검색

update threads tests

Aleksandr Kuzmenko 4 년 전
부모
커밋
61c0e3c3b6
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      tests/threads/src/cases/TestElasticThreadPool.hx
  2. 1 1
      tests/threads/src/cases/TestFixedThreadPool.hx

+ 1 - 1
tests/threads/src/cases/TestElasticThreadPool.hx

@@ -4,7 +4,7 @@ import sys.thread.IThreadPool;
 import sys.thread.ElasticThreadPool;
 
 class TestElasticThreadPool extends misc.TestThreadPoolBase {
-	override function createThreadPool(count:Int):IThreadPool {
+	function createThreadPool(count:Int):IThreadPool {
 		return new ElasticThreadPool(count);
 	}
 

+ 1 - 1
tests/threads/src/cases/TestFixedThreadPool.hx

@@ -4,7 +4,7 @@ import sys.thread.IThreadPool;
 import sys.thread.FixedThreadPool;
 
 class TestFixedThreadPool extends misc.TestThreadPoolBase {
-	override function createThreadPool(count:Int):IThreadPool {
+	function createThreadPool(count:Int):IThreadPool {
 		return new FixedThreadPool(count);
 	}
 }