File tree Expand file tree Collapse file tree
java/de/uka/ilkd/key/java
resources/testcase/javaASTExtensions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ dependencies {
2222
2323 api project(' :key.util' )
2424
25- def JP_VERSION = " 3.28.0-K13.4 "
25+ def JP_VERSION = " 3.28.0-K13.5 "
2626 api " org.key-project.proofjava:javaparser-core:$JP_VERSION "
2727 api " org.key-project.proofjava:javaparser-core-serialization:$JP_VERSION "
2828 api " org.key-project.proofjava:javaparser-symbol-solver-core:$JP_VERSION "
Original file line number Diff line number Diff line change @@ -62,16 +62,12 @@ public void testTypeNotInInnerScopeShouldNotBeFound() {
6262 @ Test
6363 public void testNestedMethodFrameRedirects () {
6464 try {
65- HelperClassForTests
66- .parseThrowException (
65+ HelperClassForTests .parseThrowException (
6766 testpath .resolve ("typeResolutionInNestedMethodFrameResolvable.key" ));
6867 } catch (Throwable t ) {
69- Assertions .fail ("Resolution of type " +
70- "TestJavaCardDLExtensions should be successful as it is enclosed by the outer method frame "
71- +
72- "which redirects the scope to package sub1. Class Third should be resolvable (and visible) as the"
73- +
74- "inner method-frame redirects to package sub2.\n " + t );
68+ Assertions .fail ("Resolution of type TestJavaCardDLExtensions should be successful as it is enclosed by the outer method frame " +
69+ "which redirects the scope to package sub1. Class Third should be resolvable (and visible) as the inner method-frame redirects to package sub2." +
70+ "\n \n " + t );
7571 }
7672
7773 }
Original file line number Diff line number Diff line change 1010\problem {
1111
1212 \<{ method-frame(source=setSize(int)@sub1.TestJavaCardDLExtensions) {
13- method-frame(source=setSize (int)@sub2.Other) {
14- Third three = null ;
13+ method-frame(source=setOther (int)@sub2.Other) {
14+ Third three = new Third() ;
1515 }
1616 TestJavaCardDLExtensions t = null;
1717 }
You can’t perform that action at this time.
0 commit comments