forked from deephaven/deephaven-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run JS API unit tests and integration tests in the Gradle build (deep…
…haven#4988) Restores some unit and integration tests to run as part of the local/CI builds, as part of the check task. Partial deephaven#188
- Loading branch information
Showing
21 changed files
with
2,583 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
plugins { | ||
id 'io.deephaven.project.register' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
io.deephaven.project.ProjectType=DOCKER_REGISTRY | ||
deephaven.registry.imageName=selenium/standalone-firefox:4.16.1-20231219 | ||
deephaven.registry.imageId=selenium/standalone-firefox@sha256:a405fe92b3ce5d7eb31a07e1f99be3d628fdc0e5bdc81febd8dc11786edef024 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
web/client-api/src/test/java/io/deephaven/web/ClientIntegrationTestSuite.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package io.deephaven.web; | ||
|
||
import com.google.gwt.junit.tools.GWTTestSuite; | ||
import io.deephaven.web.client.api.NullValueTestGwt; | ||
import io.deephaven.web.client.api.subscription.ConcurrentTableTestGwt; | ||
import io.deephaven.web.client.api.TableManipulationTestGwt; | ||
import io.deephaven.web.client.api.subscription.ViewportTestGwt; | ||
import junit.framework.Test; | ||
import junit.framework.TestSuite; | ||
|
||
public class ClientIntegrationTestSuite extends GWTTestSuite { | ||
public static Test suite() { | ||
TestSuite suite = new TestSuite("Deephaven JS API Integration Test Suite"); | ||
|
||
// This test doesn't actually talk to the server, but it requires the dh-internal library be available. | ||
// Disabled for now, we don't have good toString on the FilterCondition/FilterValue types. | ||
// suite.addTestSuite(FilterConditionTestGwt.class); | ||
|
||
// Actual integration tests | ||
suite.addTestSuite(ViewportTestGwt.class); | ||
suite.addTestSuite(TableManipulationTestGwt.class); | ||
suite.addTestSuite(ConcurrentTableTestGwt.class); | ||
suite.addTestSuite(NullValueTestGwt.class); | ||
|
||
// Unfinished: | ||
// suite.addTestSuite(TotalsTableTestGwt.class); | ||
|
||
return suite; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
web/client-api/src/test/java/io/deephaven/web/DeephavenIntegrationTest.gwt.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<module> | ||
<inherits name="io.deephaven.web.DeephavenApi" /> | ||
|
||
<!-- restore the default linker that the test tooling expects --> | ||
<add-linker name="xsiframe" /> | ||
|
||
<!-- define url to load dh-internal from, grpc server to connect to --> | ||
<define-configuration-property name="dh.server" is-multi-valued="false"/> | ||
</module> |
12 changes: 12 additions & 0 deletions
12
web/client-api/src/test/java/io/deephaven/web/DeephavenUnitTest.gwt.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<module> | ||
<inherits name="io.deephaven.web.DeephavenApi" /> | ||
|
||
<!-- restore the default linker that the test tooling expects --> | ||
<add-linker name="xsiframe" /> | ||
|
||
|
||
<!-- define url to load dh-internal from, grpc server to connect to --> | ||
<define-configuration-property name="dh.server" is-multi-valued="false"/> | ||
<!-- set a value so that the app can compile at all --> | ||
<set-configuration-property name="dh.server" value="notset" /> | ||
</module> |
Oops, something went wrong.