You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/12/17 17:32:27 UTC
[GitHub] [netbeans] matthiasblaesing commented on a diff in pull request #5107: enable some important sounding java tests
matthiasblaesing commented on code in PR #5107:
URL: https://github.com/apache/netbeans/pull/5107#discussion_r1051430549
##########
java/javadoc/nbproject/project.properties:
##########
@@ -25,3 +25,6 @@ spec.version.base=1.74.0
test.config.stableBTD.includes=\
**/hints/AnalyzerTest.class,\
**/search/*Test.class
+
+# failing
+test.config.default.excludes=**/search/*Test.class
Review Comment:
Indeed we are - I compared with the old `netbeans-releases` repository and there the javadoc index files are present.
##########
java/java.lexer/nbproject/project.properties:
##########
@@ -21,6 +21,11 @@ javac.source=1.8
javadoc.title=Java Lexer API
javadoc.apichanges=${basedir}/apichanges.xml
+test.config.default.excludes=\
+ **/JavaLexerPerformanceTest.class,\
+ **/JavaFlyTokensTest.class,\
+ **/JavaTokenDumpTest.class
Review Comment:
The `JavaTokenDumpTest` can be fixed like this:
```diff
--- a/java/java.lexer/test/unit/data/testfiles/testInput.java.txt.tokens.txt
+++ b/java/java.lexer/test/unit/data/testfiles/testInput.java.txt.tokens.txt
@@ -41,7 +41,7 @@
----- EOF -----
.t.e.s.t. String Literals
-STRING_LITERAL """"
+STRING_LITERAL """", la=1
WHITESPACE " ", la=1
STRING_LITERAL ""a""
WHITESPACE "\n", la=1
```
It also looks sane. When the lexer works on `"|" "a"` (| marks read position) and reads the next char `"`, it has to decide whether this is the end of an old style string (single quote) or the second quote char of a multiline string start `"""`. So with the addition of multiline strings look-ahead became necessary.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists