From ea4572b4b5d49d74b4d1c325129f5a197125d28f Mon Sep 17 00:00:00 2001 From: Ben McIlwain Date: Thu, 13 Jul 2017 05:43:41 -0700 Subject: [PATCH] Add missing @Test, @Before, or @After annotations to JUnit4 test, setUp, or tearDown methods; reduce the visibility of test helper methods to prevent them from being confused for tests; and/or add @Ignore to purposely disabled tests. This paves the way for [] which expands the set of classes Blaze will check for possible test methods that are not properly annotated. For more details and FAQs please see: [] Tested: TAP --sample for global presubmit queue [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=161795590 --- javatests/google/registry/tools/SetupOteCommandTest.java | 1 + .../registry/tools/UploadClaimsListCommandTest.java | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/javatests/google/registry/tools/SetupOteCommandTest.java b/javatests/google/registry/tools/SetupOteCommandTest.java index c1d80c282..c7c11067b 100644 --- a/javatests/google/registry/tools/SetupOteCommandTest.java +++ b/javatests/google/registry/tools/SetupOteCommandTest.java @@ -169,6 +169,7 @@ public class SetupOteCommandTest extends CommandTestCase { verifyRegistrarCreation("blobio-4", "blobio-ga", passwords.get(3), ipAddresses); } + @Test public void testSuccess_alternatePremiumList() throws Exception { runCommandForced( "--ip_whitelist=1.1.1.1", diff --git a/javatests/google/registry/tools/UploadClaimsListCommandTest.java b/javatests/google/registry/tools/UploadClaimsListCommandTest.java index 341ba2a91..938a601fd 100644 --- a/javatests/google/registry/tools/UploadClaimsListCommandTest.java +++ b/javatests/google/registry/tools/UploadClaimsListCommandTest.java @@ -44,6 +44,7 @@ public class UploadClaimsListCommandTest extends CommandTestCase