Tidy up ExpandrecurringBillingEventsAction

Per nickfelt's suggestion on []
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=127193451
This commit is contained in:
ctingue 2016-07-12 06:27:53 -07:00 committed by Ben McIlwain
parent 7b9752c99d
commit 2caba95d28
10 changed files with 12 additions and 41 deletions

View file

@ -26,11 +26,11 @@ import com.google.common.io.CharStreams;
import google.registry.keyring.api.Keyring;
import google.registry.testing.BouncyCastleProviderRule;
import google.registry.testing.GpgSystemCommandRule;
import google.registry.testing.ShardableTestCase;
import org.bouncycastle.openpgp.PGPPublicKey;
import org.joda.time.DateTime;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.theories.DataPoints;
import org.junit.experimental.theories.Theories;
import org.junit.experimental.theories.Theory;
@ -47,7 +47,7 @@ import java.io.OutputStream;
/** GnuPG integration tests for {@link Ghostryde}. */
@RunWith(Theories.class)
@SuppressWarnings("resource")
public class GhostrydeGpgIntegrationTest {
public class GhostrydeGpgIntegrationTest extends ShardableTestCase {
@Rule
public final BouncyCastleProviderRule bouncy = new BouncyCastleProviderRule();
@ -170,7 +170,4 @@ public class GhostrydeGpgIntegrationTest {
return value;
}
}
@Test public void makeShardingWork1() {}
@Test public void makeShardingWork2() {}
}

View file

@ -27,6 +27,7 @@ import google.registry.model.registrar.RegistrarAddress;
import google.registry.testing.AppEngineRule;
import google.registry.testing.FakeClock;
import google.registry.testing.InjectRule;
import google.registry.testing.ShardableTestCase;
import google.registry.xjc.rderegistrar.XjcRdeRegistrar;
import google.registry.xjc.rderegistrar.XjcRdeRegistrarAddrType;
import google.registry.xjc.rderegistrar.XjcRdeRegistrarPostalInfoEnumType;
@ -49,7 +50,7 @@ import java.io.ByteArrayOutputStream;
* some exceptional conditions.
*/
@RunWith(JUnit4.class)
public class RegistrarToXjcConverterTest {
public class RegistrarToXjcConverterTest extends ShardableTestCase {
@Rule
public final AppEngineRule appEngine = AppEngineRule.builder()
@ -147,6 +148,4 @@ public class RegistrarToXjcConverterTest {
public void testMarshal() throws Exception {
marshalStrict(RegistrarToXjcConverter.convert(registrar), new ByteArrayOutputStream(), UTF_8);
}
@Test public void makeShardingWork1() {}
}

View file

@ -27,13 +27,13 @@ import google.registry.keyring.api.Keyring;
import google.registry.testing.BouncyCastleProviderRule;
import google.registry.testing.GpgSystemCommandRule;
import google.registry.testing.Providers;
import google.registry.testing.ShardableTestCase;
import google.registry.util.FormattingLogger;
import org.bouncycastle.openpgp.PGPKeyPair;
import org.bouncycastle.openpgp.PGPPublicKey;
import org.joda.time.DateTime;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.theories.DataPoints;
import org.junit.experimental.theories.Theories;
import org.junit.experimental.theories.Theory;
@ -51,7 +51,7 @@ import java.io.OutputStream;
/** GPG combinatorial integration tests for the Ryde classes. */
@RunWith(Theories.class)
@SuppressWarnings("resource")
public class RydeGpgIntegrationTest {
public class RydeGpgIntegrationTest extends ShardableTestCase {
private static final FormattingLogger logger = FormattingLogger.getLoggerForCallerClass();
@ -281,7 +281,4 @@ public class RydeGpgIntegrationTest {
return value;
}
}
@Test public void makeShardingWork1() {}
@Test public void makeShardingWork2() {}
}