refactor: move UI logic from RSToken to fix non-UI tests #330
219 passed, 39 failed and 0 skipped
❌ build/test-results/integrationTest/TEST-studio.ui.EditorTest.xml
6 tests were completed in 98ms with 0 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.EditorTest | 6❌ | 98ms |
❌ studio.ui.EditorTest
❌ testCancelOnFrameClosure
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testWinE
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testMenuLEWhenSwitching
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testMac9LE
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testUndoActionEnable
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testUnixLE
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ build/test-results/integrationTest/TEST-studio.ui.GenericTest.xml
1 tests were completed in 9ms with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.GenericTest | 1❌ | 9ms |
❌ studio.ui.GenericTest
❌ test
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ build/test-results/integrationTest/TEST-studio.ui.ResultTest.xml
7 tests were completed in 177ms with 0 passed, 7 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.ResultTest | 7❌ | 177ms |
❌ studio.ui.ResultTest
❌ testExecute
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testMarkersAfterSorting
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testTableConnExtractor
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testUploadButtonEnabled
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testEOFException
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testAuthenticationException
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testIOException
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ build/test-results/integrationTest/TEST-studio.ui.RSTAEditorTest.xml
3 tests were completed in 71ms with 0 passed, 3 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.RSTAEditorTest | 3❌ | 71ms |
❌ studio.ui.RSTAEditorTest
❌ testWrappedChars
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testNotWrappedSpecChars
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testPairedChars
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ build/test-results/integrationTest/TEST-studio.ui.SaveFileTest.xml
1 tests were completed in 20ms with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.SaveFileTest | 1❌ | 20ms |
❌ studio.ui.SaveFileTest
❌ saveTest
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ build/test-results/integrationTest/TEST-studio.ui.SearchTest.xml
4 tests were completed in 364ms with 0 passed, 4 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.SearchTest | 4❌ | 364ms |
❌ studio.ui.SearchTest
❌ testSequentialReplaceAllRecursive
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testSequentialSearch
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testSequentialSearchBack
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testSequentialReplace
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ build/test-results/integrationTest/TEST-studio.ui.ServerTest.xml
2 tests were completed in 39ms with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.ServerTest | 2❌ | 39ms |
❌ studio.ui.ServerTest
❌ testChangeBackgroundColor
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ testBackgroundColor
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ build/test-results/integrationTest/TEST-studio.ui.SplitTest.xml
7 tests were completed in 114ms with 0 passed, 7 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.SplitTest | 7❌ | 114ms |
❌ studio.ui.SplitTest
❌ splitRightTest
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ focusAfterSeverSelection
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ splitDownTest
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ closeLasTabOnSplitTest
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ closeLasTabOnSplitTest1
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ closeLasTabOnSplitTest2
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ focusAfterSeverSelection1
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ build/test-results/integrationTest/TEST-studio.ui.StopQueryTest.xml
1 tests were completed in 10ms with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.StopQueryTest | 1❌ | 10ms |
❌ studio.ui.StopQueryTest
❌ stopActionTest
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ build/test-results/integrationTest/TEST-studio.ui.TabsTest.xml
7 tests were completed in 73ms with 0 passed, 7 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.TabsTest | 7❌ | 73ms |
❌ studio.ui.TabsTest
❌ tabNameWithServerTest
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ frameTitleTest
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ addTabTest
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ closeTabTest
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ emptyTabNameTest
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ openFileTest
java.lang.InternalError: java.lang.reflect.InvocationTargetException
❌ openFileWithErrorTest
java.lang.InternalError: java.lang.reflect.InvocationTargetException
✅ build/test-results/test/TEST-kx.IPCTest.xml
1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
kx.IPCTest | 1✅ | 1ms |
✅ kx.IPCTest
✅ errorDeserilisation()
✅ build/test-results/test/TEST-studio.kdb.ConfigTest.xml
12 tests were completed in 143ms with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.kdb.ConfigTest | 12✅ | 143ms |
✅ studio.kdb.ConfigTest
✅ testExecAllOptions()
✅ testDifferentConfigs()
✅ testServerHistory()
✅ addServersTest()
✅ upgrade13Test()
✅ addServerSameName()
✅ testAutoSaveFlags()
✅ testConnExtractor()
✅ testGetServerByConnectionString()
✅ addServerDifferentTreeNode()
✅ upgradeFromOldConfig()
✅ testServerHistoryDepth()
✅ build/test-results/test/TEST-studio.kdb.ConfigUpgradeTest.xml
1 tests were completed in 4ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.kdb.ConfigUpgradeTest | 1✅ | 4ms |
✅ studio.kdb.ConfigUpgradeTest
✅ testLoadingConfig13()
✅ build/test-results/test/TEST-studio.kdb.KCompareTest.xml
36 tests were completed in 43ms with 36 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.kdb.KCompareTest | 36✅ | 43ms |
✅ studio.kdb.KCompareTest
✅ [1] 0
✅ [2] -2147483648
✅ [3] 10
✅ [4] -1
✅ testMix()
✅ [1] 0
✅ [2] -32768
✅ [3] 10
✅ [4] -1
✅ [1] 0
✅ [2] 3
✅ [3] 1000
✅ [4] -1000
✅ [5] -2147483648
✅ [1] 0
✅ [2] -128
✅ [3] 10
✅ [4] -1
✅ [1]
✅ [2] a
✅ [3]
✅ [1] 0
✅ [2] -9223372036854775808
✅ [3] 10
✅ [4] -1
✅ testBoolean()
✅ [1] 0.0
✅ [2] 10.0
✅ [3] -1.1
✅ [4] 1337.0
✅ [1] 0.0
✅ [2] 10.0
✅ [3] -1.1
✅ [4] 1337.0
✅ testString()
✅ testSymbol()
✅ build/test-results/test/TEST-studio.kdb.KEqualsTest.xml
64 tests were completed in 109ms with 64 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.kdb.KEqualsTest | 64✅ | 109ms |
✅ studio.kdb.KEqualsTest
✅ testComposition()
✅ [1] 0
✅ [2] 2147483647
✅ [3] -2147483648
✅ [4] -2147483647
✅ [5] 10
✅ [6] -1
✅ [1] 0
✅ [2] 32767
✅ [3] -32768
✅ [4] -32767
✅ [5] 10
✅ [6] -1
✅ [1] 0
✅ [2] 3
✅ [3] 1000
✅ [4] -1000
✅ [5] -2147483648
✅ [1] 0
✅ [2] 127
✅ [3] -128
✅ [4] -127
✅ [5] 10
✅ [6] -1
✅ [1]
✅ [2] a
✅ [3]
✅ testGuid()
✅ [1] 0
✅ [2] 9223372036854775807
✅ [3] -9223372036854775808
✅ [4] -9223372036854775807
✅ [5] 10
✅ [6] -1
✅ testBoolean()
✅ testAdverb()
✅ [1] 0.0
✅ [2] -Infinity
✅ [3] Infinity
✅ [4] NaN
✅ [5] 10.0
✅ [6] -1.1
✅ [7] 1.3E38
✅ [1] 0.0
✅ [2] -Infinity
✅ [3] Infinity
✅ [4] NaN
✅ [5] 10.0
✅ [6] -1.1
✅ [7] 1.3E38
✅ testProjection()
✅ [1]
✅ [2]
✅ [3] "
✅ [4] `
✅ [5] some String
✅ [6] a
✅ [1]
✅ [2]
✅ [3] "
✅ [4] `
✅ [5] some String
✅ [6] a
✅ testFunction()
✅ build/test-results/test/TEST-studio.kdb.KFomatingTest.xml
3 tests were completed in 2ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.kdb.KFomatingTest | 3✅ | 2ms |
✅ studio.kdb.KFomatingTest
✅ commaInNumbers()
✅ commaInOthers()
✅ commaInList()
✅ build/test-results/test/TEST-studio.kdb.KSerialiseTest.xml
17 tests were completed in 8s with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.kdb.KSerialiseTest | 17✅ | 8s |
✅ studio.kdb.KSerialiseTest
✅ testAdverbs()
✅ testInt()
✅ testFloat()
✅ testNonAsciiStringEncoding()
✅ testShort()
✅ testByte()
✅ testDict()
✅ testFlip()
✅ testList()
✅ testLong()
✅ testUUID()
✅ testTemporal()
✅ testBoolean()
✅ testFunctions()
✅ testDouble()
✅ testString()
✅ testSymbol()
✅ build/test-results/test/TEST-studio.kdb.KTest.xml
35 tests were completed in 60ms with 35 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.kdb.KTest | 35✅ | 60ms |
✅ studio.kdb.KTest
✅ testTimespanToString()
✅ testBooleanToString()
✅ testLocalDateTimeToTimestamp()
✅ testTimestampNow()
✅ testFloatToString()
✅ testComposition()
✅ testKTimeLong()
✅ testAdd()
✅ testTimestampAddTimespan()
✅ testTimestampAddDuration()
✅ testNull()
✅ testCharacterToString()
✅ testMonthToLocalDateTime()
✅ testMonthToString()
✅ testOtherToString()
✅ testShortToString()
✅ testMinuteToString()
✅ testIntegerToString()
✅ testTimeToString()
✅ testDateToTimestamp()
✅ testMonthToDate()
✅ testDoubleToString()
✅ testDatetimeToString()
✅ testListToString()
✅ testGuidToString()
✅ testElementClass()
✅ testTimespanPeriod()
✅ testDurationToTimespan()
✅ testSymbolToString()
✅ testLongToString()
✅ testSecondToString()
✅ testByteToString()
✅ testFloatMaxFractionDigits()
✅ testTimestampToString()
✅ testDateToString()
✅ build/test-results/test/TEST-studio.kdb.ServerTreeNodeTest.xml
2 tests were completed in 57ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.kdb.ServerTreeNodeTest | 2✅ | 57ms |
✅ studio.kdb.ServerTreeNodeTest
✅ getFullName()
✅ findPathTest()
✅ build/test-results/test/TEST-studio.kdb.SorterTest.xml
2 tests were completed in 5ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.kdb.SorterTest | 2✅ | 5ms |
✅ studio.kdb.SorterTest
✅ testSort()
✅ testReverse()
✅ build/test-results/test/TEST-studio.kdb.WorkspaceTest.xml
2 tests were completed in 28ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.kdb.WorkspaceTest | 2✅ | 28ms |
✅ studio.kdb.WorkspaceTest
✅ testSave()
✅ testGetter()
✅ build/test-results/test/TEST-studio.qeditor.QSyntaxTest.xml
3 tests were completed in 28ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.qeditor.QSyntaxTest | 3✅ | 28ms |
✅ studio.qeditor.QSyntaxTest
✅ testInternalLogicAssumptions()
✅ test()
✅ testSyntaxFromFile()
✅ build/test-results/test/TEST-studio.ui.ExcelExporterTest.xml
1 tests were completed in 412ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.ExcelExporterTest | 1✅ | 412ms |
✅ studio.ui.ExcelExporterTest
✅ timestampExportTest()
✅ build/test-results/test/TEST-studio.ui.search.SearchEngineTest.xml
7 tests were completed in 3ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.search.SearchEngineTest | 7✅ | 3ms |
✅ studio.ui.search.SearchEngineTest
✅ testSimpleWithSpecSymbolsCaseInsensitive()
✅ testMatchCaseRegexp()
✅ testWholeWordRegexp()
✅ testWholeWord()
✅ testMatchCase()
✅ testSimple()
✅ testSimpleWithSpecSymbols()
✅ build/test-results/test/TEST-studio.ui.search.TableMarkersTest.xml
2 tests were completed in 1ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.ui.search.TableMarkersTest | 2✅ | 1ms |
✅ studio.ui.search.TableMarkersTest
✅ testClear()
✅ testMark()
✅ build/test-results/test/TEST-studio.utils.FileReaderWriterTest.xml
2 tests were completed in 6ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.utils.FileReaderWriterTest | 2✅ | 6ms |
✅ studio.utils.FileReaderWriterTest
✅ testWrite()
✅ testReadContent()
✅ build/test-results/test/TEST-studio.utils.FilesBackupTest.xml
6 tests were completed in 39ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.utils.FilesBackupTest | 6✅ | 39ms |
✅ studio.utils.FilesBackupTest
✅ testBackupWithCleanupAndAllExpired()
✅ testInit()
✅ testBackupAgain()
✅ testBackupWithCleanup()
✅ testBackupAgainAfterBackupPeriodTimeout()
✅ testBackupAfterStartup()
✅ build/test-results/test/TEST-studio.utils.HistoricalListTest.xml
4 tests were completed in 2ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.utils.HistoricalListTest | 4✅ | 2ms |
✅ studio.utils.HistoricalListTest
✅ depthTest()
✅ orderTest()
✅ otherMethodsTest()
✅ testInitialArray()
✅ build/test-results/test/TEST-studio.utils.QPadConverterTest.xml
14 tests were completed in 9ms with 14 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.utils.QPadConverterTest | 14✅ | 9ms |
✅ studio.utils.QPadConverterTest
✅ testTreeStructure2()
✅ testTreeStructure()
✅ testInvalidPort()
✅ testPasswordWithColon()
✅ testColonInServerNameCouldBeOmitted()
✅ testEmpty()
✅ testAuthMechanism()
✅ testDefaultAuthMethod()
✅ testEmptyFolder()
✅ testShouldStartWithBackTick()
✅ testComment()
✅ testNoPort()
✅ testWithoutName()
✅ testNoPassword()
✅ build/test-results/test/TEST-studio.utils.TableConnExtractorTest.xml
5 tests were completed in 5ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
studio.utils.TableConnExtractorTest | 5✅ | 5ms |
✅ studio.utils.TableConnExtractorTest
✅ testEmpty()
✅ testValue()
✅ test()
✅ testMaxConn()
✅ testWrongServerNames()
Annotations
Check failure on line 96 in test-integration/studio/ui/StudioTest.java
github-actions / JUnit Tests - Linux
studio.ui.EditorTest ► testCancelOnFrameClosure
Failed test found in:
build/test-results/integrationTest/TEST-studio.ui.EditorTest.xml
build/test-results/integrationTest/TEST-studio.ui.EditorTest.xml
build/test-results/integrationTest/TEST-studio.ui.EditorTest.xml
build/test-results/integrationTest/TEST-studio.ui.EditorTest.xml
build/test-results/integrationTest/TEST-studio.ui.EditorTest.xml
build/test-results/integrationTest/TEST-studio.ui.EditorTest.xml
build/test-results/integrationTest/TEST-studio.ui.GenericTest.xml
build/test-results/integrationTest/TEST-studio.ui.SaveFileTest.xml
build/test-results/integrationTest/TEST-studio.ui.SplitTest.xml
build/test-results/integrationTest/TEST-studio.ui.SplitTest.xml
build/test-results/integrationTest/TEST-studio.ui.SplitTest.xml
build/test-results/integrationTest/TEST-studio.ui.SplitTest.xml
build/test-results/integrationTest/TEST-studio.ui.SplitTest.xml
build/test-results/integrationTest/TEST-studio.ui.SplitTest.xml
build/test-results/integrationTest/TEST-studio.ui.SplitTest.xml
build/test-results/integrationTest/TEST-studio.ui.StopQueryTest.xml
build/test-results/integrationTest/TEST-studio.ui.TabsTest.xml
build/test-results/integrationTest/TEST-studio.ui.TabsTest.xml
build/test-results/integrationTest/TEST-studio.ui.TabsTest.xml
build/test-results/integrationTest/TEST-studio.ui.TabsTest.xml
build/test-results/integrationTest/TEST-studio.ui.TabsTest.xml
build/test-results/integrationTest/TEST-studio.ui.TabsTest.xml
build/test-results/integrationTest/TEST-studio.ui.TabsTest.xml
Error:
java.lang.InternalError: java.lang.reflect.InvocationTargetException
Raw output
java.lang.InternalError: java.lang.reflect.InvocationTargetException
at org.assertj.swing.edt.GuiActionRunner.rethrowCaughtExceptionIn(GuiActionRunner.java:197)
at org.assertj.swing.edt.GuiActionRunner.resultOf(GuiActionRunner.java:175)
at org.assertj.swing.edt.GuiActionRunner.execute(GuiActionRunner.java:98)
at org.assertj.swing.edt.GuiActionRunner.execute(GuiActionRunner.java:72)
at studio.ui.StudioTest.onSetUp(StudioTest.java:96)
at org.assertj.swing.junit.testcase.AssertJSwingJUnitTestCase.setUp(AssertJSwingJUnitTestCase.java:49)
at jdk.internal.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:133)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.GeneratedConstructorAccessor14.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at java.desktop/sun.font.FontManagerFactory$1.run(FontManagerFactory.java:84)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
at java.desktop/sun.font.SunFontManager.getInstance(SunFontManager.java:251)
at java.desktop/sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264)
at java.desktop/sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1174)
at java.desktop/javax.swing.JComponent.getFontMetrics(JComponent.java:1647)
at studio.ui.statusbar.StatusBar.<init>(StatusBar.java:24)
at studio.ui.statusbar.MainStatusBar.<init>(MainStatusBar.java:15)
at studio.ui.StudioWindow.<init>(StudioWindow.java:1316)
at studio.ui.StudioWindow.<init>(StudioWindow.java:1297)
at studio.ui.StudioTest.lambda$onSetUp$0(StudioTest.java:96)
at org.assertj.swing.edt.GuiActionRunner$1.executeInEDT(GuiActionRunner.java:75)
at org.assertj.swing.edt.GuiQuery.run(GuiQuery.java:42)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.desktop/java.awt.EventQueue.access$500(EventQueue.java:97)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:717)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:711)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:89)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:199)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.NullPointerException
at java.desktop/sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1288)
at java.desktop/sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:225)
at java.desktop/sun.awt.FontConfiguration.init(FontConfiguration.java:107)
at java.desktop/sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:765)
at java.desktop/sun.font.SunFontManager$2.run(SunFontManager.java:440)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/sun.font.SunFontManager.<init>(SunFontManager.java:385)
at java.desktop/sun.awt.FcFontManager.<init>(FcFontManager.java:35)
at java.desktop/sun.awt.X11FontManager.<init>(X11FontManager.java:56)
... 31 more
Check failure on line 96 in test-integration/studio/ui/StudioTest.java
github-actions / JUnit Tests - Linux
studio.ui.ResultTest ► testExecute
Failed test found in:
build/test-results/integrationTest/TEST-studio.ui.ResultTest.xml
build/test-results/integrationTest/TEST-studio.ui.ResultTest.xml
build/test-results/integrationTest/TEST-studio.ui.ResultTest.xml
build/test-results/integrationTest/TEST-studio.ui.ResultTest.xml
build/test-results/integrationTest/TEST-studio.ui.ResultTest.xml
build/test-results/integrationTest/TEST-studio.ui.ResultTest.xml
build/test-results/integrationTest/TEST-studio.ui.ResultTest.xml
build/test-results/integrationTest/TEST-studio.ui.RSTAEditorTest.xml
build/test-results/integrationTest/TEST-studio.ui.RSTAEditorTest.xml
build/test-results/integrationTest/TEST-studio.ui.RSTAEditorTest.xml
build/test-results/integrationTest/TEST-studio.ui.SearchTest.xml
build/test-results/integrationTest/TEST-studio.ui.SearchTest.xml
build/test-results/integrationTest/TEST-studio.ui.SearchTest.xml
build/test-results/integrationTest/TEST-studio.ui.SearchTest.xml
build/test-results/integrationTest/TEST-studio.ui.ServerTest.xml
build/test-results/integrationTest/TEST-studio.ui.ServerTest.xml
Error:
java.lang.InternalError: java.lang.reflect.InvocationTargetException
Raw output
java.lang.InternalError: java.lang.reflect.InvocationTargetException
at org.assertj.swing.edt.GuiActionRunner.rethrowCaughtExceptionIn(GuiActionRunner.java:197)
at org.assertj.swing.edt.GuiActionRunner.resultOf(GuiActionRunner.java:175)
at org.assertj.swing.edt.GuiActionRunner.execute(GuiActionRunner.java:98)
at org.assertj.swing.edt.GuiActionRunner.execute(GuiActionRunner.java:72)
at studio.ui.StudioTest.onSetUp(StudioTest.java:96)
at org.assertj.swing.junit.testcase.AssertJSwingJUnitTestCase.setUp(AssertJSwingJUnitTestCase.java:49)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:133)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at java.desktop/sun.font.FontManagerFactory$1.run(FontManagerFactory.java:84)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
at java.desktop/sun.font.SunFontManager.getInstance(SunFontManager.java:251)
at java.desktop/sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264)
at java.desktop/sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1174)
at java.desktop/javax.swing.JComponent.getFontMetrics(JComponent.java:1647)
at studio.ui.statusbar.StatusBar.<init>(StatusBar.java:24)
at studio.ui.statusbar.MainStatusBar.<init>(MainStatusBar.java:15)
at studio.ui.StudioWindow.<init>(StudioWindow.java:1316)
at studio.ui.StudioWindow.<init>(StudioWindow.java:1297)
at studio.ui.StudioTest.lambda$onSetUp$0(StudioTest.java:96)
at org.assertj.swing.edt.GuiActionRunner$1.executeInEDT(GuiActionRunner.java:75)
at org.assertj.swing.edt.GuiQuery.run(GuiQuery.java:42)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.desktop/java.awt.EventQueue.access$500(EventQueue.java:97)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:717)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:711)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:89)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:199)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.NullPointerException
at java.desktop/sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1288)
at java.desktop/sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:225)
at java.desktop/sun.awt.FontConfiguration.init(FontConfiguration.java:107)
at java.desktop/sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:765)
at java.desktop/sun.font.SunFontManager$2.run(SunFontManager.java:440)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/sun.font.SunFontManager.<init>(SunFontManager.java:385)
at java.desktop/sun.awt.FcFontManager.<init>(FcFontManager.java:35)
at java.desktop/sun.awt.X11FontManager.<init>(X11FontManager.java:56)
... 32 more