[Native][tests] workers5 - remove redundant test annotations
This commit is contained in:
@@ -7,7 +7,7 @@ import kotlin.test.*
|
|||||||
|
|
||||||
import kotlin.native.concurrent.*
|
import kotlin.native.concurrent.*
|
||||||
|
|
||||||
@Test fun runTest0() {
|
fun runTest0() {
|
||||||
val worker = Worker.start()
|
val worker = Worker.start()
|
||||||
val future = worker.execute(TransferMode.SAFE, { "zzz" }) {
|
val future = worker.execute(TransferMode.SAFE, { "zzz" }) {
|
||||||
input -> input.length
|
input -> input.length
|
||||||
@@ -21,7 +21,7 @@ import kotlin.native.concurrent.*
|
|||||||
|
|
||||||
var done = false
|
var done = false
|
||||||
|
|
||||||
@Test fun runTest1() {
|
fun runTest1() {
|
||||||
val worker = Worker.current
|
val worker = Worker.current
|
||||||
done = false
|
done = false
|
||||||
// Here we request execution of the operation on the current worker.
|
// Here we request execution of the operation on the current worker.
|
||||||
@@ -33,7 +33,7 @@ var done = false
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Ensure that termination of current worker on main thread doesn't lead to problems.
|
// Ensure that termination of current worker on main thread doesn't lead to problems.
|
||||||
@Test fun runTest2() {
|
fun runTest2() {
|
||||||
val worker = Worker.current
|
val worker = Worker.current
|
||||||
val future = worker.requestTermination(false)
|
val future = worker.requestTermination(false)
|
||||||
worker.processQueue()
|
worker.processQueue()
|
||||||
|
|||||||
Reference in New Issue
Block a user