-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds runner for Ion conformance tests #887
Adds runner for Ion conformance tests #887
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## ion-11-encoding #887 +/- ##
==================================================
Coverage ? 69.06%
Complexity ? 6326
==================================================
Files ? 183
Lines ? 25310
Branches ? 4528
==================================================
Hits ? 17481
Misses ? 6456
Partials ? 1373 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good start!
src/test/java/com/amazon/ion/conformance/ConformanceTestRunner.kt
Outdated
Show resolved
Hide resolved
src/test/java/com/amazon/ion/conformance/ConformanceTestRunner.kt
Outdated
Show resolved
Hide resolved
src/test/java/com/amazon/ion/conformance/ConformanceTestRunner.kt
Outdated
Show resolved
Hide resolved
IonType.FLOAT -> recordEvent(value = doubleValue()) | ||
IonType.DECIMAL -> recordEvent(value = decimalValue()) | ||
IonType.TIMESTAMP -> recordEvent(value = timestampValue()) | ||
IonType.SYMBOL -> recordEvent(value = symbolValue()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: there are sometimes multiple APIs that can be used to retrieve values of a particular type, e.g. symbolValue()
and stringValue()
for IonType.SYMBOL. We should consider how to eventually add support for testing a wider variety of API combinations.
Issue #, if available:
#748
Description of changes:
FakeSymbolToken
implement_Private_SymbolToken
so that we can be sure thatFakeSymbolToken
will work everywhere we need it to._Private_IonTextWriterBuilder_1_1
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.