forked from oppia/oppia-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved BUILD and test files to see if the affected tests retrive the c…
…orresponding files in the right way The tests would fail as I haven't yet modified the import packages
- Loading branch information
Showing
6 changed files
with
69 additions
and
41 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
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
38 changes: 19 additions & 19 deletions
38
scripts/src/java/org/oppia/android/scripts/coverage/reporter/BUILD.bazel
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,19 +1,19 @@ | ||
""" | ||
Library corresponding to developer scripts that generates coverage reports with the coverage data. | ||
""" | ||
|
||
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kt_jvm_library") | ||
|
||
kt_jvm_library( | ||
name = "coverage_reporter_lib", | ||
testonly = True, | ||
srcs = [ | ||
"CoverageReporter.kt", | ||
], | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"//scripts/src/java/org/oppia/android/scripts/common:bazel_client", | ||
"//scripts/src/java/org/oppia/android/scripts/proto:coverage_java_proto", | ||
"//scripts/src/java/org/oppia/android/scripts/proto:script_exemptions_java_proto", | ||
], | ||
) | ||
#""" | ||
#Library corresponding to developer scripts that generates coverage reports with the coverage data. | ||
#""" | ||
# | ||
#load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kt_jvm_library") | ||
# | ||
#kt_jvm_library( | ||
# name = "coverage_reporter_lib", | ||
# testonly = True, | ||
# srcs = [ | ||
# "CoverageReporter.kt", | ||
# ], | ||
# visibility = ["//visibility:public"], | ||
# deps = [ | ||
# "//scripts/src/java/org/oppia/android/scripts/common:bazel_client", | ||
# "//scripts/src/java/org/oppia/android/scripts/proto:coverage_java_proto", | ||
# "//scripts/src/java/org/oppia/android/scripts/proto:script_exemptions_java_proto", | ||
# ], | ||
#) |
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
File renamed without changes.
38 changes: 19 additions & 19 deletions
38
scripts/src/javatests/org/oppia/android/scripts/coverage/reporter/BUILD.bazel
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,19 +1,19 @@ | ||
""" | ||
Tests corresponding to developer scripts that help with obtaining coverage data for test targets. | ||
""" | ||
|
||
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_test") | ||
|
||
kt_jvm_test( | ||
name = "CoverageReporterTest", | ||
srcs = ["CoverageReporterTest.kt"], | ||
test_class = "org.oppia.android.scripts.coverage.reporter.CoverageReporterTest", | ||
deps = [ | ||
"//scripts:test_file_check_assets", | ||
"//scripts/src/java/org/oppia/android/scripts/coverage/reporter:coverage_reporter_lib", | ||
"//scripts/src/java/org/oppia/android/scripts/proto:script_exemptions_java_proto", | ||
"//testing:assertion_helpers", | ||
"//third_party:com_google_truth_truth", | ||
"//third_party:org_jetbrains_kotlin_kotlin-test-junit", | ||
], | ||
) | ||
#""" | ||
#Tests corresponding to developer scripts that help with obtaining coverage data for test targets. | ||
#""" | ||
# | ||
#load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_test") | ||
# | ||
#kt_jvm_test( | ||
# name = "CoverageReporterTest", | ||
# srcs = ["CoverageReporterTest.kt"], | ||
# test_class = "org.oppia.android.scripts.coverage.reporter.CoverageReporterTest", | ||
# deps = [ | ||
# "//scripts:test_file_check_assets", | ||
# "//scripts/src/java/org/oppia/android/scripts/coverage/reporter:coverage_reporter_lib", | ||
# "//scripts/src/java/org/oppia/android/scripts/proto:script_exemptions_java_proto", | ||
# "//testing:assertion_helpers", | ||
# "//third_party:com_google_truth_truth", | ||
# "//third_party:org_jetbrains_kotlin_kotlin-test-junit", | ||
# ], | ||
#) |