Skip to content

Fix escaping error #168

Fix escaping error

Fix escaping error #168

GitHub Actions / test report succeeded Dec 31, 2023 in 1s

test report ✅

Tests passed successfully

Report Passed Failed Skipped Time
build/test-results/test/TEST-com.coditory.quark.config.AuditableConfigSpec.xml 7✅ 366ms
build/test-results/test/TEST-com.coditory.quark.config.builder.ExpressionResolutionSpec.xml 25✅ 65ms
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✅ 22ms
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✅ 5ms
build/test-results/test/TEST-com.coditory.quark.config.builder.RemoveValueSpec.xml 7✅ 20ms
build/test-results/test/TEST-com.coditory.quark.config.ConfigComparisonSpec.xml 7✅ 37ms
build/test-results/test/TEST-com.coditory.quark.config.ConfigConversionSpec.xml 2✅ 9ms
build/test-results/test/TEST-com.coditory.quark.config.ConfigFromArgumentsSpec.xml 13✅ 39ms
build/test-results/test/TEST-com.coditory.quark.config.ConfigProfileResolutionSpec.xml 12✅ 38ms
build/test-results/test/TEST-com.coditory.quark.config.format.ConfigJsonFormatSpec.xml 5✅ 94ms
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✅ 93ms
build/test-results/test/TEST-com.coditory.quark.config.HideSecretValuesSpec.xml 7✅ 60ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.BigDecimalParsingSpec.xml 7✅ 13ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.BooleanParsingSpec.xml 8✅ 8ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.ByteParsingSpec.xml 10✅ 10ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.CurrencyParsingSpec.xml 7✅ 18ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.CustomParserSpec.xml 5✅ 36ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.DoubleParsingSpec.xml 7✅ 11ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.DurationParsingSpec.xml 13✅ 26ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.FloatParsingSpec.xml 7✅ 13ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.InstantParsingSpec.xml 8✅ 16ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.IntegerParsingSpec.xml 10✅ 14ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.LocaleParsingSpec.xml 8✅ 65ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.LongParsingSpec.xml 10✅ 19ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.ShortParsingSpec.xml 10✅ 31ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.StringParsingSpec.xml 4✅ 5ms
build/test-results/test/TEST-com.coditory.quark.config.parsing.ZonedDateTimeParsingSpec.xml 8✅ 29ms
build/test-results/test/TEST-com.coditory.quark.config.PathValidationSpec.xml 8✅ 25ms
build/test-results/test/TEST-com.coditory.quark.config.SubConfigSpec.xml 4✅ 18ms
build/test-results/test/TEST-com.coditory.quark.config.ValueRetrievalSpec.xml 7✅ 9ms

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ 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

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.HideSecretValuesSpec 7✅ 60ms

✅ 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 not hide non secret values

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ 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

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

Test suite Passed Failed Skipped Time
com.coditory.quark.config.SubConfigSpec 4✅ 18ms

✅ 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

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

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

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

✅ 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