Skip to content
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

updating my fork #4

Merged
merged 94 commits into from
Dec 23, 2020
Merged

updating my fork #4

merged 94 commits into from
Dec 23, 2020

Conversation

chrk2205
Copy link
Owner

Explanation

Checklist

  • The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • The PR explanation includes the words "Fixes #bugnum: ..." (or "Fixes part of #bugnum" if the PR only partially fixes an issue).
  • The PR follows the style guide.
  • The PR does not contain any unnecessary auto-generated code from Android Studio.
  • The PR is made from a branch that's not called "develop".
  • The PR is made from a branch that is up-to-date with "develop".
  • The PR's branch is based on "develop" and not on any other branch.
  • The PR is assigned to an appropriate reviewer in both the Assignees and the Reviewers sections.

chrk2205 and others added 30 commits October 29, 2020 02:31
* commit 1

* commit 2

* commit 3
Test Case Added

* commit 4
nit changes
* fixed code under ratioInputPackage

* removed access specifer from interationObjectTestBuilder
* Fix #2037: file formatting under multiplechoiceinput package

Removed the oneline functions to segregate the initialisation logic in the starting of file

* Edits suggested by @anandwana001

* Edits of Indentation and Renamed Variables

* Edits for changed variable names

* Corrected the failing lint check
* {{Fix #1892: Thoroughly test FractionInputIsEquivalentToRuleClassifier}}

* {{Fix #1892: Thoroughly test FractionInputIsEquivalentToRuleClassifier}}

* {{Fix #1892: Thoroughly test FractionInputIsEquivalentToRuleClassifier}}

* {{Fix #1892: Thoroughly test FractionInputIsEquivalentToRuleClassifier}}

* {{Fix #1892: Thoroughly test FractionInputIsEquivalentToRuleClassifier}}

* {{Fix #1892: Thoroughly test FractionInputIsEquivalentToRuleClassifier}}

* {{Fixes #1892: Thoroughly test FractionInputIsEquivalentToRuleClassifier
}}

* {{Fixes #1892: Thoroughly test FractionInputIsEquivalentToRuleClassifier}}

* {{Fixes #1892: Thoroughly test FractionInputIsEquivalentToRuleClassifier}}

* {{Fixes #1892: Thoroughly test FractionInputIsEquivalentToRuleClassifier}}

* {{Fixes #1892: Thoroughly test FractionInputIsEquivalentToRuleClassifier}}

* {{Fixes #1892: Format FractionInputIsEquivalentToRuleClassifier}}

* {{Fixes #1892: Format FractionInputIsEquivalentToRuleClassifier}}

* Test Updated

* Test updated

* Unnecessary functions removed

* Unnecessary functions removed

* Additional text added

* Typos Corrected

* Typos Corrected

* Removed TODO

* Lines updated

Co-authored-by: pecpaker <[email protected]>
* fix WalkthroughFinalFragmentTest for robolectric

* remove todo

* fix WalkthroughTopicListFragmentTest for robolectric

* Fix WalkthroughWelcomeFragmentTest for robolectric

* fix ktlint issue
* Fix ProfileRenameActivityTest for Robolectric

* added top level comment
#2074)

* Fix few TopicRevisionFragmentTest for robolectric

* nit fix
…eClassifier (#2042)

* tests for numberwithunits

* removed To-Do

* updates

* changed accordingly

* changed variable names

* removed some files

* updates

* more functions

* more tests

* changed names

* added kdocs

* changed names

* kdocs changed

* changes

* spaces

* changed the names

* spaces(2)
…ric (#2084)

* Fix AdministratorControlsActivityTest for robolectric

* nit change
* Fix ExplorationActivityLocalTest for robolectric

* unused var removed

* todo remove
)

* Remove injected TestCoroutineDispatchers if not in use

* Remove unused imports

* Update with required changes

* Remove unused import
* removed bang bang operator in NetworkInterceptor.kt and used let for null check

* renamed it to responseBody for higher order function
* Fixes #2040: Reformating files under TextInput Package

* Fixing for lint check

* Suggested Renaming Variables Edits

* Changed Variable Names in TextInputContainsRuleClassifierProviderTest.kt

* Renaming Variables

* Commit for lint issues

* Renaming variables in TextInputStartsWithRuleClassifierProviderTest
* Last Update

* Fix #1957: Optimise codes in profile_chooser_profile_view
Fixes part of #2003
This PR replaces the use of space_80dp with the dimensions having
contextful names.
Fixes part of #2003
This PR replaces the use of space_72dp with dimensions having contextful names
…24dp (#2110)

* Fixes part of #2003

This PR replaces the use of elevation_0dp , elevation_4dp and
space_224dp with the dimensions of contextful names.

* Hardcoding 0dp where needed
…ted answer is too long (#1923)

* test answer tick

* test on recyclerview

* revert recyclerview changes

* add maxWidth

* fixed major part of bug

* fix bug for portrait layout

* add binding adapter

* try fixing new bug

* try fixing errors

* fix extra space when answer is incorrect

* fix reviewed changes

* fix nit change

* annotated binding function with proper annotations

* fix error in BUILD.bazel

* fix all checks

* fix bug for all layouts

* fixed suggested changes

* update guideline name

* fix failing checks

* add tests case

* add test

* fix tickicontest

* tried adding a complete test

* Try removing Linearlayout

* corrected errors in testcase

* corrected errors in testcase

* tried adding position assertion

* resolved merge conflicts successfully

* removed LinearLayout from portrait phone layout

* fix test case

* try adding position assertion

* fixed test case for phone portrait-layout

* removed LinearLayout from all the layouts

* fix suggested changes

* fix reviewed changes

* fixed nit changes

* fixed errors in landscape and tablet layouts

* fixed nit

* add new case to test

* update test case

* move test case to QuestionPlayerActivityTest.kt

* fix reviewed changes

* fix suggested changes

* fix nits

* fix nits

* remove extra line

* Added TODOs and RunOn(ESPRESSO) annotation

* fix lint errors

* fix nits

* fix nits
Fixes part of #2003
This PR replaces the use of space_48dp and space_36dp with the
dimensions having contextful names.
* Fix Part of #2003: Replacing space_64dp

Fixes part of #2003
This PR replaces the use of space_64dp with the dimensions of having
contextful names

* Failing test
…leClassifier (#2073)

* Created a test for ItemSelectionInputContainsAtLeastOneOfRuleClassifierProvider

* Fixed lint errors

* Fixed lint errors(2)

* Added tests for more than one element and an empty set test

* Fixed lint error.

* Added function from InteractionObjectTestBuilder

* Moved function to the Builder class.
BenHenning and others added 29 commits December 2, 2020 19:26
Remove extra '>' in drawer_close_content_description. This seems wrong--it doesn't add anything, and I'm not even sure if TalkBack will read this correctly with the symbol present.
* RTL support for completed_story_item.xml

* reverting the removed onClick attribute

* RTL support for TopicPractice tab

* Reformating xml

* resolving requested changes

* Added space before closing tag

* fixing #2202
* add rtl to topic_info

* added rtl

* changed 1 story to Story 1
…2211)

* Fix #2035: Update file formatting under dragAndDropSortInput package

* Fix lint issues

* Fix lint issues

* Update with required changes

* Update with required changes
* fixes delete profile in tablet

* ktlint approval changes

* Resolving requested changes

* removing unused variables

* Resolving requested changes

* avoiding ktlint disable max line
* Optimize admin_auth_activity.xml

* resolving requested changes
…ofile_list.xml file) (#2199)

* RTL Support for ongoing_topic_item

Added RTL Support in the ongoing_topic_item

* Update Project.xml

* Update Project.xml

* RTL support Profile List

* Update Project.xml

* Update build.gradle

* Update gradle-wrapper.properties

* Update gradle-wrapper.properties
…IsEquivalentToRuleClassifierProviderTest (#2221)

* Update so test names and numbers match what is tested

* Update so test names and numbers match what is tested

* Rename test to fit line limit

* Add test for equivalent mixed num & fraction, clarify test naming, remove redundant tests

* Shorten test name
* fix ProfileChooserFragmentTest for robolectric test

* nit fix

* removed e2e test, shifted to other issue

* shift span test to ProfileChooserSpanTest

* undo gradle.xml

* make tests more readable

* added observer in profile test helper

* nit fix

* fix 2 test case

* kdocs formatting

* fix kdocs

* kdocs fix
* Added Missing tests in BUILD.bazel

* resolving bazel build CI
* Intent Key Checks ProfileChooserFragmentTest.kt

* resolving ktlint checks

* Resolving requested changes

* avoiding max line limit
* checking one test case

* adding ben's solution

* added a test

* nit fix

* removed ktlint char length disable

* nit fix naming

* rename file and function
This file comes from #1904. We need it to simplify Bazel build commands locally (bazelrc lets us automatically add arguments to certain commands like build to make it easier to type the commands in CLI locally). This file will also be used by Android Studio when using the Android Studio-with-Bazel plugin.
* Migrate getTopicList() to DataProvider.

TopicListController.getTopicList() was just a LiveData before, and this
disallows us from leveraging other DataProviders tools. Plus, the
general pattern now is for all asynchronous data in controllers to be
given as DataProviders.

* Fix broken reference to nav drawer test.

* Add .bazelrc

This file comes from #1904. We need it to simplify Bazel build commands locally (bazelrc lets us automatically add arguments to certain commands like build to make it easier to type the commands in CLI locally). This file will also be used by Android Studio when using the Android Studio-with-Bazel plugin.

* Fix broken tests.

These new syncs are needed since we're no longer using an immediate
LiveData for the topic list--background threads need to be sync'd
against the UI.
…RuleClassifierProvider (#2222)

* Add tests for FractionInputIsEquivalentToAndInSimplestFormRuleClassifierProvider

* Add test to check that equal but not simplest form is false

* Fix linter issues

* Specify Truth.assertThat import

* Add test case for correct input / answer types

* Add test to bazel build

* Fix typo, add FractionInput tests to bazel build

* Resolve merge conflicts
…meLayout. (#2242)

* Remove orientation attribute from ConstraintLayout and FrameLayout.

* Remove orientation from tags that don't need it.

* Add missing angle bracket.
…RuleClassifierProvider (#2243)

* Add tests for ItemSelectionInputDoesNotContainAtLeastOneOfRuleClassifierProvider.

* Add additional tests and rename variables.
* Fix part of #2132

* Fix part of #2132

* Fix part of #2132

* Fix part of #2132

* Fix part of #2132

* Fix part of #2132

* Fix part of #2132

* Pass a ChapterSummary object as a prerequisite to unlock this chapter.
Remove blurring thumbnails of inactive cards - this change will be done separately.

* Added tests.

* Added tests.

* Set missingPrerequisiteChapter in setFirstChapterAsNotStarted function.

* Add a UI-facing test.

* Add more test coverage for a completed chapter.

* Move landscape test below the portrait one.

* Added long summary test + reformatting.

* Formatting.

* Lint

* Renaming
…the testing module (#2235)

* Shift assertThrows functions in the app module to the testing module

* Shift assertThrows functions in the app module to the testing module

* Update with required changes

* Rearrange imports

* Update docs in AssertionHelpers

* Update documentation

* Update BUILD.bazel
* Update build.gradle

apk split

* Update build.gradle

* Update build.gradle
…assifierProvider.kt (#2244)

* Thoroughly tested ItemSelectionInputIsProperSubsetOfRuleClassifierProvider.kt

* resolving ktlint checks

* resolving ktlint checks

* resolving requested changes

* better variables and more tests

* ktlint checks

* updated false test

* resolving requested changes

* resolving requested changes
…icLessonFragmentTest (#2264)

* fixing crashes

* Resolving requested changes

* fix ktlint check

* Added config change for espresso

* Adding requested tests
… testing module (#2285)

* Fix part of #2234: Shift assertThrows function from utility module to testing module

* Remove dependency on kotlin-reflect
…testing module (#2284)

* Fix part of #2234: Shift assertThrows function in the domain module to testing module

* Fix lint issues

* Remove dependency on kotlin-reflect

* Update according to changes in develop
@chrk2205 chrk2205 merged commit 1a6c261 into chrk2205:develop Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.