mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-14 18:43:27 +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 {
|
||||
|
||||
@Export
|
||||
static DOMString currentThreadName() {
|
||||
static boolean currentThreadName() {
|
||||
Thread thread = Thread.currentThread();
|
||||
String name = thread.getName();
|
||||
return JSObject.domString( name );
|
||||
String name = thread.getName(); // with Gradle the name is "Test worker"
|
||||
return name.isEmpty();
|
||||
}
|
||||
|
||||
@Export
|
||||
|
Loading…
x
Reference in New Issue
Block a user