-
Notifications
You must be signed in to change notification settings - Fork 2
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
Oracle for test samples #8
Comments
Issue #8 - Added expected test data for intent_test app
Expected output was described as JSON files for each compilation unit. |
- Added Gson dependency (library for manipulating Json) - Moved json files to a dedicated directory - Created main for simple test - Added Java classes to represent Json data
To comply with our current model for registering and reporting ICC link information, we should use the ICCLinkInfo class as the layout for the JSON file. Therefore, only minor issues are needed on the JSON file, instead of sourceName, declaredPkg, and a list of intents, we should only have a list of "ICCLinkInfo", which already comprehends scope information (package+className+method) and the intent triggered by a startActivity/startService and other calls alike (see IntentInfo class). |
See 7b14a6a for a quick method for comparing and diffing IntentInfo objects. @jeandersonbc |
Create oracles based on sample apps.
It would be good to have at least some document describing expected outputs based on sample apps.
The text was updated successfully, but these errors were encountered: