mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
Adapt test for Gradle
This commit is contained in:
parent
3c2e431a9c
commit
042927f9c4
@ -53,10 +53,10 @@ public class ThreadTest extends AbstractBaseTest {
|
|||||||
static class TestClass {
|
static class TestClass {
|
||||||
|
|
||||||
@Export
|
@Export
|
||||||
static DOMString currentThreadName() {
|
static boolean currentThreadName() {
|
||||||
Thread thread = Thread.currentThread();
|
Thread thread = Thread.currentThread();
|
||||||
String name = thread.getName();
|
String name = thread.getName(); // with Gradle the name is "Test worker"
|
||||||
return JSObject.domString( name );
|
return name.isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Export
|
@Export
|
||||||
|
Loading…
x
Reference in New Issue
Block a user