Move ExceptionRule up to FlowTestCase

This removes a much larger number of independent field defs.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135846921
This commit is contained in:
mcilwain 2016-10-11 15:07:12 -07:00 committed by Ben McIlwain
parent a500812a91
commit cfbf62ef4e
6 changed files with 4 additions and 25 deletions

View file

@ -30,17 +30,12 @@ import google.registry.flows.session.LoginFlow.TooManyFailedLoginsException;
import google.registry.flows.session.LoginFlow.UnsupportedLanguageException;
import google.registry.model.registrar.Registrar;
import google.registry.model.registrar.Registrar.State;
import google.registry.testing.ExceptionRule;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
/** Unit tests for {@link LoginFlow}. */
public abstract class LoginFlowTestCase extends FlowTestCase<LoginFlow> {
@Rule
public final ExceptionRule thrown = new ExceptionRule();
Registrar registrar;
Registrar.Builder registrarBuilder;