From e2483bc28a61cfa76cf48cda646b49170e1bc4c8 Mon Sep 17 00:00:00 2001 From: hellertang Date: Mon, 16 May 2022 17:33:48 +0800 Subject: [PATCH] rename testcases --- ..._source_tc_dnats.go => data_source_tc_nat_gateway_trules.go} | 0 ..._dnats_test.go => data_source_tc_nat_gateway_trules_test.go} | 2 +- .../{resource_tc_dnat.go => resource_tc_nat_gateway_trule.go} | 0 ...ce_tc_dnat_test.go => resource_tc_nat_gateway_trule_test.go} | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename tencentcloud/{data_source_tc_dnats.go => data_source_tc_nat_gateway_trules.go} (100%) rename tencentcloud/{data_source_tc_dnats_test.go => data_source_tc_nat_gateway_trules_test.go} (96%) rename tencentcloud/{resource_tc_dnat.go => resource_tc_nat_gateway_trule.go} (100%) rename tencentcloud/{resource_tc_dnat_test.go => resource_tc_nat_gateway_trule_test.go} (98%) diff --git a/tencentcloud/data_source_tc_dnats.go b/tencentcloud/data_source_tc_nat_gateway_trules.go similarity index 100% rename from tencentcloud/data_source_tc_dnats.go rename to tencentcloud/data_source_tc_nat_gateway_trules.go diff --git a/tencentcloud/data_source_tc_dnats_test.go b/tencentcloud/data_source_tc_nat_gateway_trules_test.go similarity index 96% rename from tencentcloud/data_source_tc_dnats_test.go rename to tencentcloud/data_source_tc_nat_gateway_trules_test.go index a19fa2355c..860102cf99 100644 --- a/tencentcloud/data_source_tc_dnats_test.go +++ b/tencentcloud/data_source_tc_nat_gateway_trules_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/helper/resource" ) -func TestAccTencentCloudDataSourceDnatsBase(t *testing.T) { +func TestAccTencentCloudNatGatewayTransRuleDataSource(t *testing.T) { t.Parallel() resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, diff --git a/tencentcloud/resource_tc_dnat.go b/tencentcloud/resource_tc_nat_gateway_trule.go similarity index 100% rename from tencentcloud/resource_tc_dnat.go rename to tencentcloud/resource_tc_nat_gateway_trule.go diff --git a/tencentcloud/resource_tc_dnat_test.go b/tencentcloud/resource_tc_nat_gateway_trule_test.go similarity index 98% rename from tencentcloud/resource_tc_dnat_test.go rename to tencentcloud/resource_tc_nat_gateway_trule_test.go index 2107e9e5fb..48df6f4494 100644 --- a/tencentcloud/resource_tc_dnat_test.go +++ b/tencentcloud/resource_tc_nat_gateway_trule_test.go @@ -11,7 +11,7 @@ import ( "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper" ) -func TestAccTencentCloudDnat_basic(t *testing.T) { +func TestAccTencentCloudNatGatewayTransRule_basic(t *testing.T) { t.Parallel() var dnatId string