google-nomulus/javatests/google/registry/testing
weiminyu 75add42a1b Restore original System Properties after tests
Many registry tools tests modify system properties but do not
restore them to original state. These tests must be isolated
from each other and cannot share the same test execution process.

This has a huge impact on test performance under Gradle, which
seems to have higher process startup overhead. Current Gradle
test config has to set 'forEvery' to 1, i.e., every test class
must be run in a freshly started process.

This change significantly reduces the number of tests that need
isolation, making it easier to optimize test config for the
remaining tests.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=221350284
2018-11-14 11:57:23 -05:00
..
mapreduce Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
sftp [CL 2 of 3] Update apache mina library from v1_6_0 to v2_1_0 2018-10-08 16:59:29 -04: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 Migrate callers of Truth's Subject.failWithRawMessage to Subject.failWithoutActual 2018-08-10 13:44:25 -04:00
AppEngineRule.java Remove [] handling in AppEngineRule 2018-09-20 11:19:36 -04:00
BouncyCastleProviderRule.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
BUILD Move GCP proxy code to the old [] proxy's location 2018-09-20 11:19:36 -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 Allow admin to set AllowedTlds in RegistrarSettingsAction 2018-10-25 14:43:54 -04:00
default_premium_list_testdata.csv Add premium support to nomulus create_domain command 2018-06-06 15:11:44 -04: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 Stop exporting EPP flow metrics to BigQuery 2018-10-08 16:59:29 -04:00
FailAnswer.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
FakeClock.java Make our Clock util Serializable 2018-06-27 15:28:52 -04: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 Add GenerateSpec11Action and SafeBrowsing evaluation 2018-08-10 13:46:48 -04:00
FakeLockHandler.java Create an injectable LockHandler 2017-09-12 15:51:50 -04:00
FakeOAuthService.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04: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 Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
FakeSleeper.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FakeURLFetchService.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04: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 RDAP: Add registrar entities to nameserver query results 2018-09-08 00:08:29 -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 Delete all Braintree code 2018-07-14 01:37:03 -04:00
GpgSystemCommandRule.java Fix bugs exposed by testing with Gradle 2018-10-17 11:44:41 -04: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
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
ReflectiveFieldExtractor.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ShardableTestCase.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
SlurpAnswer.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
SystemInfo.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
SystemPropertyRule.java Restore original System Properties after tests 2018-11-14 11:57:23 -05:00
TaskQueueHelper.java Remove more unnecessary "throws" declarations 2018-06-27 15:28:52 -04:00
TestDataHelper.java Fix bugs exposed by testing with Gradle 2018-10-17 11:44:41 -04:00
TestLogHandlerUtils.java Add asynchronous scheduled actions to re-save entities 2018-06-27 15:28:52 -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