Skip to content

Commit d0da547

Browse files
Add verification test for String.equals
We add tests which compare the internal String.equals with a reference implementation which loops over the characters of the string.
1 parent e51c34d commit d0da547

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
KNOWNBUG
2+
Test.class
3+
--string-max-input-length 20 --string-max-length 100 --unwind 30 --function Test.verify
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
assertion at file Test.java line 62 .* SUCCESS
7+
--
8+
--
9+
Our current implementation does not handle the null case
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CORE
2+
Test.class
3+
--string-max-input-length 20 --string-max-length 100 --unwind 30 --function Test.verifyNonNull
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
assertion at file Test.java line 50 .* SUCCESS
7+
--

0 commit comments

Comments
 (0)