mirror of
https://github.com/google/nomulus.git
synced 2025-08-05 01:11:50 +02:00
Standardize test methods to be prefixed with "test"
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=131176866
This commit is contained in:
parent
52bb8a5773
commit
8f0f701ff7
9 changed files with 43 additions and 46 deletions
|
@ -26,14 +26,11 @@ import org.junit.runners.JUnit4;
|
|||
@RunWith(JUnit4.class)
|
||||
public class TmchCrlTest {
|
||||
|
||||
@Rule
|
||||
public final AppEngineRule appEngine = AppEngineRule.builder()
|
||||
.withDatastore()
|
||||
.build();
|
||||
@Rule public final AppEngineRule appEngine = AppEngineRule.builder().withDatastore().build();
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("null")
|
||||
public void success() throws Exception {
|
||||
public void testSuccess() throws Exception {
|
||||
assertThat(TmchCrl.get()).isNull();
|
||||
TmchCrl.set("lolcat");
|
||||
assertThat(TmchCrl.get().getCrl()).isEqualTo("lolcat");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue