Skip to content

Commit

Permalink
Compile book-examples/StringUtil test sources
Browse files Browse the repository at this point in the history
Add pom.xml for compilation,
move sources
remove obsolete pre-compiled class files.
  • Loading branch information
peterschrammel committed Dec 31, 2024
1 parent 4236d0b commit 031c46c
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 1 deletion.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
StringUtil.getLastToken
--max-nondet-string-length 100 --unwind 2 --classpath `../../../../scripts/format_classpath.sh . ../../../lib/java-models-library/target/core-models.jar ../../../lib/java-models-library/target/cprover-api.jar`
--max-nondet-string-length 100 --unwind 2 --classpath `../../../../scripts/format_classpath.sh target/classes ../../../lib/java-models-library/target/core-models.jar ../../../lib/java-models-library/target/cprover-api.jar`
^EXIT=10$
^SIGNAL=0$
^VERIFICATION FAILED$
30 changes: 30 additions & 0 deletions jbmc/regression/book-examples/StringUtil/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.cprover.regression</groupId>
<artifactId>regression.book-examples.StringUtil</artifactId>
<version>1.0-SNAPSHOT</version>

<parent>
<groupId>org.cprover.regression</groupId>
<artifactId>regression.book-examples</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>

<build>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>default-jar</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
1 change: 1 addition & 0 deletions jbmc/regression/book-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<module>BinarySearch</module>
<module>LocatorHandler</module>
<module>SignalUtil</module>
<module>StringUtil</module>
</modules>

</project>

0 comments on commit 031c46c

Please sign in to comment.