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:
svorenova 2019-07-11 16:08:26 +01:00
parent e240abb783
commit bffa37f9f7
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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