Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: Remove recurrency to avoid stack overflow #58

Closed
wants to merge 2 commits into from

improvement: Accept coma only if followed by whitespace

7cad968
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

bugfix: Remove recurrency to avoid stack overflow #58

improvement: Accept coma only if followed by whitespace
7cad968
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Tests ( windows-latest ) succeeded Nov 28, 2024 in 1s

88 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
build/test-results/test/TEST-com.virtuslab.using_directives.custom.CommentsTests.xml 7✅ 41ms
build/test-results/test/TEST-com.virtuslab.using_directives.parser.ParserNumericTest.xml 13✅ 14ms
build/test-results/test/TEST-com.virtuslab.using_directives.parser.ParserStringTest.xml 11✅ 24ms
build/test-results/test/TEST-com.virtuslab.using_directives.parser.ParserUnitTest.xml 21✅ 27ms
build/test-results/test/TEST-com.virtuslab.using_directives.reporter.PositionTests.xml 1✅ 1ms
build/test-results/test/TEST-com.virtuslab.using_directives.reporter.ReporterTest.xml 1✅ 1ms
build/test-results/test/TEST-com.virtuslab.using_directives.UnicodeChars.xml 1✅ 2ms
build/test-results/test/TEST-CommentExtractorIntegrationTest.xml 7✅ 132ms
build/test-results/test/TEST-CommentExtractorTest.xml 7✅ 17ms
build/test-results/test/TEST-ParserTest.xml 18✅ 175ms
build/test-results/test/TEST-VisitorTest.xml 1✅ 11ms

✅ build/test-results/test/TEST-com.virtuslab.using_directives.custom.CommentsTests.xml

7 tests were completed in 41ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.virtuslab.using_directives.custom.CommentsTests 7✅ 41ms

✅ com.virtuslab.using_directives.custom.CommentsTests

✅ testLines()
✅ testMalformedKeyword()
✅ testKeywordAfterComment()
✅ testKeywordDirectives()
✅ testPlainComments()
✅ testSpecialComments()
✅ testIndexes()

✅ build/test-results/test/TEST-com.virtuslab.using_directives.parser.ParserNumericTest.xml

13 tests were completed in 14ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.virtuslab.using_directives.parser.ParserNumericTest 13✅ 14ms

✅ com.virtuslab.using_directives.parser.ParserNumericTest

✅ testLongLiteral()
✅ testHexNumericWithSeparator()
✅ testNumericLeadingWithZero()
✅ testNumericFraction()
✅ testExponentNumeric()
✅ testTrailingSeparator()
✅ testNumericWithSeparator()
✅ testHexNumeric()
✅ testInvalidHexNumeric()
✅ testShortNumericFraction()
✅ testHexNegativeNumeric()
✅ testNumeric()
✅ testNegativeNumeric()

✅ build/test-results/test/TEST-com.virtuslab.using_directives.parser.ParserStringTest.xml

11 tests were completed in 24ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.virtuslab.using_directives.parser.ParserStringTest 11✅ 24ms

✅ com.virtuslab.using_directives.parser.ParserStringTest

✅ testStringNoQuotes()
✅ testStringNoQuotesDot()
✅ testEscapeInString()
✅ testFailMultilineString()
✅ testStringNoQuotesMultiple()
✅ testFailInvalidUtdEscape()
✅ testDoubleQuotesString()
✅ testStringUtfEscape()
✅ testFailOctalEscape()
✅ testAllowStringInterpolator()
✅ testStringNoQuotesDotNoComma()

✅ build/test-results/test/TEST-com.virtuslab.using_directives.parser.ParserUnitTest.xml

21 tests were completed in 27ms with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.virtuslab.using_directives.parser.ParserUnitTest 21✅ 27ms

✅ com.virtuslab.using_directives.parser.ParserUnitTest

✅ testNestedAndValuesOnOneLevel()
✅ testFailUnclosedQuotedIdentifier()
✅ testTokenOnTemplateStart()
✅ emptySingleDotKey()
✅ testUnicodeIdentifier()
✅ testListComma()
✅ testBackquotedIdentifier()
✅ testSlashIdentifier()
✅ testFailEmptyQuotedIdentifier()
✅ testEmptyListElem()
✅ testFailWildcardQuotedIdentifier()
✅ testInvalidPrimitive()
✅ testIndentation()
✅ testSkipMultilineComment()
✅ testUnderscoreIdentifier()
✅ testMathSymbolIdentifier()
✅ testBooleanLiteral()
✅ testListNoComma()
✅ testMixedIndenttion()
✅ testParenKey()
✅ testInfixOperator()

✅ build/test-results/test/TEST-com.virtuslab.using_directives.reporter.PositionTests.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.virtuslab.using_directives.reporter.PositionTests 1✅ 1ms

✅ com.virtuslab.using_directives.reporter.PositionTests

✅ testEmptyValuePosition()

✅ build/test-results/test/TEST-com.virtuslab.using_directives.reporter.ReporterTest.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.virtuslab.using_directives.reporter.ReporterTest 1✅ 1ms

✅ com.virtuslab.using_directives.reporter.ReporterTest

✅ reportNotClosedQuotes()

✅ build/test-results/test/TEST-com.virtuslab.using_directives.UnicodeChars.xml

1 tests were completed in 2ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.virtuslab.using_directives.UnicodeChars 1✅ 2ms

✅ com.virtuslab.using_directives.UnicodeChars

✅ testDifferentQuotes()

✅ build/test-results/test/TEST-CommentExtractorIntegrationTest.xml

7 tests were completed in 132ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommentExtractorIntegrationTest 7✅ 132ms

✅ CommentExtractorIntegrationTest

✅ Run comment extractor testcase no. 1
✅ Run comment extractor testcase no. 2
✅ Run comment extractor testcase no. 3
✅ Run comment extractor testcase no. 4
✅ Run comment extractor testcase no. 5
✅ Run comment extractor testcase no. 6
✅ Run comment extractor testcase no. 7

✅ build/test-results/test/TEST-CommentExtractorTest.xml

7 tests were completed in 17ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommentExtractorTest 7✅ 17ms

✅ CommentExtractorTest

✅ Run comment extractor testcase no. 1
✅ Run comment extractor testcase no. 2
✅ Run comment extractor testcase no. 3
✅ Run comment extractor testcase no. 4
✅ Run comment extractor testcase no. 5
✅ Run comment extractor testcase no. 6
✅ Run comment extractor testcase no. 7

✅ build/test-results/test/TEST-ParserTest.xml

18 tests were completed in 175ms with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ParserTest 18✅ 175ms

✅ ParserTest

✅ Run parser testcase no. 1
✅ Run parser testcase no. 2
✅ Run parser testcase no. 4
✅ Run parser testcase no. 5
✅ Run parser testcase no. 6
✅ Run parser testcase no. 7
✅ Run parser testcase no. 8
✅ Run parser testcase no. 9
✅ Run parser testcase no. 10
✅ Run parser testcase no. 11
✅ Run parser testcase no. 12
✅ Run parser testcase no. 13
✅ Run parser testcase no. 14
✅ Run parser testcase no. 17
✅ Run parser testcase no. 19
✅ Run parser testcase no. 20
✅ Run parser testcase no. 21
✅ Run parser testcase no. 22

✅ build/test-results/test/TEST-VisitorTest.xml

1 tests were completed in 11ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
VisitorTest 1✅ 11ms

✅ VisitorTest

✅ testVisitor()