Skip to content

Move InteractionObjectTestBuilder to a main-level testing library #2143

@BenHenning

Description

@BenHenning

InteractionObjectTestBuilder is a non-test file under the test directory. Test utilities should be in a testing directory under main, not test, or be in the dedicated testing module.

This issue can be resolved by moving this file to package org.oppia.android.app.player.state.testing.

  • All usages must have the imports updated(automatically done by Android Studio).
  • Ktlint formatting check java -jar ../oppia-android-tools/ktlint -F --android domain/src/**/*.kt utility/src/**/*.kt data/src/**/*.kt app/src/**/*.kt testing/src/**/*.kt scripts/src/**/*.kt instrumentation/src/**/*.kt should be run to ensure unused imports are removed, and imports are ordered correctly.
  • Tests using this util should build correctly in Bazel.

Metadata

Metadata

Labels

Impact: LowLow perceived user impact (e.g. edge cases).Issue: Needs ClarificationIndicates that an issue needs more detail in order to be able to be acted upon.Work: LowSolution is clear and broken into good-first-issue-sized chunks.Z-ibtTemporary label for Ben to keep track of issues he's triaged.enhancementEnd user-perceivable enhancements.good first issueThis item is good for new contributors to make their pull request.

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions