google-nomulus/javatests/google/registry/testing
guyben c25f765fc5 Set the MIME type BEFORE the payload
When we set the payload, it is converted to bytes using the response's
character set. Changing the MIME type later has no effect on the conversion
to bytes, even though it does change the returned MIME type. This results in
bytes that were encoded using one character set while the response reports a
different character set.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=196258752
2018-05-17 21:52:35 -04:00
..
mapreduce Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
sftp Rationalize logging statements across codebase 2018-01-19 14:56:45 -05:00
testdata Refactor RdeKeyringModule into FakeKeyringModule 2017-03-21 14:53:25 -04:00
AbstractDomainBaseSubject.java Replace FailureStrategy with FailureMetadata in gtld's Subjects 2017-11-21 18:39:45 -05:00
AbstractEppResourceSubject.java Mark actualCustomStringRepresentation() as @ForOverride. 2018-02-20 15:46:53 -05:00
AppEngineRule.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
BouncyCastleProviderRule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BUILD Add MOE equivalency for 2018-04-23 sync 2018-05-17 21:52:35 -04:00
CertificateSamples.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ContactResourceSubject.java Replace FailureStrategy with FailureMetadata in gtld's Subjects 2017-11-21 18:39:45 -05:00
DatastoreHelper.java Add an EPP lifecycle test verifying that EAP fees are not refunded 2017-12-27 11:29:07 -05:00
default_premium_list_testdata.csv Don't allow duplicates in premium/reserved lists 2017-02-27 11:17:58 -05:00
DeterministicStringGenerator.java Create GenerateAllocationTokens nomulus tool command 2018-01-19 14:26:56 -05:00
DomainApplicationSubject.java Remove unnecessary Objects.equals() call on collections 2017-12-13 12:43:45 -05:00
DomainResourceSubject.java Replace FailureStrategy with FailureMetadata in gtld's Subjects 2017-11-21 18:39:45 -05:00
EppExceptionSubject.java Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
EppLoader.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
EppMetricSubject.java Replace FailureStrategy with FailureMetadata in gtld's Subjects 2017-11-21 18:39:45 -05:00
FailAnswer.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FakeClock.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FakeHttpSession.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FakeJsonResponse.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FakeKeyringModule.java Move tests to use TestDataHelper for reading resources 2018-04-10 16:43:17 -04:00
FakeLockHandler.java Create an injectable LockHandler 2017-09-12 15:51:50 -04:00
FakeOAuthService.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
FakeResponse.java Set the MIME type BEFORE the payload 2018-05-17 21:52:35 -04:00
FakeServletInputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FakeServletOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FakeSleeper.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FakeURLFetchService.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
FakeUserService.java Daggerize XsrfTokenManager 2017-02-22 11:43:10 -05:00
ForwardingURLFetchService.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FullFieldsTestEntityHelper.java Replace 'referralUrl' with 'url' in WHOIS responses 2018-05-05 23:32:40 -04:00
GcsTestingUtils.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GenericEppResourceSubject.java Replace FailureStrategy with FailureMetadata in gtld's Subjects 2017-11-21 18:39:45 -05:00
GoldenFileTestHelper.java Move all testdata reads to use TestDataHelper, and made tests more fluent 2018-04-10 16:57:55 -04:00
GpgSystemCommandRule.java Respect system TMPDIR in GPG related tests 2018-02-20 15:57:41 -05:00
HistoryEntrySubject.java Mark actualCustomStringRepresentation() as @ForOverride. 2018-02-20 15:46:53 -05:00
HostResourceSubject.java Replace FailureStrategy with FailureMetadata in gtld's Subjects 2017-11-21 18:39:45 -05:00
InjectRule.java Remove references to Eclipse 2018-03-19 18:45:41 -04:00
IoSpyRule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Lazies.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
logging.properties Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
LogsSubject.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
MockitoJUnitRule.java Migrate away fully from MockitoJUnitRunner 2018-04-10 17:01:04 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Providers.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
ReflectiveFieldExtractor.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ShardableTestCase.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
SlurpAnswer.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
SystemInfo.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
SystemPropertyRule.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
TaskQueueHelper.java Make async flow logic handle missing client transaction IDs 2018-05-05 23:21:55 -04:00
TestDataHelper.java Move tests to use TestDataHelper for reading resources 2018-04-10 16:43:17 -04:00
TestLogHandlerUtils.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
TestObject.java Add @VirtualEntity checking to Ofy's deleteWithoutBackup() 2017-02-08 17:31:07 -05:00
TruthChainer.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UriParameters.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UserInfo.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00