mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-23 12:33:53 +00:00
Updated pom of com.sap.sse.gwt.test to enable maven build and test execution
This commit is contained in:
1 parent
04117ad249
commit
54ef390f88
2 files changed
+29
-1
No files matched your search
@@ -9,4 +9,33 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<artifactId>com.sap.sse.gwt.test</artifactId>
|
<artifactId>com.sap.sse.gwt.test</artifactId>
|
||||||
<packaging>eclipse-test-plugin</packaging>
|
<packaging>eclipse-test-plugin</packaging>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>gwt-maven-plugin</artifactId>
|
||||||
|
<version>2.4.0</version>
|
||||||
|
<configuration>
|
||||||
|
<includes>**/AsyncActionsExecutorTest.java</includes>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>test</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<excludes>
|
||||||
|
<exclude>**/AsyncActionsExecutorTest.java</exclude>
|
||||||
|
</excludes>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</project>
|
</project>
|
||||||
-1
@@ -107,7 +107,6 @@ public class AsyncActionsExecutorTest extends GWTTestCase {
|
|||||||
// now the action should be retriggered - we can not use Thread.sleep() here as it is not
|
// now the action should be retriggered - we can not use Thread.sleep() here as it is not
|
||||||
// compilable by the GWT compiler. Using a hack to wait a little bit.
|
// compilable by the GWT compiler. Using a hack to wait a little bit.
|
||||||
while (MillisecondsTimePoint.now().minus(Duration.ONE_SECOND.times(3)).before(startOfExecution)) {
|
while (MillisecondsTimePoint.now().minus(Duration.ONE_SECOND.times(3)).before(startOfExecution)) {
|
||||||
// waiting...
|
|
||||||
}
|
}
|
||||||
executor.execute(nonTriggeringAction, defaultCallback);
|
executor.execute(nonTriggeringAction, defaultCallback);
|
||||||
assertEquals(7, nonTriggeringAction.getExecutionCounter());
|
assertEquals(7, nonTriggeringAction.getExecutionCounter());
|
||||||
|
|||||||
Reference in new issue
Block a user