diff --git a/utility/src/main/java/org/oppia/android/util/logging/BUILD.bazel b/utility/src/main/java/org/oppia/android/util/logging/BUILD.bazel index fec6137a9b5..de80cc82f38 100644 --- a/utility/src/main/java/org/oppia/android/util/logging/BUILD.bazel +++ b/utility/src/main/java/org/oppia/android/util/logging/BUILD.bazel @@ -117,6 +117,7 @@ kt_android_library( ], deps = [ "//model/src/main/proto:event_logger_java_proto_lite", + "//third_party:javax_inject_javax_inject", ], ) diff --git a/utility/src/test/java/org/oppia/android/util/logging/BUILD.bazel b/utility/src/test/java/org/oppia/android/util/logging/BUILD.bazel index b9c05cfff87..b13132c35ce 100644 --- a/utility/src/test/java/org/oppia/android/util/logging/BUILD.bazel +++ b/utility/src/test/java/org/oppia/android/util/logging/BUILD.bazel @@ -112,3 +112,18 @@ oppia_android_test( "//utility/src/main/java/org/oppia/android/util/networking:debug_module", ], ) + +oppia_android_test( + name = "EventTypeToHumanReadableNameConverterTest", + srcs = ["EventTypeToHumanReadableNameConverterTest.kt"], + custom_package = "org.oppia.android.util.logging", + test_class = "org.oppia.android.util.logging.EventTypeToHumanReadableNameConverterTest", + test_manifest = "//utility:test_manifest", + deps = [ + "//:dagger", + "//testing", + "//third_party:androidx_test_ext_junit", + "//third_party:com_google_truth_truth", + "//third_party:org_robolectric_robolectric", + "//third_party:robolectric_android-all", + ], \ No newline at end of file