Skip to content

Commit c085271

Browse files
Alekh MekaAlekh Meka
authored andcommitted
Updated integration tests with project directory path, cleanup additional files in int test shell script
1 parent 95e833a commit c085271

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

buildpng.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cd output
2+
mkdir "$1"
23
for i in `ls *-reachability.dot`;
34
do
45
echo Processing "$i"...
@@ -8,4 +9,6 @@ do
89
done
910
mv *.png "$1"
1011
rm *.dot
12+
rm *.ser
13+
rm *.csv
1114
echo Completed generating png files

src/test/java/inttest/ConvexIT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
public class ConvexIT {
2020

2121
private static final Logger LOGGER = LoggerFactory.getLogger(ConvexIT.class);
22-
private final Path convexJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","convex-core-0.7.1.jar");
23-
private final Path convexDependencyJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","convex-core-0.7.1-jar-with-dependencies.jar");
24-
private final Path convexTestJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","convex-core-0.7.1-tests.jar");
22+
private final Path convexJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","convex","convex-core-0.7.1.jar");
23+
private final Path convexDependencyJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","convex","convex-core-0.7.1-jar-with-dependencies.jar");
24+
private final Path convexTestJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","convex","convex-core-0.7.1-tests.jar");
2525
private final Path convexGraph = Paths.get(System.getProperty("user.dir"),"convex-core_graph");
2626
private final Path primitiveRoundTrip = Paths.get(System.getProperty("user.dir"),"output","GenTestFormat#primitiveRoundTrip.dot");
2727
private final Path primitiveRoundTripReachability = Paths.get(System.getProperty("user.dir"),"output","GenTestFormat#primitiveRoundTrip-reachability.dot");

src/test/java/inttest/JFlexIT.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
public class JFlexIT {
1919
private static final Logger LOGGER = LoggerFactory.getLogger(JFlexIT.class);
2020

21-
private final Path jflexJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","jflex-1.8.2.jar");
22-
private final Path jflexDependencyJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","jflex-1.8.2-jar-with-dependencies.jar");
23-
private final Path jflexFullJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","jflex-full-1.8.2.jar");
24-
private final Path jflexTestJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","jflex-1.8.2-tests.jar");
21+
private final Path jflexJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","jflex", "jflex-1.8.2.jar");
22+
private final Path jflexDependencyJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","jflex","jflex-1.8.2-jar-with-dependencies.jar");
23+
private final Path jflexFullJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","jflex","jflex-full-1.8.2.jar");
24+
private final Path jflexTestJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","jflex","jflex-1.8.2-tests.jar");
2525
private final Path jflexGraph = Paths.get(System.getProperty("user.dir"),"jflex_graph");
2626
private final Path removeAdd = Paths.get(System.getProperty("user.dir"), "output", "StateSetQuickcheck#removeAdd-reachability.dot");
2727
private final Path addStateDoesNotRemove = Paths.get(System.getProperty("user.dir"), "output", "StateSetQuickcheck#addStateDoesNotRemove-reachability.dot");

src/test/java/inttest/MphTableIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
public class MphTableIT {
2020

2121
private static final Logger LOGGER = LoggerFactory.getLogger(MphTableIT.class);
22-
private final Path mphJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","mph-table-1.0.6-SNAPSHOT.jar");
23-
private final Path mphTestJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","mph-table-1.0.6-SNAPSHOT-tests.jar");
22+
private final Path mphJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","mph-table", "mph-table-1.0.6-SNAPSHOT.jar");
23+
private final Path mphTestJar = Paths.get(System.getProperty("user.dir"),"artifacts","output","mph-table","mph-table-1.0.6-SNAPSHOT-tests.jar");
2424
private final Path mphGraph = Paths.get(System.getProperty("user.dir"),"mph-table_graph");
2525
private final Path mphSmartByteSerializer = Paths.get(System.getProperty("user.dir"),"output","TestSmartByteSerializer#canRoundTripBytes.dot");
2626
private final Path mphSmartByteSerializerReachability = Paths.get(System.getProperty("user.dir"),"output","TestSmartByteSerializer#canRoundTripBytes-reachability.dot");

0 commit comments

Comments
 (0)