Skip to content

Adds --java-load-class to tests that require it #2487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test.class
--refine-strings --string-max-length 100 --string-max-input-length 4 --verbosity 10 --unwind 5 Test.class --function Test.testSuccess
--refine-strings --string-max-length 100 --string-max-input-length 4 --verbosity 10 --unwind 5 --function Test.testSuccess
^EXIT=0$
^SIGNAL=0$
assertion at file Test.java line 23 .*: SUCCESS
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test.class
--refine-strings --string-max-length 10000 --verbosity 10 Test.class --function Test.testFail
--refine-strings --string-max-length 10000 --verbosity 10 --function Test.testFail
^EXIT=10$
^SIGNAL=0$
assertion at file Test.java line 38 .*: FAILURE
Expand Down
2 changes: 1 addition & 1 deletion jbmc/regression/jbmc-strings/StringDependencies/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test.class
--refine-strings --string-max-length 1000 --string-max-input-length 100 --verbosity 10 Test.class --function Test.test
--refine-strings --string-max-length 1000 --string-max-input-length 100 --verbosity 10 --function Test.test
^EXIT=0$
^SIGNAL=0$
assertion at file Test.java line 20 .*: SUCCESS
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
IntegerTests.class
-refine-strings --string-max-length 100 IntegerTests.class --function IntegerTests.testMySet --cover location
-refine-strings --string-max-length 100 --function IntegerTests.testMySet --cover location
^EXIT=0$
^SIGNAL=0$
coverage.* line 12 function java::IntegerTests.testMySet.* bytecode-index 1 .* SATISFIED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
IntegerTests.class
-refine-strings --string-max-length 100 IntegerTests.class --function IntegerTests.testMyGenSet --cover location
-refine-strings --string-max-length 100 --function IntegerTests.testMyGenSet --cover location
^EXIT=0$
^SIGNAL=0$
coverage.* line 4 function java::IntegerTests.testMyGenSet.* bytecode-index 1 .* SATISFIED
Expand Down
2 changes: 1 addition & 1 deletion jbmc/regression/jbmc/package_friendly1/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE symex-driven-lazy-loading-expected-failure
main.class
package_friendly1.class package_friendly2.class --show-goto-functions
--java-load-class package_friendly1 --java-load-class package_friendly2 --show-goto-functions
^main[.]main[\(].*[\)].*$
^package_friendly2[.]operation2[\(][\)].*$
^EXIT=0$
Expand Down