-
Notifications
You must be signed in to change notification settings - Fork 37
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
Loader Bugs for Integer Loading #218
Labels
bug
Something isn't working
Comments
almann
added a commit
to almann/ion-rust
that referenced
this issue
Apr 25, 2021
* Adds `test-generator` create dev dependency to get test per file. * Adds a test suite with `good`/`bad` files with skip lists. - `equivs` and `non-equivs` are also supported with `embedded_document` parsing. * Adds `Loader::load_all` convenience method. * Adds doc test example in `loader` module docs and fixes the iterator example. Additional notes: * Added amazon-ion#216 as a result of non-equivs testing and it definitely exposes a weakness in our unit tests and bug in our `PartialEq` for `...Struct`. * Added amazon-ion#218 to track a particular set ion-c integration issues around integer sizes and binary reader. * Added amazon-ion#219 to track adding support for unknown text symbol tokens in `Loader`. * Added amazon-ion#220 to track adding `IonEq`. * Added amazon-ion/ion-c#235 as these tests run into problems with negative binary integer syntax (but not hex or decimal), indicating a potential issue there. Resolves amazon-ion#214.
almann
added a commit
that referenced
this issue
Apr 26, 2021
* Adds `test-generator` create dev dependency to get test per file. * Adds a test suite with `good`/`bad` files with skip lists. - `equivs` and `non-equivs` are also supported with `embedded_document` parsing. * Adds `Loader::load_all` convenience method. * Adds doc test example in `loader` module docs and fixes the iterator example. Additional notes: * Added #216 as a result of non-equivs testing and it definitely exposes a weakness in our unit tests and bug in our `PartialEq` for `...Struct`. * Added #218 to track a particular set ion-c integration issues around integer sizes and binary reader. * Added #219 to track adding support for unknown text symbol tokens in `Loader`. * Added #220 to track adding `IonEq`. * Added amazon-ion/ion-c#235 as these tests run into problems with negative binary integer syntax (but not hex or decimal), indicating a potential issue there. * Added frehberg/test-generator#12 to capture the empty glob issue. Resolves #214.
Most of the tests mentioned above in description passes now with #276 change. Some tests are still left for investigation:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As part of implementing #214, the following are problematic and appear to be a result in how we're integrating with
ion-c
.We should adjust that binding code to make sure we can support these. My suspicion is that there is an asymmetry with binary versus text and it may be an
ion-c
bug, but more investigation is necessary.The text was updated successfully, but these errors were encountered: