forked tests
This commit is contained in:
parent
2436572aee
commit
bd85440c99
@ -0,0 +1,21 @@
|
|||||||
|
package org.solovyev.android.calculator;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User: serso
|
||||||
|
* Date: 6/18/13
|
||||||
|
* Time: 8:45 PM
|
||||||
|
*/
|
||||||
|
public class TestCalculatorApplication extends CalculatorApplication {
|
||||||
|
|
||||||
|
private static volatile boolean initialized = false;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onCreate() {
|
||||||
|
synchronized (TestCalculatorApplication.class) {
|
||||||
|
if (!initialized) {
|
||||||
|
super.onCreate();
|
||||||
|
initialized = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
5
pom.xml
5
pom.xml
@ -265,9 +265,8 @@
|
|||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>2.15</version>
|
<version>2.15</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<parallel>classes</parallel>
|
<forkCount>10</forkCount>
|
||||||
<forkCount>1</forkCount>
|
<reuseForks>true</reuseForks>
|
||||||
<reuseForks>false</reuseForks>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user