-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Move mocks and api util to testing module * Remove completed explorations from data class * Update fake JSON * Add data objects for entry point * Fix packages for services * Fix JSON & data class to match * Fix test package names & imports * Revert "Remove completed explorations from data class" This reverts commit 9c1b800. * Revert "Update fake JSON" This reverts commit ea0847a. * Revert "Add data objects for entry point" This reverts commit 445e320. * Revert "Fix JSON & data class to match" This reverts commit c9c0752. * Remove extra data object changes * Remove entry point data object * Undo persistent cache store test change * Move api utils to testing/network package
- Loading branch information
Showing
19 changed files
with
56 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,44 @@ | ||
{ | ||
"api_key": "", | ||
"app_context": { | ||
"entry_point": "navigation_drawer", | ||
"completed_exploration_ids": [ | ||
0, | ||
1 | ||
], | ||
"topic_progress": {}, | ||
"text_size": "large", | ||
"text_lang": "EN", | ||
"audio_lang": "EN", | ||
"download_and_update_only_on_wifi": true, | ||
"automatically_update_topics": false, | ||
"is_admin": false | ||
"is_admin": false, | ||
"event_logs": [ | ||
"example", | ||
"event" | ||
], | ||
"logcat_logs": [ | ||
"example", | ||
"log" | ||
] | ||
}, | ||
"device_context": { | ||
"device_model": "example_model", | ||
"sdk_version": 23, | ||
"device_brand": "example_brand", | ||
"build_fingerprint": "example_fingerprint_id", | ||
"phone_type": "telephony_network_type", | ||
"network_type": "wifi", | ||
"device_lang": "EN" | ||
"network_type": "wifi" | ||
}, | ||
"report_creation_timestamp": 1610519337000, | ||
"report_creation_timestamp_ms": 1610519337000, | ||
"system_context": { | ||
"package_name": "example.package.name", | ||
"package_code": "example_version_code", | ||
"version_name": "0.1-alpha-abcdef1234", | ||
"package_version_code": 1, | ||
"country_locale": "IN", | ||
"language_locale": "EN" | ||
}, | ||
"user_feedback": { | ||
"user_supplied_feedback": { | ||
"report_type": "suggestion", | ||
"category": "language_suggestion", | ||
"feedback_list": [], | ||
"user_input": "french" | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...g/oppia/android/data/backends/ApiUtils.kt → ...oppia/android/testing/network/ApiUtils.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...data/backends/api/MockClassroomService.kt → ...d/testing/network/MockClassroomService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...ta/backends/api/MockConceptCardService.kt → ...testing/network/MockConceptCardService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...ta/backends/api/MockExplorationService.kt → ...testing/network/MockExplorationService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...kends/api/MockFeedbackReportingService.kt → ...g/network/MockFeedbackReportingService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...backends/api/MockQuestionPlayerService.kt → ...ting/network/MockQuestionPlayerService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...oid/data/backends/api/MockStoryService.kt → ...droid/testing/network/MockStoryService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
.../data/backends/api/MockSubtopicService.kt → ...id/testing/network/MockSubtopicService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...oid/data/backends/api/MockTopicService.kt → ...droid/testing/network/MockTopicService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters