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

Fixes #4098: Added tests for ComparableOperationSubjectTest #5673

Merged
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
643a5f5
Added tests for ComparableOperationSubjectTest
Jan 27, 2025
f76bb9b
Merge branch 'develop' into comparable-operation-subject-test
theayushyadav11 Jan 28, 2025
90bf370
Merge branch 'develop' into comparable-operation-subject-test
theayushyadav11 Jan 30, 2025
3d07473
renamed functions
Jan 31, 2025
bc06ff3
formatting
Jan 31, 2025
fd9a6b0
Merge branch 'develop' into comparable-operation-subject-test
theayushyadav11 Jan 31, 2025
c709b96
Merge branch 'develop' into comparable-operation-subject-test
theayushyadav11 Feb 9, 2025
27c2893
Merge remote-tracking branch 'origin/develop' into comparable-operati…
Feb 11, 2025
a1b3e3f
Merge branch 'develop' into comparable-operation-subject-test
theayushyadav11 Feb 11, 2025
52cba3e
Merge remote-tracking branch 'origin/comparable-operation-subject-tes…
Feb 11, 2025
3f84a1c
resolved mergr conflicts
Feb 11, 2025
e713843
Merge branch 'develop' into comparable-operation-subject-test
theayushyadav11 Feb 13, 2025
287ac52
Merge branch 'develop' into comparable-operation-subject-test
theayushyadav11 Feb 18, 2025
b21df85
added buildifier
Feb 11, 2025
588c209
some cleanup
Feb 18, 2025
850a4b3
removed buildifier
Feb 18, 2025
903048d
Merge branch 'develop' into comparable-operation-subject-test
theayushyadav11 Feb 19, 2025
0637e38
Merge branch 'develop' into comparable-operation-subject-test
theayushyadav11 Feb 20, 2025
101b1e6
Merge branch 'develop' into comparable-operation-subject-test
theayushyadav11 Feb 20, 2025
4b0df4e
Merge branch 'develop' into comparable-operation-subject-test
theayushyadav11 Feb 24, 2025
2262291
cleanup
Feb 24, 2025
c993269
Merge branch 'develop' into comparable-operation-subject-test
theayushyadav11 Feb 24, 2025
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
4 changes: 0 additions & 4 deletions scripts/assets/test_file_exemptions.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -4098,10 +4098,6 @@ test_file_exemption {
exempted_file_path: "testing/src/main/java/org/oppia/android/testing/logging/SyncStatusTestModule.kt"
override_min_coverage_percent_required: 0
}
test_file_exemption {
exempted_file_path: "testing/src/main/java/org/oppia/android/testing/math/ComparableOperationSubject.kt"
test_file_not_required: true
}
test_file_exemption {
exempted_file_path: "testing/src/main/java/org/oppia/android/testing/math/MathParsingErrorSubject.kt"
test_file_not_required: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import org.oppia.android.app.model.ComparableOperation.ComparisonTypeCase
import org.oppia.android.app.model.Real
import org.oppia.android.testing.math.RealSubject.Companion.assertThat

// TODO(#4098): Add tests for this class.

/**
* Truth subject for verifying properties of [ComparableOperation]s.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,19 @@ oppia_android_test(
"//third_party:robolectric_android-all",
],
)

oppia_android_test(
name = "ComparableOperationSubjectTest",
srcs = ["ComparableOperationSubjectTest.kt"],
custom_package = "org.oppia.android.testing.math",
test_class = "org.oppia.android.testing.math.ComparableOperationSubjectTest",
test_manifest = "//testing:test_manifest",
deps = [
"//model/src/main/proto:math_java_proto_lite",
"//testing/src/main/java/org/oppia/android/testing/math:comparable_operation_subject",
"//testing/src/main/java/org/oppia/android/testing/robolectric:test_module",
"//third_party:com_google_truth_truth",
"//third_party:junit_junit",
"//third_party:robolectric_android-all",
],
)
Loading
Loading