Skip to content

adding Parser for temporal types #336

adding Parser for temporal types

adding Parser for temporal types #336

GitHub Actions / JUnit Tests - Windows succeeded Dec 13, 2024 in 1s

229 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
build/test-results/test/TEST-kx.IPCTest.xml 1✅ 2s
build/test-results/test/TEST-studio.kdb.ConfigTest.xml 12✅ 186ms
build/test-results/test/TEST-studio.kdb.ConfigUpgradeTest.xml 1✅ 5ms
build/test-results/test/TEST-studio.kdb.KCompareTest.xml 36✅ 203ms
build/test-results/test/TEST-studio.kdb.KEqualsTest.xml 64✅ 91ms
build/test-results/test/TEST-studio.kdb.KFomatingTest.xml 3✅ 6ms
build/test-results/test/TEST-studio.kdb.KSerialiseTest.xml 17✅ 122ms
build/test-results/test/TEST-studio.kdb.KTest.xml 35✅ 48ms
build/test-results/test/TEST-studio.kdb.ParserTest.xml 10✅ 35ms
build/test-results/test/TEST-studio.kdb.ServerTreeNodeTest.xml 2✅ 1ms
build/test-results/test/TEST-studio.kdb.SorterTest.xml 2✅ 4ms
build/test-results/test/TEST-studio.kdb.WorkspaceTest.xml 2✅ 25ms
build/test-results/test/TEST-studio.qeditor.QSyntaxTest.xml 3✅ 34ms
build/test-results/test/TEST-studio.ui.ExcelExporterTest.xml 1✅ 525ms
build/test-results/test/TEST-studio.ui.search.SearchEngineTest.xml 7✅ 4ms
build/test-results/test/TEST-studio.ui.search.TableMarkersTest.xml 2✅ 0ms
build/test-results/test/TEST-studio.utils.FileReaderWriterTest.xml 2✅ 32ms
build/test-results/test/TEST-studio.utils.FilesBackupTest.xml 6✅ 106ms
build/test-results/test/TEST-studio.utils.HistoricalListTest.xml 4✅ 2ms
build/test-results/test/TEST-studio.utils.QPadConverterTest.xml 14✅ 12ms
build/test-results/test/TEST-studio.utils.TableConnExtractorTest.xml 5✅ 4ms

✅ build/test-results/test/TEST-kx.IPCTest.xml

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

Test suite Passed Failed Skipped Time
kx.IPCTest 1✅ 2s

✅ kx.IPCTest

✅ errorDeserilisation()

✅ build/test-results/test/TEST-studio.kdb.ConfigTest.xml

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

Test suite Passed Failed Skipped Time
studio.kdb.ConfigTest 12✅ 186ms

✅ 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 5ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
studio.kdb.ConfigUpgradeTest 1✅ 5ms

✅ studio.kdb.ConfigUpgradeTest

✅ testLoadingConfig13()

✅ build/test-results/test/TEST-studio.kdb.KCompareTest.xml

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

Test suite Passed Failed Skipped Time
studio.kdb.KCompareTest 36✅ 203ms

✅ 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 91ms with 64 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
studio.kdb.KEqualsTest 64✅ 91ms

✅ 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 6ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
studio.kdb.KFomatingTest 3✅ 6ms

✅ studio.kdb.KFomatingTest

✅ commaInNumbers()
✅ commaInOthers()
✅ commaInList()

✅ build/test-results/test/TEST-studio.kdb.KSerialiseTest.xml

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

Test suite Passed Failed Skipped Time
studio.kdb.KSerialiseTest 17✅ 122ms

✅ 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 48ms with 35 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
studio.kdb.KTest 35✅ 48ms

✅ 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.ParserTest.xml

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

Test suite Passed Failed Skipped Time
studio.kdb.ParserTest 10✅ 35ms

✅ studio.kdb.ParserTest

✅ testLocalDateTime()
✅ testParseMonth()
✅ testParseMinute()
✅ testParseDatetime()
✅ testParseSecond()
✅ testDuration()
✅ testParseDate()
✅ testParseTime()
✅ testParseTimespan()
✅ testParseTimestamp()

✅ build/test-results/test/TEST-studio.kdb.ServerTreeNodeTest.xml

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

Test suite Passed Failed Skipped Time
studio.kdb.ServerTreeNodeTest 2✅ 1ms

✅ studio.kdb.ServerTreeNodeTest

✅ getFullName()
✅ findPathTest()

✅ build/test-results/test/TEST-studio.kdb.SorterTest.xml

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

Test suite Passed Failed Skipped Time
studio.kdb.SorterTest 2✅ 4ms

✅ studio.kdb.SorterTest

✅ testSort()
✅ testReverse()

✅ build/test-results/test/TEST-studio.kdb.WorkspaceTest.xml

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

Test suite Passed Failed Skipped Time
studio.kdb.WorkspaceTest 2✅ 25ms

✅ studio.kdb.WorkspaceTest

✅ testSave()
✅ testGetter()

✅ build/test-results/test/TEST-studio.qeditor.QSyntaxTest.xml

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

Test suite Passed Failed Skipped Time
studio.qeditor.QSyntaxTest 3✅ 34ms

✅ studio.qeditor.QSyntaxTest

✅ testInternalLogicAssumptions()
✅ test()
✅ testSyntaxFromFile()

✅ build/test-results/test/TEST-studio.ui.ExcelExporterTest.xml

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

Test suite Passed Failed Skipped Time
studio.ui.ExcelExporterTest 1✅ 525ms

✅ studio.ui.ExcelExporterTest

✅ timestampExportTest()

✅ build/test-results/test/TEST-studio.ui.search.SearchEngineTest.xml

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

Test suite Passed Failed Skipped Time
studio.ui.search.SearchEngineTest 7✅ 4ms

✅ 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 0ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
studio.ui.search.TableMarkersTest 2✅ 0ms

✅ studio.ui.search.TableMarkersTest

✅ testClear()
✅ testMark()

✅ build/test-results/test/TEST-studio.utils.FileReaderWriterTest.xml

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

Test suite Passed Failed Skipped Time
studio.utils.FileReaderWriterTest 2✅ 32ms

✅ studio.utils.FileReaderWriterTest

✅ testWrite()
✅ testReadContent()

✅ build/test-results/test/TEST-studio.utils.FilesBackupTest.xml

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

Test suite Passed Failed Skipped Time
studio.utils.FilesBackupTest 6✅ 106ms

✅ 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 12ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
studio.utils.QPadConverterTest 14✅ 12ms

✅ 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 4ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
studio.utils.TableConnExtractorTest 5✅ 4ms

✅ studio.utils.TableConnExtractorTest

✅ testEmpty()
✅ testValue()
✅ test()
✅ testMaxConn()
✅ testWrongServerNames()