File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/impl/src/test/java/io/github/mmm/code/impl/java/parser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ void testMyself() {
106106 assertThat (type .getSimpleName ()).isEqualTo (clazz .getSimpleName ());
107107 assertThat (type .getQualifiedName ()).isEqualTo (clazz .getName ());
108108 assertThat (type .getCategory ()).isSameAs (CodeTypeCategory .CLASS );
109- assertThat (type .getModifiers ().getVisibility ()).isSameAs (CodeVisibility .PUBLIC );
109+ assertThat (type .getModifiers ().getVisibility ()).isSameAs (CodeVisibility .DEFAULT );
110110 assertThat (type .getDoc ().getLines ()).containsExactly ("Test of {@link JavaSourceCodeParserImpl}." , "" ,
111111 "@author Joerg Hohwiller (hohwille at users.sourceforge.net)" );
112112 BaseFile file = type .getFile ();
@@ -132,7 +132,7 @@ void testMyself() {
132132 "BasePackage pkg = createPackage(context.getSource(), qName.getParent());" ,
133133 "return new BaseFile(pkg, qName.getSimpleName());" );
134134 } else if (method .getName ().equals ("testMyself" )) {
135- assertThat (method .getModifiers ().getVisibility ()).isEqualTo (CodeVisibility .PUBLIC );
135+ assertThat (method .getModifiers ().getVisibility ()).isEqualTo (CodeVisibility .DEFAULT );
136136 assertThat (method .getModifiers ().getModifiers ()).isEmpty ();
137137 assertThat (method .getParameters ()).isEmpty ();
138138 assertThat (method .getExceptions ()).isEmpty ();
You can’t perform that action at this time.
0 commit comments