google-nomulus/javatests/google/registry/tools
mmuller 25d03f239c Allow "encapsulated output" from the shell command
Since the ConsoleReader now controls the display of the prompt, there is no
longer any way for an external program interacting with the nomulus shell to
recognize when the last command issued has been completed.

To remedy this, we introduce an "--encapsulate_output" flag, which causes
standard output and standard error to be wrapped in a class that precedes
all normal lines of output with a prefix ("out: " or "err: ", accordingly)
and allows the command processor to insert a "SUCCESS" or "FAILURE"
line (with no special prefix) after completing the processing of a
command.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=196702338
2018-05-17 21:52:35 -04:00
..
params Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
server Move tests to use TestDataHelper for reading resources 2018-04-10 16:43:17 -04:00
testdata Move EPP XML testdata to server/testdata 2017-07-12 11:03:50 -04:00
AllocateDomainCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
AuthModuleTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
BUILD Add //third_party/java/jaxb dependency to targets using javax.xml.bind 2018-01-23 16:18:35 -05:00
CheckDomainClaimsCommandTest.java Fix verb order in nomulus tool domain check commands 2018-04-10 17:04:07 -04:00
CheckDomainCommandTest.java Fix verb order in nomulus tool domain check commands 2018-04-10 17:04:07 -04:00
CheckDomainFeeCommandTest.java Fix verb order in nomulus tool domain check commands 2018-04-10 17:04:07 -04:00
CommandTestCase.java Migrate away fully from MockitoJUnitRunner 2018-04-10 17:01:04 -04:00
ComparableEntityTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
CompareDbBackupsTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
CountDomainsCommandTest.java Add nomulus count_domains command 2018-05-05 23:37:11 -04:00
CreateAnchorTenantCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
CreateCdnsTldTest.java Migrate away fully from MockitoJUnitRunner 2018-04-10 17:01:04 -04:00
CreateContactCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
CreateCreditBalanceCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
CreateCreditCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
CreateDomainCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
CreateHostCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
CreateLrpTokensCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
CreateOrUpdatePremiumListCommandTestCase.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
CreateOrUpdateReservedListCommandTestCase.java Move tests to use TestDataHelper for reading resources 2018-04-10 16:43:17 -04:00
CreatePremiumListCommandTest.java Move tests to use TestDataHelper for reading resources 2018-04-10 16:43:17 -04:00
CreateRegistrarCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
CreateRegistrarGroupsCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
CreateReservedListCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
CreateTldCommandTest.java Add sharded DNS publishing capability 2018-03-06 19:14:26 -05:00
DefaultRequestFactoryModuleTest.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
DeleteCreditCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
DeleteDomainCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
DeleteEntityCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DeleteHostCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
DeletePremiumListCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
DeleteReservedListCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
DeleteTldCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
DomainApplicationInfoCommandTest.java Don't prompt to confirm non-mutating nomulus EPP tool commands 2018-04-10 16:53:18 -04:00
EncryptEscrowDepositCommandTest.java Move tests to use TestDataHelper for reading resources 2018-04-10 16:43:17 -04:00
EppToolCommandTest.java Don't prompt to confirm non-mutating nomulus EPP tool commands 2018-04-10 16:53:18 -04:00
EppToolCommandTestCase.java Refactor EppToolVerifier to accept chaining verify commands 2017-12-01 22:14:06 -05:00
EppToolVerifier.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
ExecuteEppCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
GenerateAllocationTokensCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
GenerateAuctionDataCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GenerateDnsReportCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
GenerateEscrowDepositCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
GetApplicationCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GetApplicationIdsCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
GetClaimsListCommandTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
GetContactCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GetDomainCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GetHistoryEntriesCommandTest.java Fix NPE in GetHistoryEntriesCommand 2017-10-24 16:53:47 -04:00
GetHostCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GetLrpTokenCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
GetRegistrarCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
GetResourceByKeyCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
GetSchemaTreeCommandTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
GetTldCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GhostrydeCommandTest.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
LevelDbFileBuilder.java Implement compare_db_backups "main" 2017-09-20 10:27:17 -04:00
LevelDbFileBuilderTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
LevelDbLogReaderTest.java Create an entity record accumulator 2017-09-12 15:51:50 -04:00
LevelDbUtil.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
ListCursorsCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
ListDomainsCommandTest.java Migrate away fully from MockitoJUnitRunner 2018-04-10 17:01:04 -04:00
ListHostsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListObjectsCommandTestCase.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
ListPremiumListsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListRegistrarsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListReservedListsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListTldsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
LoadTestCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
LockDomainCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
MutatingCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
MutatingEppToolCommandTest.java Don't prompt to confirm non-mutating nomulus EPP tool commands 2018-04-10 16:53:18 -04:00
NonMutatingEppToolCommandTest.java Don't prompt to confirm non-mutating nomulus EPP tool commands 2018-04-10 16:53:18 -04:00
RecordAccumulatorTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
RegistrarContactCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
RegistryToolEnvironmentTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
RegistryToolTest.java Add a "shell" pseudo-command to nomulus tool 2018-03-19 18:22:01 -04:00
ResaveEntitiesCommandTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
ResaveEnvironmentEntitiesCommandTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
ResaveEppResourcesCommandTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
RestoreCommitLogsCommandTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
SetupOteCommandTest.java Allow cert hash and fix array out of bound problem in OT&E command 2018-03-19 18:20:30 -04:00
ShellCommandTest.java Allow "encapsulated output" from the shell command 2018-05-17 21:52:35 -04:00
UniformRapidSuspensionCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
UnlockDomainCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
UpdateApplicationStatusCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
UpdateClaimsNoticeCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
UpdateCursorsCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
UpdateDomainCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
UpdatePremiumListCommandTest.java Move tests to use TestDataHelper for reading resources 2018-04-10 16:43:17 -04:00
UpdateRegistrarCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
UpdateReservedListCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
UpdateServerLocksCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
UpdateSmdCommandTest.java Move tests to use TestDataHelper for reading resources 2018-04-10 16:43:17 -04:00
UpdateTldCommandTest.java Add sharded DNS publishing capability 2018-03-06 19:14:26 -05:00
UploadClaimsListCommandTest.java Make return value of ClaimsListShard.getClaimKey() Optional 2018-03-06 19:15:52 -05:00
ValidateEscrowDepositCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
ValidateLoginCredentialsCommandTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
VerifyOteCommandTest.java Change dash to underscore in param name for consistency 2018-04-02 16:36:50 -04:00