Skip to content

Commit

Permalink
[mockito] remove/normalize scalatestplus:mockito-3-3
Browse files Browse the repository at this point in the history
Problem / Solution

`3rdparty/jvm/org/scalatestplus:mockito-3-3` is an alias to
`3rdparty/jvm/org/scalatestplus:mockito` (which itself a reference to
`3rdparty/src/jvm/org/scalatestplus/mockito`).

This confuses people since they are all the same.
Continue to normalize the dependencies.

JIRA Issues: DEAD-3

Differential Revision: https://phabricator.twitter.biz/D939691
  • Loading branch information
grimreaper authored and jenkins committed Jul 22, 2022
1 parent d486a7d commit 0b11e3a
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion util-app/src/test/scala/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ junit_tests(
"3rdparty/jvm/org/mockito:mockito-core",
"3rdparty/jvm/org/scalatest",
"3rdparty/jvm/org/scalatestplus:junit",
"3rdparty/jvm/org/scalatestplus:mockito-3-3",
"3rdparty/jvm/org/scalatestplus:mockito",
"util/util-app/src/main/scala",
"util/util-app/src/test/resources",
"util/util-core:util-core-util",
Expand Down
2 changes: 1 addition & 1 deletion util-cache/src/test/scala/com/twitter/cache/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ junit_tests(
"3rdparty/jvm/org/mockito:mockito-core",
"3rdparty/jvm/org/scalatest",
"3rdparty/jvm/org/scalatestplus:junit",
"3rdparty/jvm/org/scalatestplus:mockito-3-3",
"3rdparty/jvm/org/scalatestplus:mockito",
"util/util-cache/src/main/scala/com/twitter/cache",
"util/util-cache/src/main/scala/com/twitter/cache/caffeine",
"util/util-core:util-core-util",
Expand Down
2 changes: 1 addition & 1 deletion util-cache/src/test/scala/com/twitter/cache/caffeine/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ junit_tests(
"3rdparty/jvm/org/mockito:mockito-core",
"3rdparty/jvm/org/scalatest",
"3rdparty/jvm/org/scalatestplus:junit",
"3rdparty/jvm/org/scalatestplus:mockito-3-3",
"3rdparty/jvm/org/scalatestplus:mockito",
"util/util-cache/src/main/scala/com/twitter/cache",
"util/util-cache/src/main/scala/com/twitter/cache/caffeine",
"util/util-cache/src/test/scala/com/twitter/cache:abstract_tests",
Expand Down
2 changes: 1 addition & 1 deletion util-core/src/test/scala/com/twitter/concurrent/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ junit_tests(
"3rdparty/jvm/org/scalacheck",
"3rdparty/jvm/org/scalatest",
"3rdparty/jvm/org/scalatestplus:junit",
"3rdparty/jvm/org/scalatestplus:mockito-3-3",
"3rdparty/jvm/org/scalatestplus:mockito",
"3rdparty/jvm/org/scalatestplus:scalacheck",
"util/util-core:util-core-util",
"util/util-core/src/main/scala/com/twitter/concurrent",
Expand Down
2 changes: 1 addition & 1 deletion util-core/src/test/scala/com/twitter/io/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ junit_tests(
"3rdparty/jvm/org/scalacheck",
"3rdparty/jvm/org/scalatest",
"3rdparty/jvm/org/scalatestplus:junit",
"3rdparty/jvm/org/scalatestplus:mockito-3-3",
"3rdparty/jvm/org/scalatestplus:mockito",
"3rdparty/jvm/org/scalatestplus:scalacheck",
"util/util-core:util-core-util",
"util/util-core/src/main/scala/com/twitter/concurrent",
Expand Down
2 changes: 1 addition & 1 deletion util-core/src/test/scala/com/twitter/util/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ junit_tests(
"3rdparty/jvm/org/scalacheck",
"3rdparty/jvm/org/scalatest",
"3rdparty/jvm/org/scalatestplus:junit",
"3rdparty/jvm/org/scalatestplus:mockito-3-3",
"3rdparty/jvm/org/scalatestplus:mockito",
"3rdparty/jvm/org/scalatestplus:scalacheck",
"util/util-core:util-core-util",
"util/util-core/src/main/scala/com/twitter/conversions",
Expand Down
2 changes: 1 addition & 1 deletion util-jvm/src/test/scala/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ COMMON_DEPS = [
"3rdparty/jvm/junit",
"3rdparty/jvm/org/mockito:mockito-core",
"3rdparty/jvm/org/scalatest",
"3rdparty/jvm/org/scalatestplus:mockito-3-3",
"3rdparty/jvm/org/scalatestplus:mockito",
"util/util-app/src/main/scala",
"util/util-core:util-core-util",
"util/util-jvm/src/main/scala/com/twitter/jvm",
Expand Down
2 changes: 1 addition & 1 deletion util-lint/src/test/scala/com/twitter/util/lint/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ junit_tests(
"3rdparty/jvm/org/mockito:mockito-core",
"3rdparty/jvm/org/scalatest",
"3rdparty/jvm/org/scalatestplus:junit",
"3rdparty/jvm/org/scalatestplus:mockito-3-3",
"3rdparty/jvm/org/scalatestplus:mockito",
"util/util-lint/src/main/scala/com/twitter/util/lint",
],
)
2 changes: 1 addition & 1 deletion util-registry/src/test/scala/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ junit_tests(
"3rdparty/jvm/org/mockito:mockito-core",
"3rdparty/jvm/org/scalatest",
"3rdparty/jvm/org/scalatestplus:junit",
"3rdparty/jvm/org/scalatestplus:mockito-3-3",
"3rdparty/jvm/org/scalatestplus:mockito",
"util/util-registry/src/main/scala/com/twitter/util/registry",
],
)
2 changes: 1 addition & 1 deletion util-routing/src/test/scala/com/twitter/util/routing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ junit_tests(
"3rdparty/jvm/org/mockito:mockito-core",
"3rdparty/jvm/org/scalatest",
"3rdparty/jvm/org/scalatestplus:junit",
"3rdparty/jvm/org/scalatestplus:mockito-3-3",
"3rdparty/jvm/org/scalatestplus:mockito",
"util/util-routing/src/main/scala/com/twitter/util/routing",
"util/util-routing/src/test/scala/com/twitter/util/routing/dynamic",
"util/util-routing/src/test/scala/com/twitter/util/routing/simple",
Expand Down
2 changes: 1 addition & 1 deletion util-zk/src/test/scala/com/twitter/zk/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ junit_tests(
"3rdparty/jvm/org/mockito:mockito-core",
"3rdparty/jvm/org/scalatest",
"3rdparty/jvm/org/scalatestplus:junit",
"3rdparty/jvm/org/scalatestplus:mockito-3-3",
"3rdparty/jvm/org/scalatestplus:mockito",
"util/util-core:util-core-util",
"util/util-core/src/main/scala/com/twitter/conversions",
"util/util-logging/src/main/scala/com/twitter/logging",
Expand Down
2 changes: 1 addition & 1 deletion util-zk/src/test/scala/com/twitter/zk/coordination/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ junit_tests(
"3rdparty/jvm/org/mockito:mockito-core",
"3rdparty/jvm/org/scalatest",
"3rdparty/jvm/org/scalatestplus:junit",
"3rdparty/jvm/org/scalatestplus:mockito-3-3",
"3rdparty/jvm/org/scalatestplus:mockito",
"util/util-core:util-core-util",
"util/util-core/src/main/scala/com/twitter/conversions",
"util/util-zk/src/main/scala/com/twitter/zk",
Expand Down

0 comments on commit 0b11e3a

Please sign in to comment.