Skip to content

Commit 6dc1612

Browse files
committed
Testing setup
1 parent cd7e65b commit 6dc1612

3 files changed

Lines changed: 55 additions & 20 deletions

File tree

Code/ChroniclerJ/.settings/org.eclipse.jdt.core.prefs

Lines changed: 0 additions & 12 deletions
This file was deleted.

Code/ChroniclerJ/pom.xml

Lines changed: 42 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,43 @@
4444
</execution>
4545
</executions>
4646
</plugin>
47-
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId>
48-
<version>2.18.1</version> <executions> <execution> <id>integration-test-int-tags-notagtest</id>
49-
<configuration> <skipTests>${skipIntTagNoInstTests}</skipTests> <jvm>${project.build.directory}/jre-inst-int-untaggedwrappers/bin/java</jvm>
50-
<includes> <include>**/*IntTagPartialInstITCase.java</include> </includes>
51-
<reuseForks>false</reuseForks> <argLine>-Xbootclasspath/p:${project.build.directory}/${project.build.finalName}.jar
52-
-javaagent:${project.build.directory}/${project.build.finalName}.jar=enum,acmpeq,cacheDir=${project.build.directory}/cached-int-untaged,withSelectiveInst=${basedir}/resources/test-methods</argLine>
53-
</configuration> <goals> <goal>integration-test</goal> <goal>verify</goal>
54-
</goals> </execution> </executions> <configuration> </configuration> </plugin> -->
47+
<plugin>
48+
<groupId>org.apache.maven.plugins</groupId>
49+
<artifactId>maven-failsafe-plugin</artifactId>
50+
<version>2.19</version>
51+
<executions>
52+
<execution>
53+
<id>integration-test</id>
54+
<configuration>
55+
<!-- <jvm>${project.build.directory}/jre-inst-int-untaggedwrappers/bin/java</jvm> -->
56+
<includes>
57+
<include>**/*ITCase.java</include>
58+
</includes>
59+
<properties>
60+
<property>
61+
<name>cp</name>
62+
<value>target/test-classes, target/test-classes2</value>
63+
</property>
64+
</properties>
65+
<!-- <argLine>-Xbootclasspath/p:${project.build.directory}/${project.build.finalName}.jar
66+
-javaagent:${project.build.directory}/${project.build.finalName}.jar=enum,acmpeq,cacheDir=${project.build.directory}/cached-int-untaged,withSelectiveInst=${basedir}/resources/test-methods</argLine> -->
67+
</configuration>
68+
<goals>
69+
<goal>integration-test</goal>
70+
<goal>verify</goal>
71+
</goals>
72+
</execution>
73+
</executions>
74+
<configuration>
75+
</configuration>
76+
<dependencies>
77+
<dependency>
78+
<artifactId>surefire-outputcomparison</artifactId>
79+
<groupId>net.jonbell.surefire</groupId>
80+
<version>2.19</version>
81+
</dependency>
82+
</dependencies>
83+
</plugin>
5584
<plugin>
5685
<groupId>org.apache.maven.plugins</groupId>
5786
<artifactId>maven-source-plugin</artifactId>
@@ -75,6 +104,11 @@
75104
</build>
76105

77106
<dependencies>
107+
<dependency>
108+
<artifactId>surefire-outputcomparison</artifactId>
109+
<groupId>net.jonbell.surefire</groupId>
110+
<version>2.19</version>
111+
</dependency>
78112
<dependency>
79113
<groupId>junit</groupId>
80114
<artifactId>junit</artifactId>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package edu.columbia.cs.psl.test.chroniclerj;
2+
3+
import static org.junit.Assert.*;
4+
5+
import org.junit.Test;
6+
7+
public class RandomITCase {
8+
9+
@Test
10+
public void testRandom() throws Exception {
11+
System.out.println(Math.random());
12+
}
13+
}

0 commit comments

Comments
 (0)