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

Fix #2239: Added Missing tests in BUILD.bazel #2240

Merged
merged 2 commits into from
Dec 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
224 changes: 224 additions & 0 deletions domain/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,69 @@ domain_test(
deps = TEST_DEPS,
)

domain_test(
name = "NumericInputIsGreaterThanOrEqualToRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/numericinput/NumericInputIsGreaterThanOrEqualToRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.numericinput.NumericInputIsGreaterThanOrEqualToRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "NumericInputIsGreaterThanRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/numericinput/NumericInputIsGreaterThanRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.numericinput.NumericInputIsGreaterThanRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "NumericInputIsInclusivelyBetweenRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/numericinput/NumericInputIsInclusivelyBetweenRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.numericinput.NumericInputIsInclusivelyBetweenRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "NumericInputIsLessThanOrEqualToRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/numericinput/NumericInputIsLessThanOrEqualToRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.numericinput.NumericInputIsLessThanOrEqualToRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "NumericInputIsLessThanRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/numericinput/NumericInputIsLessThanRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.numericinput.NumericInputIsLessThanRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "NumericInputIsWithinToleranceRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/numericinput/NumericInputIsWithinToleranceRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.numericinput.NumericInputIsWithinToleranceRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "RatioInputEqualsRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/ratioinput/RatioInputEqualsRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.ratioinput.RatioInputEqualsRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "RatioInputHasNumberOfTermsEqualToClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/ratioinput/RatioInputHasNumberOfTermsEqualToClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.ratioinput.RatioInputHasNumberOfTermsEqualToClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "RatioInputIsEquivalentRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/ratioinput/RatioInputIsEquivalentRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.ratioinput.RatioInputIsEquivalentRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "DragDropSortInputHasElementXAtPositionYRuleClassifierProviderTest",
srcs = [
Expand Down Expand Up @@ -102,6 +165,69 @@ domain_test(
deps = TEST_DEPS,
)

domain_test(
name = "FractionInputHasDenominatorEqualToRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/fractioninput/FractionInputHasDenominatorEqualToRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.fractioninput.FractionInputHasDenominatorEqualToRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "FractionInputHasFractionalPartExactlyEqualToRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/fractioninput/FractionInputHasFractionalPartExactlyEqualToRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.fractioninput.FractionInputHasFractionalPartExactlyEqualToRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "FractionInputHasIntegerPartEqualToRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/fractioninput/FractionInputHasIntegerPartEqualToRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.fractioninput.FractionInputHasIntegerPartEqualToRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "FractionInputHasNoFractionalPartRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/fractioninput/FractionInputHasNoFractionalPartRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.fractioninput.FractionInputHasNoFractionalPartRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "FractionInputHasNumeratorEqualToRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/fractioninput/FractionInputHasNumeratorEqualToRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.fractioninput.FractionInputHasNumeratorEqualToRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "FractionInputIsEquivalentToRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/fractioninput/FractionInputIsEquivalentToRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.fractioninput.FractionInputIsEquivalentToRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "FractionInputIsExactlyEqualToRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/fractioninput/FractionInputIsExactlyEqualToRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.fractioninput.FractionInputIsExactlyEqualToRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "FractionInputIsGreaterThanRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/fractioninput/FractionInputIsGreaterThanRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.fractioninput.FractionInputIsGreaterThanRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "FractionInputIsLessThanRuleClassifierProviderTest",
srcs = ["src/test/java/org/oppia/android/domain/classify/rules/fractioninput/FractionInputIsLessThanRuleClassifierProviderTest.kt"],
test_class = "org.oppia.android.domain.classify.rules.fractioninput.FractionInputIsLessThanRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "ImageClickInputIsInRegionRuleClassifierProviderTest",
srcs = [
Expand All @@ -111,6 +237,24 @@ domain_test(
deps = TEST_DEPS,
)

domain_test(
name = "ItemSelectionInputContainsAtLeastOneOfRuleClassifierProviderTest",
srcs = [
"src/test/java/org/oppia/android/domain/classify/rules/itemselectioninput/ItemSelectionInputContainsAtLeastOneOfRuleClassifierProviderTest.kt",
],
test_class = "org.oppia.android.domain.classify.rules.itemselectioninput.ItemSelectionInputContainsAtLeastOneOfRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "ItemsSelectionInputEqualsRuleClassifierProviderTest",
srcs = [
"src/test/java/org/oppia/android/domain/classify/rules/itemselectioninput/ItemsSelectionInputEqualsRuleClassifierProviderTest.kt",
],
test_class = "org.oppia.android.domain.classify.rules.itemselectioninput.ItemsSelectionInputEqualsRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "MultipleChoiceInputEqualsRuleClassifierProviderTest",
srcs = [
Expand All @@ -120,6 +264,33 @@ domain_test(
deps = TEST_DEPS,
)

domain_test(
name = "NumberWithUnitsIsEqualToRuleClassifierProviderTest",
srcs = [
"src/test/java/org/oppia/android/domain/classify/rules/numberwithunits/NumberWithUnitsIsEqualToRuleClassifierProviderTest.kt",
],
test_class = "org.oppia.android.domain.classify.rules.numberwithunits.NumberWithUnitsIsEqualToRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "NumberWithUnitsIsEquivalentToRuleClassifierProviderTest",
srcs = [
"src/test/java/org/oppia/android/domain/classify/rules/numberwithunits/NumberWithUnitsIsEquivalentToRuleClassifierProviderTest.kt",
],
test_class = "org.oppia.android.domain.classify.rules.numberwithunits.NumberWithUnitsIsEquivalentToRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "TextInputCaseSensitiveEqualsRuleClassifierProviderTest",
srcs = [
"src/test/java/org/oppia/android/domain/classify/rules/textinput/TextInputCaseSensitiveEqualsRuleClassifierProviderTest.kt",
],
test_class = "org.oppia.android.domain.classify.rules.textinput.TextInputCaseSensitiveEqualsRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "TextInputContainsRuleClassifierProviderTest",
srcs = [
Expand All @@ -138,6 +309,24 @@ domain_test(
deps = TEST_DEPS,
)

domain_test(
name = "TextInputFuzzyEqualsRuleClassifierProviderTest",
srcs = [
"src/test/java/org/oppia/android/domain/classify/rules/textinput/TextInputFuzzyEqualsRuleClassifierProviderTest.kt",
],
test_class = "org.oppia.android.domain.classify.rules.textinput.TextInputFuzzyEqualsRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "TextInputStartsWithRuleClassifierProviderTest",
srcs = [
"src/test/java/org/oppia/android/domain/classify/rules/textinput/TextInputStartsWithRuleClassifierProviderTest.kt",
],
test_class = "org.oppia.android.domain.classify.rules.textinput.TextInputStartsWithRuleClassifierProviderTest",
deps = TEST_DEPS,
)

domain_test(
name = "ExplorationDataControllerTest",
srcs = ["src/test/java/org/oppia/android/domain/exploration/ExplorationDataControllerTest.kt"],
Expand Down Expand Up @@ -166,6 +355,27 @@ domain_test(
deps = TEST_DEPS,
)

domain_test(
name = "UncaughtExceptionLoggerStartupListenerTest",
srcs = ["src/test/java/org/oppia/android/domain/oppialogger/exceptions/UncaughtExceptionLoggerStartupListenerTest.kt"],
test_class = "org.oppia.android.domain.oppialogger.exceptions.UncaughtExceptionLoggerStartupListenerTest",
deps = TEST_DEPS,
)

domain_test(
name = "LogUploadWorkerTest",
srcs = ["src/test/java/org/oppia/android/domain/oppialogger/loguploader/LogUploadWorkerTest.kt"],
test_class = "org.oppia.android.domain.oppialogger.loguploader.LogUploadWorkerTest",
deps = TEST_DEPS,
)

domain_test(
name = "OppiaLoggerTest",
srcs = ["src/test/java/org/oppia/android/domain/oppialogger/OppiaLoggerTest.kt"],
test_class = "org.oppia.android.domain.oppialogger.OppiaLoggerTest",
deps = TEST_DEPS,
)

domain_test(
name = "ProfileManagementControllerTest",
srcs = ["src/test/java/org/oppia/android/domain/profile/ProfileManagementControllerTest.kt"],
Expand Down Expand Up @@ -222,11 +432,25 @@ domain_test(
deps = TEST_DEPS,
)

domain_test(
name = "RatioExtensionsTest",
srcs = ["src/test/java/org/oppia/android/domain/util/RatioExtensionsTest.kt"],
test_class = "org.oppia.android.domain.util.RatioExtensionsTest",
deps = TEST_DEPS,
)

domain_test(
name = "StateRetrieverTest",
srcs = ["src/test/java/org/oppia/android/domain/util/StateRetrieverTest.kt"],
test_class = "org.oppia.android.domain.util.StateRetrieverTest",
deps = TEST_DEPS,
)

domain_test(
name = "StringExtensionsTest",
srcs = ["src/test/java/org/oppia/android/domain/util/StringExtensionsTest.kt"],
test_class = "org.oppia.android.domain.util.StringExtensionsTest",
deps = TEST_DEPS,
)

dagger_rules()