Skip to content

Add more getter types for time #180

Add more getter types for time

Add more getter types for time #180

GitHub Actions / test report succeeded Apr 27, 2024 in 0s

283 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
build/test-results/test/TEST-com.coditory.quark.config.AuditableConfigSpec.xml 7✅ 313ms
build/test-results/test/TEST-com.coditory.quark.config.builder.ExpressionResolutionSpec.xml 25✅ 86ms
build/test-results/test/TEST-com.coditory.quark.config.builder.PutAllIfMissingSpec.xml 3✅ 25ms
build/test-results/test/TEST-com.coditory.quark.config.builder.PutIfMissingSpec.xml 7✅ 35ms
build/test-results/test/TEST-com.coditory.quark.config.builder.PutValueSpec.xml 8✅ 37ms
build/test-results/test/TEST-com.coditory.quark.config.builder.PutValuesSpec.xml 1✅ 2ms
build/test-results/test/TEST-com.coditory.quark.config.builder.RemoveValueSpec.xml 7✅ 47ms
build/test-results/test/TEST-com.coditory.quark.config.ConfigComparisonSpec.xml 7✅ 47ms
build/test-results/test/TEST-com.coditory.quark.config.ConfigConversionSpec.xml 2✅ 14ms
build/test-results/test/TEST-com.coditory.quark.config.ConfigFromArgumentsSpec.xml 13✅ 68ms
build/test-results/test/TEST-com.coditory.quark.config.ConfigProfileResolutionSpec.xml 12✅ 65ms
build/test-results/test/TEST-com.coditory.quark.config.format.ConfigJsonFormatSpec.xml 5✅ 92ms
build/test-results/test/TEST-com.coditory.quark.config.format.ConfigPropertiesFormatSpec.xml 5✅ 15ms
build/test-results/test/TEST-com.coditory.quark.config.format.ConfigYamlFormatSpec.xml 5✅ 117ms
build/test-results/test/TEST-com.coditory.quark.config.HideSecretValuesSpec.xml 11✅ 53ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.BigDecimalParsingSpec.xml 7✅ 16ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.BooleanParsingSpec.xml 8✅ 10ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.ByteParsingSpec.xml 10✅ 11ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.CurrencyParsingSpec.xml 7✅ 10ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.CustomParserSpec.xml 5✅ 65ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.DoubleParsingSpec.xml 7✅ 41ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.DurationParsingSpec.xml 13✅ 42ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.FloatParsingSpec.xml 7✅ 30ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.InstantParsingSpec.xml 8✅ 31ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.IntegerParsingSpec.xml 10✅ 15ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.LocalDateParsingSpec.xml 6✅ 18ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.LocalDateTimeParsingSpec.xml 8✅ 17ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.LocaleParsingSpec.xml 8✅ 62ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.LocalTimeParsingSpec.xml 9✅ 15ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.LongParsingSpec.xml 10✅ 16ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.ShortParsingSpec.xml 10✅ 18ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.StringParsingSpec.xml 4✅ 6ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.ZonedDateTimeParsingSpec.xml 8✅ 16ms
build/test-results/test/TEST-com.coditory.quark.config.PathValidationSpec.xml 8✅ 21ms
build/test-results/test/TEST-com.coditory.quark.config.SubConfigSpec.xml 5✅ 20ms
build/test-results/test/TEST-com.coditory.quark.config.ValueRetrievalSpec.xml 7✅ 40ms

✅ build/test-results/test/TEST-com.coditory.quark.config.AuditableConfigSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.AuditableConfigSpec 7✅ 313ms

✅ com.coditory.quark.config.AuditableConfigSpec

✅ should detected all unused config properties
✅ should detected single unused config property
✅ should not detected unused config properties when all were used
✅ should detect unused nested config properties
✅ should detect unused list config properties
✅ should detected all unused config properties in passed config consumer
✅ should detected all unused config properties in passed config mapper

✅ build/test-results/test/TEST-com.coditory.quark.config.builder.ExpressionResolutionSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.builder.ExpressionResolutionSpec 25✅ 86ms

✅ com.coditory.quark.config.builder.ExpressionResolutionSpec

✅ should resolve config with reference to config value
✅ should resolve a reference to a referenced value
✅ should resolve a two references in one value
✅ should not resolve reference to itself
✅ should not resolve transitive reference to itself
✅ should resolve reference to parameter of the same name
✅ should resolve reference to an object
✅ should resolve reference to a number
✅ should resolve reference with a default
✅ should resolve reference with two fallbacks: [b:B]
✅ should resolve reference with two fallbacks: [c:C]
✅ should resolve reference with two fallbacks: [:]
✅ should resolve reference with two fallbacks: [b:B, c:C]
✅ should resolve reference with two fallbacks: [c:${b}]
✅ should resolve reference with two fallbacks: [b:${a}]
✅ should resolve reference with two fallbacks: [b:${c}]
✅ should resolve reference with two fallbacks: [b:${c}, c:C]
✅ should not modify incorrect expression a}
✅ should not modify incorrect expression {a}
✅ should not modify incorrect expression }}}
✅ should not modify incorrect expression {{{
✅ should not modify incorrect expression {}
✅ should not modify incorrect expression ${a
✅ should throw error on a reference to itself
✅ should throw error on an unresolved reference

✅ build/test-results/test/TEST-com.coditory.quark.config.builder.PutAllIfMissingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.builder.PutAllIfMissingSpec 3✅ 25ms

✅ com.coditory.quark.config.builder.PutAllIfMissingSpec

✅ should return sub config merged with other config
✅ should not overwrite leaf values
✅ should not merge list values as leaves

✅ build/test-results/test/TEST-com.coditory.quark.config.builder.PutIfMissingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.builder.PutIfMissingSpec 7✅ 35ms

✅ com.coditory.quark.config.builder.PutIfMissingSpec

✅ should add values to an empty config
✅ should not overwrite previously added values
✅ should add new values to list of values
✅ should not replace list value with nested value
✅ should not replace nested value with list value
✅ should not replace value with other value
✅ should fail adding list item with invalid index

✅ build/test-results/test/TEST-com.coditory.quark.config.builder.PutValueSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.builder.PutValueSpec 8✅ 37ms

✅ com.coditory.quark.config.builder.PutValueSpec

✅ should add values to an empty config
✅ should add empty values to an empty config
✅ should overwrite previously added values
✅ should add new values to a list values
✅ should replace list value with nested value
✅ should replace nested value with list value
✅ should replace value with other value
✅ should fail adding list item with invalid index

✅ build/test-results/test/TEST-com.coditory.quark.config.builder.PutValuesSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.builder.PutValuesSpec 1✅ 2ms

✅ com.coditory.quark.config.builder.PutValuesSpec

✅ should return sub config overridden with other config

✅ build/test-results/test/TEST-com.coditory.quark.config.builder.RemoveValueSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.builder.RemoveValueSpec 7✅ 47ms

✅ com.coditory.quark.config.builder.RemoveValueSpec

✅ should remove values
✅ should remove values and leave empty parents
✅ should remove values and empty parents
✅ should remove values and empty parent objects
✅ should remove values and empty parent lists
✅ should remove values from a list
✅ should not throw error when removing non existent value

✅ build/test-results/test/TEST-com.coditory.quark.config.ConfigComparisonSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.ConfigComparisonSpec 7✅ 47ms

✅ com.coditory.quark.config.ConfigComparisonSpec

✅ empty configs should be equal
✅ empty configs with different valueParsers should differ
✅ configs with the same values and parsers should be equal
✅ configs with the same values and different parsers should differ
✅ configs with different values and same parsers should differ
✅ should deeply compare config values
✅ should deeply compare list config values

✅ build/test-results/test/TEST-com.coditory.quark.config.ConfigConversionSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.ConfigConversionSpec 2✅ 14ms

✅ com.coditory.quark.config.ConfigConversionSpec

✅ should convert config to a flat map
✅ should convert config to a nested map

✅ build/test-results/test/TEST-com.coditory.quark.config.ConfigFromArgumentsSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.ConfigFromArgumentsSpec 13✅ 68ms

✅ com.coditory.quark.config.ConfigFromArgumentsSpec

✅ should create empty config for args: []
✅ should create empty config for args: []
✅ should create empty config for args: [a]
✅ should create empty config for args: [a, b]
✅ should create config for boolean flags: [--paramA]
✅ should create config for boolean flags: [--paramA, --paramB]
✅ should create config for boolean flags: [-a, -c]
✅ should create config for boolean flags: [-a, -b]
✅ should skip some args that are not flags nor values
✅ should map some arguments
✅ should undefined aliases
✅ should handle values defined with '='
✅ should parse values from arguments

✅ build/test-results/test/TEST-com.coditory.quark.config.ConfigProfileResolutionSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.ConfigProfileResolutionSpec 12✅ 65ms

✅ com.coditory.quark.config.ConfigProfileResolutionSpec

✅ should fail on not allowed profile
✅ should pass on allowed profile
✅ should pass on allowed profile
✅ should fail on exclusive profiles
✅ should pass on non-exclusive profiles
✅ should return default profiles
✅ should return profiles from args
✅ should use custom profile arg name
✅ should use alias for profile arg name
✅ should use arg mapping for profile arg name
✅ should validate profile count
✅ should map profiles

✅ build/test-results/test/TEST-com.coditory.quark.config.format.ConfigJsonFormatSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.format.ConfigJsonFormatSpec 5✅ 92ms

✅ com.coditory.quark.config.format.ConfigJsonFormatSpec

✅ should serialize config to json
✅ should deserialize config from json
✅ should hide secrets
✅ should not hide secrets
✅ should deserialize list

✅ build/test-results/test/TEST-com.coditory.quark.config.format.ConfigPropertiesFormatSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.format.ConfigPropertiesFormatSpec 5✅ 15ms

✅ com.coditory.quark.config.format.ConfigPropertiesFormatSpec

✅ should serialize config to properties
✅ should deserialize config from properties
✅ should hide secrets
✅ should not hide secrets
✅ should deserialize list

✅ build/test-results/test/TEST-com.coditory.quark.config.format.ConfigYamlFormatSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.format.ConfigYamlFormatSpec 5✅ 117ms

✅ com.coditory.quark.config.format.ConfigYamlFormatSpec

✅ should serialize config to yaml
✅ should deserialize config from yaml
✅ should hide secrets
✅ should not hide secrets
✅ should deserialize list

✅ build/test-results/test/TEST-com.coditory.quark.config.HideSecretValuesSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.HideSecretValuesSpec 11✅ 53ms

✅ com.coditory.quark.config.HideSecretValuesSpec

✅ should hide secrets under field name: secret
✅ should hide secrets under field name: secrets
✅ should hide secrets under field name: password
✅ should hide secrets under field name: passwords
✅ should hide secrets under field name: token
✅ should hide secrets under field name: tokens
✅ should hide secrets under field name: key
✅ should hide secrets under field name: keys
✅ should hide secrets under field name: apiKey
✅ should hide secrets under field name: apiKeys
✅ should not hide non secret values

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.BigDecimalParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.BigDecimalParsingSpec 7✅ 16ms

✅ com.coditory.quark.config.parsing.BigDecimalParsingSpec

✅ should parse BigDecimal value: 0.0001
✅ should parse BigDecimal value: -0.0001
✅ should parse BigDecimal value: 123123.03
✅ should not parse invalid BigDecimal value: 0.0001a
✅ should not parse invalid BigDecimal value: -a0.0001
✅ should parse List of BigDecimals
✅ should not parse a list of invalid BigDecimals

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.BooleanParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.BooleanParsingSpec 8✅ 10ms

✅ com.coditory.quark.config.parsing.BooleanParsingSpec

✅ should parse Boolean value: TrUe
✅ should parse Boolean value: FaLsE
✅ should not parse invalid Boolean value: TrUee
✅ should not parse invalid Boolean value: fFaLsE
✅ should not parse invalid Boolean value: 1
✅ should not parse invalid Boolean value: 2
✅ should parse List of Booleans
✅ should not parse a list of invalid Booleans

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.ByteParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.ByteParsingSpec 10✅ 11ms

✅ com.coditory.quark.config.parsing.ByteParsingSpec

✅ should parse Byte value: 0
✅ should parse Byte value: -1
✅ should parse Byte value: 1
✅ should parse Byte value: 123
✅ should not parse invalid Byte value: 100a
✅ should not parse invalid Byte value: -a100
✅ should not parse invalid Byte value: 1.0
✅ should not parse invalid Byte value: 0.1
✅ should parse List of Bytes
✅ should not parse a list of invalid Bytes

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.CurrencyParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.CurrencyParsingSpec 7✅ 10ms

✅ com.coditory.quark.config.parsing.CurrencyParsingSpec

✅ should parse Currency value: PLN
✅ should parse Currency value: USD
✅ should not parse invalid Currency value: PLNN
✅ should not parse invalid Currency value: PLX
✅ should not parse invalid Currency value: 123
✅ should parse List of Currencies
✅ should not parse a list of invalid Currencies

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.CustomParserSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.CustomParserSpec 5✅ 65ms

✅ com.coditory.quark.config.parsing.CustomParserSpec

✅ should parse value using custom parser
✅ should parse a list using custom parser
✅ should parse subtype value using custom parser
✅ should obey parsers registration order
✅ should not parse a subtype type with a supertype parser

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.DoubleParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.DoubleParsingSpec 7✅ 41ms

✅ com.coditory.quark.config.parsing.DoubleParsingSpec

✅ should parse Double value: 0.0001
✅ should parse Double value: -0.0001
✅ should parse Double value: 123123.03
✅ should not parse invalid Double value: 0.0001a
✅ should not parse invalid Double value: -a0.0001
✅ should parse List of Doubles
✅ should not parse a list of invalid Doubles

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.DurationParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.DurationParsingSpec 13✅ 42ms

✅ com.coditory.quark.config.parsing.DurationParsingSpec

✅ should parse Duration value: PT20.345S
✅ should parse Duration value: -PT-6H+3M
✅ should parse short Duration time value: 10ms
✅ should parse short Duration time value: 10.5ms
✅ should parse short Duration time value: 1.5s
✅ should parse short Duration time value: 1m
✅ should parse short Duration time value: 2h
✅ should not parse invalid Duration value: 1.5m
✅ should not parse invalid Duration value: 1d
✅ should not parse invalid Duration value: 10.5mss
✅ should not parse invalid Duration value: 1.0.5ms
✅ should parse List of Durations
✅ should not parse a list of invalid Durations

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.FloatParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.FloatParsingSpec 7✅ 30ms

✅ com.coditory.quark.config.parsing.FloatParsingSpec

✅ should parse Float value: 0.0001
✅ should parse Float value: -0.0001
✅ should parse Float value: 123123.03
✅ should not parse invalid Float value: 0.0001a
✅ should not parse invalid Float value: -a0.0001
✅ should parse List of Floats
✅ should not parse a list of invalid Floats

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.InstantParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.InstantParsingSpec 8✅ 31ms

✅ com.coditory.quark.config.parsing.InstantParsingSpec

✅ should parse Instant value: 2007-12-03T10:15:30.00Z
✅ should parse Instant value: 2007-12-03T10:15:30Z
✅ should parse Instant value: 2007-12-03T10:15:00Z
✅ should not parse invalid Instant value: 2007-12-03T10:15:30.00
✅ should not parse invalid Instant value: 2007-12-03T10:15Z
✅ should not parse invalid Instant value: 2007-12-03
✅ should parse List of Instants
✅ should not parse a list of invalid Instants

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.IntegerParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.IntegerParsingSpec 10✅ 15ms

✅ com.coditory.quark.config.parsing.IntegerParsingSpec

✅ should parse Integer value: 0
✅ should parse Integer value: -1
✅ should parse Integer value: 1
✅ should parse Integer value: 123123
✅ should not parse invalid Integer value: 100a
✅ should not parse invalid Integer value: -a100
✅ should not parse invalid Integer value: 1.0
✅ should not parse invalid Integer value: 0.1
✅ should parse List of Integers
✅ should not parse a list of invalid Integers

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.LocalDateParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.LocalDateParsingSpec 6✅ 18ms

✅ com.coditory.quark.config.parsing.LocalDateParsingSpec

✅ should parse LocalDate value: #value
✅ should not parse invalid LocalDate value: 2007-12-03T10:15:30.00Z
✅ should not parse invalid LocalDate value: 2007-12-03T10:15
✅ should not parse invalid LocalDate value: 2007-12
✅ should parse List of LocalDates
✅ should not parse a list of invalid LocalDates

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.LocalDateTimeParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.LocalDateTimeParsingSpec 8✅ 17ms

✅ com.coditory.quark.config.parsing.LocalDateTimeParsingSpec

✅ should parse LocalDateTime value: 2007-12-03T10:15:30.01
✅ should parse LocalDateTime value: 2007-12-03T10:15:30
✅ should parse LocalDateTime value: 2007-12-03T10:15
✅ should not parse invalid LocalDateTime value: 2007-12-03T10:15:
✅ should not parse invalid LocalDateTime value: 2007-12
✅ should not parse invalid LocalDateTime value: 2007-12-03T00:00:00.00Z
✅ should parse List of LocalDateTimes
✅ should not parse a list of invalid LocalDateTimes

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.LocaleParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.LocaleParsingSpec 8✅ 62ms

✅ com.coditory.quark.config.parsing.LocaleParsingSpec

✅ should parse Locale value: pl_PL
✅ should parse Locale value: pl-PL
✅ should parse Locale value: pl
✅ should not parse invalid Locale value: plll
✅ should not parse invalid Locale value: pl-PLLLLL
✅ should not parse invalid Locale value: xyz
✅ should parse List of Locales
✅ should not parse a list of invalid Locales

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.LocalTimeParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.LocalTimeParsingSpec 9✅ 15ms

✅ com.coditory.quark.config.parsing.LocalTimeParsingSpec

✅ should parse LocalTime value: 10:15:30.01
✅ should parse LocalTime value: 10:15:30
✅ should parse LocalTime value: 10:15
✅ should not parse invalid Instant value: 2007-12-03T10:15:30.00
✅ should not parse invalid Instant value: 10:15:30.00Z
✅ should not parse invalid Instant value: 10:15:
✅ should not parse invalid Instant value: 10
✅ should parse List of LocalTimes
✅ should not parse a list of invalid LocalTimes

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.LongParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.LongParsingSpec 10✅ 16ms

✅ com.coditory.quark.config.parsing.LongParsingSpec

✅ should parse Long value: 0
✅ should parse Long value: -1
✅ should parse Long value: 1
✅ should parse Long value: 123123
✅ should not parse invalid Long value: 100a
✅ should not parse invalid Long value: -a100
✅ should not parse invalid Long value: 1.0
✅ should not parse invalid Long value: 0.1
✅ should parse List of Longs
✅ should not parse a list of invalid Longs

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.ShortParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.ShortParsingSpec 10✅ 18ms

✅ com.coditory.quark.config.parsing.ShortParsingSpec

✅ should parse Short value: 0
✅ should parse Short value: -1
✅ should parse Short value: 1
✅ should parse Short value: 123
✅ should not parse invalid Short value: 100a
✅ should not parse invalid Short value: -a100
✅ should not parse invalid Short value: 1.0
✅ should not parse invalid Short value: 0.1
✅ should parse List of Shorts
✅ should not parse a list of invalid Shorts

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.StringParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.StringParsingSpec 4✅ 6ms

✅ com.coditory.quark.config.parsing.StringParsingSpec

✅ should parse String value: 2007-12-03T10:15:30.00Z
✅ should parse String value: 1234
✅ should parse String value: some text
✅ should parse List of Strings

✅ build/test-results/test/TEST-com.coditory.quark.config.parsing.ZonedDateTimeParsingSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.parsing.ZonedDateTimeParsingSpec 8✅ 16ms

✅ com.coditory.quark.config.parsing.ZonedDateTimeParsingSpec

✅ should parse ZonedDateTime value: 2011-12-03T10:15:30+01:00
✅ should parse ZonedDateTime value: 2011-12-03T10:15:30+01
✅ should parse ZonedDateTime value: 2007-12-03T10:15:00+01
✅ should not parse invalid ZonedDateTime value: 2011-12-03T10:15:30
✅ should not parse invalid ZonedDateTime value: 2011-12-03T10:15:30+100
✅ should not parse invalid ZonedDateTime value: 2011-12-03T10:15+1
✅ should parse List of ZonedDateTimes
✅ should not parse a list of invalid ZonedDateTimes

✅ build/test-results/test/TEST-com.coditory.quark.config.PathValidationSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.PathValidationSpec 8✅ 21ms

✅ com.coditory.quark.config.PathValidationSpec

✅ should accept valid config path: a[0]
✅ should accept valid config path: a.b.c.d
✅ should accept valid config path: a[0].b[0].c[0][0]
✅ should accept valid config path: abcDefGhi0123
✅ should throw error for invalid config path: a[x]
✅ should throw error for invalid config path: a[-1]
✅ should throw error for invalid config path: a..b
✅ should throw error for invalid config path: a. .b

✅ build/test-results/test/TEST-com.coditory.quark.config.SubConfigSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.SubConfigSpec 5✅ 20ms

✅ com.coditory.quark.config.SubConfigSpec

✅ should return sub config from nested values
✅ should return sub config from nested values with a list
✅ should return empty sub config
✅ should throw error on empty sub config
✅ should extract sub config list

✅ build/test-results/test/TEST-com.coditory.quark.config.ValueRetrievalSpec.xml

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.ValueRetrievalSpec 7✅ 40ms

✅ com.coditory.quark.config.ValueRetrievalSpec

✅ should return nested values by path
✅ should return nested value from inserted map
✅ should not return missing value
✅ should return nested value in a list
✅ should return nested value from inserted list
✅ should return nested value from inserted map with path in key
✅ should contain value