mirror of
https://github.com/google/nomulus.git
synced 2025-07-24 11:38:35 +02:00
Rename all testdata loading files to conform to a single naming scheme
The scheme is: - loadBytes: returns a ByteSource of the data - loadFile: returns a string using UTF8 encoding, optionally applying substitutions ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=177606406
This commit is contained in:
parent
ebfa27b3ad
commit
b8970bfe1b
94 changed files with 428 additions and 449 deletions
|
@ -15,6 +15,7 @@
|
|||
package google.registry.rde.imports;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
import static google.registry.rde.imports.RdeImportsTestData.loadBytes;
|
||||
import static google.registry.testing.DatastoreHelper.createTld;
|
||||
import static google.registry.testing.DatastoreHelper.persistActiveContact;
|
||||
|
||||
|
@ -49,11 +50,10 @@ import org.junit.runners.JUnit4;
|
|||
@RunWith(JUnit4.class)
|
||||
public class RdeDomainReaderTest {
|
||||
|
||||
private static final ByteSource DEPOSIT_1_DOMAIN = RdeImportsTestData.get("deposit_1_domain.xml");
|
||||
private static final ByteSource DEPOSIT_3_DOMAIN = RdeImportsTestData.get("deposit_3_domain.xml");
|
||||
private static final ByteSource DEPOSIT_4_DOMAIN = RdeImportsTestData.get("deposit_4_domain.xml");
|
||||
private static final ByteSource DEPOSIT_10_DOMAIN =
|
||||
RdeImportsTestData.get("deposit_10_domain.xml");
|
||||
private static final ByteSource DEPOSIT_1_DOMAIN = loadBytes("deposit_1_domain.xml");
|
||||
private static final ByteSource DEPOSIT_3_DOMAIN = loadBytes("deposit_3_domain.xml");
|
||||
private static final ByteSource DEPOSIT_4_DOMAIN = loadBytes("deposit_4_domain.xml");
|
||||
private static final ByteSource DEPOSIT_10_DOMAIN = loadBytes("deposit_10_domain.xml");
|
||||
private static final String IMPORT_BUCKET_NAME = "rde-import";
|
||||
private static final String IMPORT_FILE_NAME = "escrow-file.xml";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue