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]
This commit is contained in:
parent
e240abb783
commit
bffa37f9f7
|
@ -4,7 +4,7 @@ Main.class
|
|||
^EXIT=10$
|
||||
^SIGNAL=0$
|
||||
^VERIFICATION FAILED$
|
||||
\[not-null-annotation-check\.1\] line \d+ Not null annotation check: FAILURE
|
||||
\[not-null-annotation-check\.2\] line \d+ Not null annotation check: SUCCESS
|
||||
\[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
|
||||
\[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
|
||||
--
|
||||
^warning: ignoring
|
||||
|
|
|
@ -4,7 +4,7 @@ Main.class
|
|||
^EXIT=10$
|
||||
^SIGNAL=0$
|
||||
^VERIFICATION FAILED$
|
||||
\[not-null-annotation-check\.1\] line \d+ Not null annotation check: SUCCESS
|
||||
\[not-null-annotation-check\.2\] line \d+ Not null annotation check: FAILURE
|
||||
\[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
|
||||
\[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
|
||||
--
|
||||
^warning: ignoring
|
||||
|
|
|
@ -4,7 +4,7 @@ Main.class
|
|||
^EXIT=0$
|
||||
^SIGNAL=0$
|
||||
^VERIFICATION SUCCESSFUL$
|
||||
\[not-null-annotation-check\.1\] line \d+ Not null annotation check: SUCCESS
|
||||
\[not-null-annotation-check\.2\] line \d+ Not null annotation check: SUCCESS
|
||||
\[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
|
||||
\[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
|
||||
--
|
||||
^warning: ignoring
|
||||
|
|
Loading…
Reference in New Issue