Skip to content

Commit

Permalink
Activate tests for StringBuffer concat in loops
Browse files Browse the repository at this point in the history
We activate these tests which check that refinement is not needed when
strings are not tested. They should all run in a reasonnable time now,
the most difficult takes about 2 seconds.
  • Loading branch information
romainbrenguier committed Mar 26, 2018
1 parent 18478e9 commit 4febd23
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FUTURE
CORE
Test.class
--refine-strings --string-max-length 1000 --string-max-input-length 100 --function Test.bufferNonDetLoop --depth 10000 --unwind 5 --verbosity 10 --property "java::Test.bufferNonDetLoop:(ILjava/lang/String;)Ljava/lang/String;.assertion.1"
^EXIT=10$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FUTURE
CORE
Test.class
--refine-strings --string-max-length 1000 --string-max-input-length 100 --function Test.bufferNonDetLoop2 --depth 10000 --unwind 5 --verbosity 10
^EXIT=10$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FUTURE
CORE
Test.class
--refine-strings --string-max-length 1000 --string-max-input-length 100 --function Test.bufferNonDetLoop4 --depth 10000 --unwind 5 --verbosity 10 --property "java::Test.bufferNonDetLoop4:(IILjava/lang/String;)Ljava/lang/String;.assertion.1"
^EXIT=10$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FUTURE
CORE
Test.class
--refine-strings --string-max-length 1000 --string-max-input-length 100 --function Test.bufferNonDetLoop5 --depth 10000 --unwind 5 --verbosity 10
--refine-strings --string-max-length 1000 --string-max-input-length 100 --function Test.bufferNonDetLoop5 --depth 10000 --unwind 3 --verbosity 10
^EXIT=10$
^SIGNAL=0$
^VERIFICATION FAILED$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FUTURE
CORE
Test.class
--refine-strings --string-max-length 1000 --string-max-input-length 100 --function Test.stringNonDet --depth 10000 --unwind 5 --verbosity 10
^EXIT=10$
Expand Down

0 comments on commit 4febd23

Please sign in to comment.