Skip to content

Commit bffa37f

Browse files
author
svorenova
committed
Update regression tests
Not-null annotation check properties which are added to the beginning of the method's goto inherit the source_locationt of the method. Because previously the location had missing information (missing method name), the property name looked like this: [not-null-annotation-check.1] Now the name looks like this: [java::Main.bar:(Ljava/lang/Integer;ZLjava/lang/Object;[Ljava/lang/String;)Ljava/lang/Integer;.not-null-annotation-check.1]
1 parent e240abb commit bffa37f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

jbmc/regression/jbmc/parameter-annotation-not-null/test_array.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Main.class
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$
7-
\[not-null-annotation-check\.1\] line \d+ Not null annotation check: FAILURE
8-
\[not-null-annotation-check\.2\] line \d+ Not null annotation check: SUCCESS
7+
\[java::Main\.bar:\(Ljava/lang/Integer;ZLjava/lang/Object;\[Ljava/lang/String;\)Ljava/lang/Integer;\.not-null-annotation-check\.1\] line \d+ Not null annotation check: FAILURE
8+
\[java::Main\.bar:\(Ljava/lang/Integer;ZLjava/lang/Object;\[Ljava/lang/String;\)Ljava/lang/Integer;\.not-null-annotation-check\.2\] line \d+ Not null annotation check: SUCCESS
99
--
1010
^warning: ignoring

jbmc/regression/jbmc/parameter-annotation-not-null/test_object.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Main.class
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$
7-
\[not-null-annotation-check\.1\] line \d+ Not null annotation check: SUCCESS
8-
\[not-null-annotation-check\.2\] line \d+ Not null annotation check: FAILURE
7+
\[java::Main\.foo:\(Ljava/lang/Integer;ZLjava/lang/Object;\[Ljava/lang/String;\)Ljava/lang/Integer;\.not-null-annotation-check\.1\] line \d+ Not null annotation check: SUCCESS
8+
\[java::Main\.foo:\(Ljava/lang/Integer;ZLjava/lang/Object;\[Ljava/lang/String;\)Ljava/lang/Integer;\.not-null-annotation-check\.2\] line \d+ Not null annotation check: FAILURE
99
--
1010
^warning: ignoring

jbmc/regression/jbmc/parameter-annotation-not-null/test_success.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Main.class
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$
7-
\[not-null-annotation-check\.1\] line \d+ Not null annotation check: SUCCESS
8-
\[not-null-annotation-check\.2\] line \d+ Not null annotation check: SUCCESS
7+
\[java::Main\.foo:\(Ljava/lang/Integer;ZLjava/lang/Object;\[Ljava/lang/String;\)Ljava/lang/Integer;\.not-null-annotation-check\.1\] line \d+ Not null annotation check: SUCCESS
8+
\[java::Main\.foo:\(Ljava/lang/Integer;ZLjava/lang/Object;\[Ljava/lang/String;\)Ljava/lang/Integer;\.not-null-annotation-check\.2\] line \d+ Not null annotation check: SUCCESS
99
--
1010
^warning: ignoring

0 commit comments

Comments
 (0)