mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Fix verb order in nomulus tool domain check commands
This makes them consistent with every other command, which uses the format verb_noun. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=192301468
This commit is contained in:
parent
183dae6e80
commit
0923c89981
7 changed files with 18 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2017 The Nomulus Authors. All Rights Reserved.
|
// Copyright 2018 The Nomulus Authors. All Rights Reserved.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
@ -24,7 +24,7 @@ import java.util.List;
|
||||||
|
|
||||||
/** A command to execute a domain check claims epp command. */
|
/** A command to execute a domain check claims epp command. */
|
||||||
@Parameters(separators = " =", commandDescription = "Check claims on domain(s)")
|
@Parameters(separators = " =", commandDescription = "Check claims on domain(s)")
|
||||||
final class DomainCheckClaimsCommand extends NonMutatingEppToolCommand {
|
final class CheckDomainClaimsCommand extends NonMutatingEppToolCommand {
|
||||||
|
|
||||||
@Parameter(
|
@Parameter(
|
||||||
names = {"-c", "--client"},
|
names = {"-c", "--client"},
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2017 The Nomulus Authors. All Rights Reserved.
|
// Copyright 2018 The Nomulus Authors. All Rights Reserved.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
@ -24,7 +24,7 @@ import java.util.List;
|
||||||
|
|
||||||
/** A command to execute a domain check epp command. */
|
/** A command to execute a domain check epp command. */
|
||||||
@Parameters(separators = " =", commandDescription = "Check domain availability")
|
@Parameters(separators = " =", commandDescription = "Check domain availability")
|
||||||
final class DomainCheckCommand extends NonMutatingEppToolCommand {
|
final class CheckDomainCommand extends NonMutatingEppToolCommand {
|
||||||
|
|
||||||
@Parameter(
|
@Parameter(
|
||||||
names = {"-c", "--client"},
|
names = {"-c", "--client"},
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2017 The Nomulus Authors. All Rights Reserved.
|
// Copyright 2018 The Nomulus Authors. All Rights Reserved.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
@ -24,7 +24,7 @@ import java.util.List;
|
||||||
|
|
||||||
/** A command to execute a domain check fees epp command. */
|
/** A command to execute a domain check fees epp command. */
|
||||||
@Parameters(separators = " =", commandDescription = "Check domain fees (for a 1-year create)")
|
@Parameters(separators = " =", commandDescription = "Check domain fees (for a 1-year create)")
|
||||||
final class DomainCheckFeeCommand extends NonMutatingEppToolCommand {
|
final class CheckDomainFeeCommand extends NonMutatingEppToolCommand {
|
||||||
|
|
||||||
@Parameter(
|
@Parameter(
|
||||||
names = {"-c", "--client"},
|
names = {"-c", "--client"},
|
|
@ -31,6 +31,9 @@ public final class RegistryTool {
|
||||||
new ImmutableMap.Builder<String, Class<? extends Command>>()
|
new ImmutableMap.Builder<String, Class<? extends Command>>()
|
||||||
.put("allocate_domain", AllocateDomainCommand.class)
|
.put("allocate_domain", AllocateDomainCommand.class)
|
||||||
.put("canonicalize_labels", CanonicalizeLabelsCommand.class)
|
.put("canonicalize_labels", CanonicalizeLabelsCommand.class)
|
||||||
|
.put("check_domain", CheckDomainCommand.class)
|
||||||
|
.put("check_domain_claims", CheckDomainClaimsCommand.class)
|
||||||
|
.put("check_domain_fee", CheckDomainFeeCommand.class)
|
||||||
.put("check_snapshot", CheckSnapshotCommand.class)
|
.put("check_snapshot", CheckSnapshotCommand.class)
|
||||||
.put("convert_idn", ConvertIdnCommand.class)
|
.put("convert_idn", ConvertIdnCommand.class)
|
||||||
.put("create_anchor_tenant", CreateAnchorTenantCommand.class)
|
.put("create_anchor_tenant", CreateAnchorTenantCommand.class)
|
||||||
|
@ -56,9 +59,6 @@ public final class RegistryTool {
|
||||||
.put("delete_tld", DeleteTldCommand.class)
|
.put("delete_tld", DeleteTldCommand.class)
|
||||||
.put("deploy_invoicing_pipeline", DeployInvoicingPipelineCommand.class)
|
.put("deploy_invoicing_pipeline", DeployInvoicingPipelineCommand.class)
|
||||||
.put("domain_application_info", DomainApplicationInfoCommand.class)
|
.put("domain_application_info", DomainApplicationInfoCommand.class)
|
||||||
.put("domain_check", DomainCheckCommand.class)
|
|
||||||
.put("domain_check_claims", DomainCheckClaimsCommand.class)
|
|
||||||
.put("domain_check_fee", DomainCheckFeeCommand.class)
|
|
||||||
.put("encrypt_escrow_deposit", EncryptEscrowDepositCommand.class)
|
.put("encrypt_escrow_deposit", EncryptEscrowDepositCommand.class)
|
||||||
.put("execute_epp", ExecuteEppCommand.class)
|
.put("execute_epp", ExecuteEppCommand.class)
|
||||||
.put("generate_allocation_tokens", GenerateAllocationTokensCommand.class)
|
.put("generate_allocation_tokens", GenerateAllocationTokensCommand.class)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2017 The Nomulus Authors. All Rights Reserved.
|
// Copyright 2018 The Nomulus Authors. All Rights Reserved.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
@ -19,8 +19,8 @@ import static google.registry.testing.JUnitBackports.assertThrows;
|
||||||
import com.beust.jcommander.ParameterException;
|
import com.beust.jcommander.ParameterException;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
/** Unit tests for {@link DomainCheckClaimsCommand}. */
|
/** Unit tests for {@link CheckDomainClaimsCommand}. */
|
||||||
public class DomainCheckClaimsCommandTest extends EppToolCommandTestCase<DomainCheckClaimsCommand> {
|
public class CheckDomainClaimsCommandTest extends EppToolCommandTestCase<CheckDomainClaimsCommand> {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSuccess() throws Exception {
|
public void testSuccess() throws Exception {
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2017 The Nomulus Authors. All Rights Reserved.
|
// Copyright 2018 The Nomulus Authors. All Rights Reserved.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
@ -19,8 +19,8 @@ import static google.registry.testing.JUnitBackports.assertThrows;
|
||||||
import com.beust.jcommander.ParameterException;
|
import com.beust.jcommander.ParameterException;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
/** Unit tests for {@link DomainCheckCommand}. */
|
/** Unit tests for {@link CheckDomainCommand}. */
|
||||||
public class DomainCheckCommandTest extends EppToolCommandTestCase<DomainCheckCommand> {
|
public class CheckDomainCommandTest extends EppToolCommandTestCase<CheckDomainCommand> {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSuccess() throws Exception {
|
public void testSuccess() throws Exception {
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2017 The Nomulus Authors. All Rights Reserved.
|
// Copyright 2018 The Nomulus Authors. All Rights Reserved.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
@ -19,8 +19,8 @@ import static google.registry.testing.JUnitBackports.assertThrows;
|
||||||
import com.beust.jcommander.ParameterException;
|
import com.beust.jcommander.ParameterException;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
/** Unit tests for {@link DomainCheckFeeCommand}. */
|
/** Unit tests for {@link CheckDomainFeeCommand}. */
|
||||||
public class DomainCheckFeeCommandTest extends EppToolCommandTestCase<DomainCheckFeeCommand> {
|
public class CheckDomainFeeCommandTest extends EppToolCommandTestCase<CheckDomainFeeCommand> {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSuccess() throws Exception {
|
public void testSuccess() throws Exception {
|
Loading…
Add table
Add a link
Reference in a new issue