diff --git a/internal/plugin/generate.go b/internal/plugin/generate.go index caf0c9f..998ac8a 100644 --- a/internal/plugin/generate.go +++ b/internal/plugin/generate.go @@ -130,7 +130,7 @@ func generateTestAllServices(f *protogen.GeneratedFile, files []File) { f.P("func ", funcName, "(t *", t, ",s ", name, ") {") for _, file := range files { for _, service := range file.services { - name := "Test" + string(service.service.Desc.Name()) + name := "test" + string(service.service.Desc.Name()) f.P(name, "(t, s)") } } diff --git a/internal/plugin/service.go b/internal/plugin/service.go index 2809318..0bb6467 100644 --- a/internal/plugin/service.go +++ b/internal/plugin/service.go @@ -56,7 +56,7 @@ func (s *serviceGenerator) generateMainTestFunction(f *protogen.GeneratedFile) { GoName: "T", GoImportPath: "testing", }) - funcName := "Test" + string(s.service.Desc.Name()) + funcName := "test" + string(s.service.Desc.Name()) f.P("// ", funcName, " is the main entrypoint for starting the AIP tests.") f.P("func ", funcName, "(t *", t, ",s ", serviceTestConfigProviderName(s.service.Desc), ") {") for _, resource := range s.resources { diff --git a/proto/gen/einride/example/freight/v1/aiptest.pb.go b/proto/gen/einride/example/freight/v1/aiptest.pb.go index 9205233..548dbd6 100644 --- a/proto/gen/einride/example/freight/v1/aiptest.pb.go +++ b/proto/gen/einride/example/freight/v1/aiptest.pb.go @@ -13,5 +13,5 @@ type ServiceConfigProviders interface { // TestServices is the main entrypoint for starting the AIP tests for all services. func TestServices(t *testing.T, s ServiceConfigProviders) { - TestFreightService(t, s) + testFreightService(t, s) } diff --git a/proto/gen/einride/example/freight/v1/freight_service_aiptest.pb.go b/proto/gen/einride/example/freight/v1/freight_service_aiptest.pb.go index 28d688b..7a027b9 100644 --- a/proto/gen/einride/example/freight/v1/freight_service_aiptest.pb.go +++ b/proto/gen/einride/example/freight/v1/freight_service_aiptest.pb.go @@ -25,8 +25,8 @@ type FreightServiceTestSuiteConfigProvider interface { FreightServiceSite(t *testing.T) *FreightServiceSiteTestSuiteConfig } -// TestFreightService is the main entrypoint for starting the AIP tests. -func TestFreightService(t *testing.T, s FreightServiceTestSuiteConfigProvider) { +// testFreightService is the main entrypoint for starting the AIP tests. +func testFreightService(t *testing.T, s FreightServiceTestSuiteConfigProvider) { testFreightServiceShipper(t, s) testFreightServiceSite(t, s) } diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/aiptest.pb.go index ef1bd12..275a847 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/aiptest.pb.go @@ -29,21 +29,21 @@ type ServiceConfigProviders interface { // TestServices is the main entrypoint for starting the AIP tests for all services. func TestServices(t *testing.T, s ServiceConfigProviders) { - TestDatasetService(t, s) - TestDeploymentResourcePoolService(t, s) - TestEndpointService(t, s) - TestFeatureOnlineStoreAdminService(t, s) - TestFeaturestoreService(t, s) - TestFeatureRegistryService(t, s) - TestIndexEndpointService(t, s) - TestIndexService(t, s) - TestJobService(t, s) - TestMetadataService(t, s) - TestModelGardenService(t, s) - TestModelService(t, s) - TestPipelineService(t, s) - TestScheduleService(t, s) - TestSpecialistPoolService(t, s) - TestTensorboardService(t, s) - TestVizierService(t, s) + testDatasetService(t, s) + testDeploymentResourcePoolService(t, s) + testEndpointService(t, s) + testFeatureOnlineStoreAdminService(t, s) + testFeaturestoreService(t, s) + testFeatureRegistryService(t, s) + testIndexEndpointService(t, s) + testIndexService(t, s) + testJobService(t, s) + testMetadataService(t, s) + testModelGardenService(t, s) + testModelService(t, s) + testPipelineService(t, s) + testScheduleService(t, s) + testSpecialistPoolService(t, s) + testTensorboardService(t, s) + testVizierService(t, s) } diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/dataset_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/dataset_service_aiptest.pb.go index 575b9a3..f9eca08 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/dataset_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/dataset_service_aiptest.pb.go @@ -32,8 +32,8 @@ type DatasetServiceTestSuiteConfigProvider interface { DatasetServiceSavedQuery(t *testing.T) *DatasetServiceSavedQueryTestSuiteConfig } -// TestDatasetService is the main entrypoint for starting the AIP tests. -func TestDatasetService(t *testing.T, s DatasetServiceTestSuiteConfigProvider) { +// testDatasetService is the main entrypoint for starting the AIP tests. +func testDatasetService(t *testing.T, s DatasetServiceTestSuiteConfigProvider) { testDatasetServiceAnnotation(t, s) testDatasetServiceAnnotationSpec(t, s) testDatasetServiceDataItem(t, s) diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/deployment_resource_pool_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/deployment_resource_pool_service_aiptest.pb.go index d58d308..c0dfc10 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/deployment_resource_pool_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/deployment_resource_pool_service_aiptest.pb.go @@ -20,8 +20,8 @@ type DeploymentResourcePoolServiceTestSuiteConfigProvider interface { DeploymentResourcePoolServiceDeploymentResourcePool(t *testing.T) *DeploymentResourcePoolServiceDeploymentResourcePoolTestSuiteConfig } -// TestDeploymentResourcePoolService is the main entrypoint for starting the AIP tests. -func TestDeploymentResourcePoolService(t *testing.T, s DeploymentResourcePoolServiceTestSuiteConfigProvider) { +// testDeploymentResourcePoolService is the main entrypoint for starting the AIP tests. +func testDeploymentResourcePoolService(t *testing.T, s DeploymentResourcePoolServiceTestSuiteConfigProvider) { testDeploymentResourcePoolServiceDeploymentResourcePool(t, s) } diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/endpoint_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/endpoint_service_aiptest.pb.go index 3688f17..be9f9a7 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/endpoint_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/endpoint_service_aiptest.pb.go @@ -22,8 +22,8 @@ type EndpointServiceTestSuiteConfigProvider interface { EndpointServiceEndpoint(t *testing.T) *EndpointServiceEndpointTestSuiteConfig } -// TestEndpointService is the main entrypoint for starting the AIP tests. -func TestEndpointService(t *testing.T, s EndpointServiceTestSuiteConfigProvider) { +// testEndpointService is the main entrypoint for starting the AIP tests. +func testEndpointService(t *testing.T, s EndpointServiceTestSuiteConfigProvider) { testEndpointServiceEndpoint(t, s) } diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service_aiptest.pb.go index 78d332a..401980b 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service_aiptest.pb.go @@ -26,8 +26,8 @@ type FeatureOnlineStoreAdminServiceTestSuiteConfigProvider interface { FeatureOnlineStoreAdminServiceFeatureViewSync(t *testing.T) *FeatureOnlineStoreAdminServiceFeatureViewSyncTestSuiteConfig } -// TestFeatureOnlineStoreAdminService is the main entrypoint for starting the AIP tests. -func TestFeatureOnlineStoreAdminService(t *testing.T, s FeatureOnlineStoreAdminServiceTestSuiteConfigProvider) { +// testFeatureOnlineStoreAdminService is the main entrypoint for starting the AIP tests. +func testFeatureOnlineStoreAdminService(t *testing.T, s FeatureOnlineStoreAdminServiceTestSuiteConfigProvider) { testFeatureOnlineStoreAdminServiceFeatureOnlineStore(t, s) testFeatureOnlineStoreAdminServiceFeatureView(t, s) testFeatureOnlineStoreAdminServiceFeatureViewSync(t, s) diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/feature_registry_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/feature_registry_service_aiptest.pb.go index 23fc76f..32d042b 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/feature_registry_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/feature_registry_service_aiptest.pb.go @@ -24,8 +24,8 @@ type FeatureRegistryServiceTestSuiteConfigProvider interface { FeatureRegistryServiceFeatureGroup(t *testing.T) *FeatureRegistryServiceFeatureGroupTestSuiteConfig } -// TestFeatureRegistryService is the main entrypoint for starting the AIP tests. -func TestFeatureRegistryService(t *testing.T, s FeatureRegistryServiceTestSuiteConfigProvider) { +// testFeatureRegistryService is the main entrypoint for starting the AIP tests. +func testFeatureRegistryService(t *testing.T, s FeatureRegistryServiceTestSuiteConfigProvider) { testFeatureRegistryServiceFeature(t, s) testFeatureRegistryServiceFeatureGroup(t, s) } diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/featurestore_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/featurestore_service_aiptest.pb.go index 5f5f06a..7709b62 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/featurestore_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/featurestore_service_aiptest.pb.go @@ -26,8 +26,8 @@ type FeaturestoreServiceTestSuiteConfigProvider interface { FeaturestoreServiceFeaturestore(t *testing.T) *FeaturestoreServiceFeaturestoreTestSuiteConfig } -// TestFeaturestoreService is the main entrypoint for starting the AIP tests. -func TestFeaturestoreService(t *testing.T, s FeaturestoreServiceTestSuiteConfigProvider) { +// testFeaturestoreService is the main entrypoint for starting the AIP tests. +func testFeaturestoreService(t *testing.T, s FeaturestoreServiceTestSuiteConfigProvider) { testFeaturestoreServiceEntityType(t, s) testFeaturestoreServiceFeature(t, s) testFeaturestoreServiceFeaturestore(t, s) diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/index_endpoint_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/index_endpoint_service_aiptest.pb.go index 3cb7057..4e76116 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/index_endpoint_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/index_endpoint_service_aiptest.pb.go @@ -22,8 +22,8 @@ type IndexEndpointServiceTestSuiteConfigProvider interface { IndexEndpointServiceIndexEndpoint(t *testing.T) *IndexEndpointServiceIndexEndpointTestSuiteConfig } -// TestIndexEndpointService is the main entrypoint for starting the AIP tests. -func TestIndexEndpointService(t *testing.T, s IndexEndpointServiceTestSuiteConfigProvider) { +// testIndexEndpointService is the main entrypoint for starting the AIP tests. +func testIndexEndpointService(t *testing.T, s IndexEndpointServiceTestSuiteConfigProvider) { testIndexEndpointServiceIndexEndpoint(t, s) } diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/index_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/index_service_aiptest.pb.go index a71c256..b10b208 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/index_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/index_service_aiptest.pb.go @@ -22,8 +22,8 @@ type IndexServiceTestSuiteConfigProvider interface { IndexServiceIndex(t *testing.T) *IndexServiceIndexTestSuiteConfig } -// TestIndexService is the main entrypoint for starting the AIP tests. -func TestIndexService(t *testing.T, s IndexServiceTestSuiteConfigProvider) { +// testIndexService is the main entrypoint for starting the AIP tests. +func testIndexService(t *testing.T, s IndexServiceTestSuiteConfigProvider) { testIndexServiceIndex(t, s) } diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/job_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/job_service_aiptest.pb.go index 3a2d1e6..ae3d023 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/job_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/job_service_aiptest.pb.go @@ -35,8 +35,8 @@ type JobServiceTestSuiteConfigProvider interface { JobServiceNasTrialDetail(t *testing.T) *JobServiceNasTrialDetailTestSuiteConfig } -// TestJobService is the main entrypoint for starting the AIP tests. -func TestJobService(t *testing.T, s JobServiceTestSuiteConfigProvider) { +// testJobService is the main entrypoint for starting the AIP tests. +func testJobService(t *testing.T, s JobServiceTestSuiteConfigProvider) { testJobServiceBatchPredictionJob(t, s) testJobServiceCustomJob(t, s) testJobServiceDataLabelingJob(t, s) diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/metadata_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/metadata_service_aiptest.pb.go index 8e09b91..db74a01 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/metadata_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/metadata_service_aiptest.pb.go @@ -30,8 +30,8 @@ type MetadataServiceTestSuiteConfigProvider interface { MetadataServiceMetadataStore(t *testing.T) *MetadataServiceMetadataStoreTestSuiteConfig } -// TestMetadataService is the main entrypoint for starting the AIP tests. -func TestMetadataService(t *testing.T, s MetadataServiceTestSuiteConfigProvider) { +// testMetadataService is the main entrypoint for starting the AIP tests. +func testMetadataService(t *testing.T, s MetadataServiceTestSuiteConfigProvider) { testMetadataServiceArtifact(t, s) testMetadataServiceContext(t, s) testMetadataServiceExecution(t, s) diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/model_garden_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/model_garden_service_aiptest.pb.go index f756836..857136e 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/model_garden_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/model_garden_service_aiptest.pb.go @@ -19,8 +19,8 @@ type ModelGardenServiceTestSuiteConfigProvider interface { ModelGardenServicePublisherModel(t *testing.T) *ModelGardenServicePublisherModelTestSuiteConfig } -// TestModelGardenService is the main entrypoint for starting the AIP tests. -func TestModelGardenService(t *testing.T, s ModelGardenServiceTestSuiteConfigProvider) { +// testModelGardenService is the main entrypoint for starting the AIP tests. +func testModelGardenService(t *testing.T, s ModelGardenServiceTestSuiteConfigProvider) { testModelGardenServicePublisherModel(t, s) } diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/model_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/model_service_aiptest.pb.go index 020cc0f..a2a86db 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/model_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/model_service_aiptest.pb.go @@ -26,8 +26,8 @@ type ModelServiceTestSuiteConfigProvider interface { ModelServiceModelEvaluationSlice(t *testing.T) *ModelServiceModelEvaluationSliceTestSuiteConfig } -// TestModelService is the main entrypoint for starting the AIP tests. -func TestModelService(t *testing.T, s ModelServiceTestSuiteConfigProvider) { +// testModelService is the main entrypoint for starting the AIP tests. +func testModelService(t *testing.T, s ModelServiceTestSuiteConfigProvider) { testModelServiceModel(t, s) testModelServiceModelEvaluation(t, s) testModelServiceModelEvaluationSlice(t, s) diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/pipeline_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/pipeline_service_aiptest.pb.go index f2fd20b..5a6cb43 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/pipeline_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/pipeline_service_aiptest.pb.go @@ -23,8 +23,8 @@ type PipelineServiceTestSuiteConfigProvider interface { PipelineServiceTrainingPipeline(t *testing.T) *PipelineServiceTrainingPipelineTestSuiteConfig } -// TestPipelineService is the main entrypoint for starting the AIP tests. -func TestPipelineService(t *testing.T, s PipelineServiceTestSuiteConfigProvider) { +// testPipelineService is the main entrypoint for starting the AIP tests. +func testPipelineService(t *testing.T, s PipelineServiceTestSuiteConfigProvider) { testPipelineServicePipelineJob(t, s) testPipelineServiceTrainingPipeline(t, s) } diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/schedule_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/schedule_service_aiptest.pb.go index d672960..e483ef7 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/schedule_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/schedule_service_aiptest.pb.go @@ -23,8 +23,8 @@ type ScheduleServiceTestSuiteConfigProvider interface { ScheduleServiceSchedule(t *testing.T) *ScheduleServiceScheduleTestSuiteConfig } -// TestScheduleService is the main entrypoint for starting the AIP tests. -func TestScheduleService(t *testing.T, s ScheduleServiceTestSuiteConfigProvider) { +// testScheduleService is the main entrypoint for starting the AIP tests. +func testScheduleService(t *testing.T, s ScheduleServiceTestSuiteConfigProvider) { testScheduleServiceSchedule(t, s) } diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/specialist_pool_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/specialist_pool_service_aiptest.pb.go index a92b4f5..0366255 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/specialist_pool_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/specialist_pool_service_aiptest.pb.go @@ -22,8 +22,8 @@ type SpecialistPoolServiceTestSuiteConfigProvider interface { SpecialistPoolServiceSpecialistPool(t *testing.T) *SpecialistPoolServiceSpecialistPoolTestSuiteConfig } -// TestSpecialistPoolService is the main entrypoint for starting the AIP tests. -func TestSpecialistPoolService(t *testing.T, s SpecialistPoolServiceTestSuiteConfigProvider) { +// testSpecialistPoolService is the main entrypoint for starting the AIP tests. +func testSpecialistPoolService(t *testing.T, s SpecialistPoolServiceTestSuiteConfigProvider) { testSpecialistPoolServiceSpecialistPool(t, s) } diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/tensorboard_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/tensorboard_service_aiptest.pb.go index 75e4800..1515745 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/tensorboard_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/tensorboard_service_aiptest.pb.go @@ -29,8 +29,8 @@ type TensorboardServiceTestSuiteConfigProvider interface { TensorboardServiceTensorboardTimeSeries(t *testing.T) *TensorboardServiceTensorboardTimeSeriesTestSuiteConfig } -// TestTensorboardService is the main entrypoint for starting the AIP tests. -func TestTensorboardService(t *testing.T, s TensorboardServiceTestSuiteConfigProvider) { +// testTensorboardService is the main entrypoint for starting the AIP tests. +func testTensorboardService(t *testing.T, s TensorboardServiceTestSuiteConfigProvider) { testTensorboardServiceTensorboard(t, s) testTensorboardServiceTensorboardExperiment(t, s) testTensorboardServiceTensorboardRun(t, s) diff --git a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/vizier_service_aiptest.pb.go b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/vizier_service_aiptest.pb.go index 90d252b..9f1c0ad 100644 --- a/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/vizier_service_aiptest.pb.go +++ b/proto/gen/googleapis/aiplatform/apiv1/aiplatformpb/vizier_service_aiptest.pb.go @@ -23,8 +23,8 @@ type VizierServiceTestSuiteConfigProvider interface { VizierServiceTrial(t *testing.T) *VizierServiceTrialTestSuiteConfig } -// TestVizierService is the main entrypoint for starting the AIP tests. -func TestVizierService(t *testing.T, s VizierServiceTestSuiteConfigProvider) { +// testVizierService is the main entrypoint for starting the AIP tests. +func testVizierService(t *testing.T, s VizierServiceTestSuiteConfigProvider) { testVizierServiceStudy(t, s) testVizierServiceTrial(t, s) } diff --git a/proto/gen/googleapis/area120/tables/apiv1alpha1/tablespb/aiptest.pb.go b/proto/gen/googleapis/area120/tables/apiv1alpha1/tablespb/aiptest.pb.go index ced205a..b792cb5 100644 --- a/proto/gen/googleapis/area120/tables/apiv1alpha1/tablespb/aiptest.pb.go +++ b/proto/gen/googleapis/area120/tables/apiv1alpha1/tablespb/aiptest.pb.go @@ -13,5 +13,5 @@ type ServiceConfigProviders interface { // TestServices is the main entrypoint for starting the AIP tests for all services. func TestServices(t *testing.T, s ServiceConfigProviders) { - TestTablesService(t, s) + testTablesService(t, s) } diff --git a/proto/gen/googleapis/area120/tables/apiv1alpha1/tablespb/tables_aiptest.pb.go b/proto/gen/googleapis/area120/tables/apiv1alpha1/tablespb/tables_aiptest.pb.go index 27fd077..5f6c40a 100644 --- a/proto/gen/googleapis/area120/tables/apiv1alpha1/tablespb/tables_aiptest.pb.go +++ b/proto/gen/googleapis/area120/tables/apiv1alpha1/tablespb/tables_aiptest.pb.go @@ -25,8 +25,8 @@ type TablesServiceTestSuiteConfigProvider interface { TablesServiceWorkspace(t *testing.T) *TablesServiceWorkspaceTestSuiteConfig } -// TestTablesService is the main entrypoint for starting the AIP tests. -func TestTablesService(t *testing.T, s TablesServiceTestSuiteConfigProvider) { +// testTablesService is the main entrypoint for starting the AIP tests. +func testTablesService(t *testing.T, s TablesServiceTestSuiteConfigProvider) { testTablesServiceRow(t, s) testTablesServiceTable(t, s) testTablesServiceWorkspace(t, s) diff --git a/proto/gen/googleapis/gsuiteaddons/apiv1/gsuiteaddonspb/aiptest.pb.go b/proto/gen/googleapis/gsuiteaddons/apiv1/gsuiteaddonspb/aiptest.pb.go index 723642a..fd91e1d 100644 --- a/proto/gen/googleapis/gsuiteaddons/apiv1/gsuiteaddonspb/aiptest.pb.go +++ b/proto/gen/googleapis/gsuiteaddons/apiv1/gsuiteaddonspb/aiptest.pb.go @@ -13,5 +13,5 @@ type ServiceConfigProviders interface { // TestServices is the main entrypoint for starting the AIP tests for all services. func TestServices(t *testing.T, s ServiceConfigProviders) { - TestGSuiteAddOns(t, s) + testGSuiteAddOns(t, s) } diff --git a/proto/gen/googleapis/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons_aiptest.pb.go b/proto/gen/googleapis/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons_aiptest.pb.go index 332e688..225f9fe 100644 --- a/proto/gen/googleapis/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons_aiptest.pb.go +++ b/proto/gen/googleapis/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons_aiptest.pb.go @@ -24,8 +24,8 @@ type GSuiteAddOnsTestSuiteConfigProvider interface { GSuiteAddOnsInstallStatus(t *testing.T) *GSuiteAddOnsInstallStatusTestSuiteConfig } -// TestGSuiteAddOns is the main entrypoint for starting the AIP tests. -func TestGSuiteAddOns(t *testing.T, s GSuiteAddOnsTestSuiteConfigProvider) { +// testGSuiteAddOns is the main entrypoint for starting the AIP tests. +func testGSuiteAddOns(t *testing.T, s GSuiteAddOnsTestSuiteConfigProvider) { testGSuiteAddOnsAuthorization(t, s) testGSuiteAddOnsDeployment(t, s) testGSuiteAddOnsInstallStatus(t, s) diff --git a/proto/gen/googleapis/pubsub/apiv1/pubsubpb/aiptest.pb.go b/proto/gen/googleapis/pubsub/apiv1/pubsubpb/aiptest.pb.go index f8ea744..7d6b1a2 100644 --- a/proto/gen/googleapis/pubsub/apiv1/pubsubpb/aiptest.pb.go +++ b/proto/gen/googleapis/pubsub/apiv1/pubsubpb/aiptest.pb.go @@ -15,7 +15,7 @@ type ServiceConfigProviders interface { // TestServices is the main entrypoint for starting the AIP tests for all services. func TestServices(t *testing.T, s ServiceConfigProviders) { - TestSchemaService(t, s) - TestPublisher(t, s) - TestSubscriber(t, s) + testSchemaService(t, s) + testPublisher(t, s) + testSubscriber(t, s) } diff --git a/proto/gen/googleapis/pubsub/apiv1/pubsubpb/pubsub_aiptest.pb.go b/proto/gen/googleapis/pubsub/apiv1/pubsubpb/pubsub_aiptest.pb.go index f3f9992..10f059b 100644 --- a/proto/gen/googleapis/pubsub/apiv1/pubsubpb/pubsub_aiptest.pb.go +++ b/proto/gen/googleapis/pubsub/apiv1/pubsubpb/pubsub_aiptest.pb.go @@ -20,8 +20,8 @@ type PublisherTestSuiteConfigProvider interface { PublisherTopic(t *testing.T) *PublisherTopicTestSuiteConfig } -// TestPublisher is the main entrypoint for starting the AIP tests. -func TestPublisher(t *testing.T, s PublisherTestSuiteConfigProvider) { +// testPublisher is the main entrypoint for starting the AIP tests. +func testPublisher(t *testing.T, s PublisherTestSuiteConfigProvider) { testPublisherTopic(t, s) } @@ -309,8 +309,8 @@ type SubscriberTestSuiteConfigProvider interface { SubscriberSubscription(t *testing.T) *SubscriberSubscriptionTestSuiteConfig } -// TestSubscriber is the main entrypoint for starting the AIP tests. -func TestSubscriber(t *testing.T, s SubscriberTestSuiteConfigProvider) { +// testSubscriber is the main entrypoint for starting the AIP tests. +func testSubscriber(t *testing.T, s SubscriberTestSuiteConfigProvider) { testSubscriberSnapshot(t, s) testSubscriberSubscription(t, s) } diff --git a/proto/gen/googleapis/pubsub/apiv1/pubsubpb/schema_aiptest.pb.go b/proto/gen/googleapis/pubsub/apiv1/pubsubpb/schema_aiptest.pb.go index dfb5cd8..925a1f3 100644 --- a/proto/gen/googleapis/pubsub/apiv1/pubsubpb/schema_aiptest.pb.go +++ b/proto/gen/googleapis/pubsub/apiv1/pubsubpb/schema_aiptest.pb.go @@ -20,8 +20,8 @@ type SchemaServiceTestSuiteConfigProvider interface { SchemaServiceSchema(t *testing.T) *SchemaServiceSchemaTestSuiteConfig } -// TestSchemaService is the main entrypoint for starting the AIP tests. -func TestSchemaService(t *testing.T, s SchemaServiceTestSuiteConfigProvider) { +// testSchemaService is the main entrypoint for starting the AIP tests. +func testSchemaService(t *testing.T, s SchemaServiceTestSuiteConfigProvider) { testSchemaServiceSchema(t, s) } diff --git a/proto/gen/googleapis/scheduler/apiv1/schedulerpb/aiptest.pb.go b/proto/gen/googleapis/scheduler/apiv1/schedulerpb/aiptest.pb.go index 8a31c01..4f38d56 100644 --- a/proto/gen/googleapis/scheduler/apiv1/schedulerpb/aiptest.pb.go +++ b/proto/gen/googleapis/scheduler/apiv1/schedulerpb/aiptest.pb.go @@ -13,5 +13,5 @@ type ServiceConfigProviders interface { // TestServices is the main entrypoint for starting the AIP tests for all services. func TestServices(t *testing.T, s ServiceConfigProviders) { - TestCloudScheduler(t, s) + testCloudScheduler(t, s) } diff --git a/proto/gen/googleapis/scheduler/apiv1/schedulerpb/cloudscheduler_aiptest.pb.go b/proto/gen/googleapis/scheduler/apiv1/schedulerpb/cloudscheduler_aiptest.pb.go index c6a0254..8d8225b 100644 --- a/proto/gen/googleapis/scheduler/apiv1/schedulerpb/cloudscheduler_aiptest.pb.go +++ b/proto/gen/googleapis/scheduler/apiv1/schedulerpb/cloudscheduler_aiptest.pb.go @@ -21,8 +21,8 @@ type CloudSchedulerTestSuiteConfigProvider interface { CloudSchedulerJob(t *testing.T) *CloudSchedulerJobTestSuiteConfig } -// TestCloudScheduler is the main entrypoint for starting the AIP tests. -func TestCloudScheduler(t *testing.T, s CloudSchedulerTestSuiteConfigProvider) { +// testCloudScheduler is the main entrypoint for starting the AIP tests. +func testCloudScheduler(t *testing.T, s CloudSchedulerTestSuiteConfigProvider) { testCloudSchedulerJob(t, s) } diff --git a/proto/gen/googleapis/spanner/admin/database/apiv1/databasepb/aiptest.pb.go b/proto/gen/googleapis/spanner/admin/database/apiv1/databasepb/aiptest.pb.go index dbe23f2..1a742fe 100644 --- a/proto/gen/googleapis/spanner/admin/database/apiv1/databasepb/aiptest.pb.go +++ b/proto/gen/googleapis/spanner/admin/database/apiv1/databasepb/aiptest.pb.go @@ -13,5 +13,5 @@ type ServiceConfigProviders interface { // TestServices is the main entrypoint for starting the AIP tests for all services. func TestServices(t *testing.T, s ServiceConfigProviders) { - TestDatabaseAdmin(t, s) + testDatabaseAdmin(t, s) } diff --git a/proto/gen/googleapis/spanner/admin/database/apiv1/databasepb/spanner_database_admin_aiptest.pb.go b/proto/gen/googleapis/spanner/admin/database/apiv1/databasepb/spanner_database_admin_aiptest.pb.go index e0f8fdf..e3517f4 100644 --- a/proto/gen/googleapis/spanner/admin/database/apiv1/databasepb/spanner_database_admin_aiptest.pb.go +++ b/proto/gen/googleapis/spanner/admin/database/apiv1/databasepb/spanner_database_admin_aiptest.pb.go @@ -26,8 +26,8 @@ type DatabaseAdminTestSuiteConfigProvider interface { DatabaseAdminDatabaseRole(t *testing.T) *DatabaseAdminDatabaseRoleTestSuiteConfig } -// TestDatabaseAdmin is the main entrypoint for starting the AIP tests. -func TestDatabaseAdmin(t *testing.T, s DatabaseAdminTestSuiteConfigProvider) { +// testDatabaseAdmin is the main entrypoint for starting the AIP tests. +func testDatabaseAdmin(t *testing.T, s DatabaseAdminTestSuiteConfigProvider) { testDatabaseAdminBackup(t, s) testDatabaseAdminDatabase(t, s) testDatabaseAdminDatabaseRole(t, s) diff --git a/proto/gen/googleapis/spanner/admin/instance/apiv1/instancepb/aiptest.pb.go b/proto/gen/googleapis/spanner/admin/instance/apiv1/instancepb/aiptest.pb.go index 6bcebc1..54aacf1 100644 --- a/proto/gen/googleapis/spanner/admin/instance/apiv1/instancepb/aiptest.pb.go +++ b/proto/gen/googleapis/spanner/admin/instance/apiv1/instancepb/aiptest.pb.go @@ -13,5 +13,5 @@ type ServiceConfigProviders interface { // TestServices is the main entrypoint for starting the AIP tests for all services. func TestServices(t *testing.T, s ServiceConfigProviders) { - TestInstanceAdmin(t, s) + testInstanceAdmin(t, s) } diff --git a/proto/gen/googleapis/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin_aiptest.pb.go b/proto/gen/googleapis/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin_aiptest.pb.go index 9fea172..3beb809 100644 --- a/proto/gen/googleapis/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin_aiptest.pb.go +++ b/proto/gen/googleapis/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin_aiptest.pb.go @@ -26,8 +26,8 @@ type InstanceAdminTestSuiteConfigProvider interface { InstanceAdminInstancePartition(t *testing.T) *InstanceAdminInstancePartitionTestSuiteConfig } -// TestInstanceAdmin is the main entrypoint for starting the AIP tests. -func TestInstanceAdmin(t *testing.T, s InstanceAdminTestSuiteConfigProvider) { +// testInstanceAdmin is the main entrypoint for starting the AIP tests. +func testInstanceAdmin(t *testing.T, s InstanceAdminTestSuiteConfigProvider) { testInstanceAdminInstance(t, s) testInstanceAdminInstanceConfig(t, s) testInstanceAdminInstancePartition(t, s) diff --git a/proto/gen/googleapis/spanner/apiv1/spannerpb/aiptest.pb.go b/proto/gen/googleapis/spanner/apiv1/spannerpb/aiptest.pb.go index 8fb548b..b104678 100644 --- a/proto/gen/googleapis/spanner/apiv1/spannerpb/aiptest.pb.go +++ b/proto/gen/googleapis/spanner/apiv1/spannerpb/aiptest.pb.go @@ -13,5 +13,5 @@ type ServiceConfigProviders interface { // TestServices is the main entrypoint for starting the AIP tests for all services. func TestServices(t *testing.T, s ServiceConfigProviders) { - TestSpanner(t, s) + testSpanner(t, s) } diff --git a/proto/gen/googleapis/spanner/apiv1/spannerpb/spanner_aiptest.pb.go b/proto/gen/googleapis/spanner/apiv1/spannerpb/spanner_aiptest.pb.go index 082adab..b40b0c7 100644 --- a/proto/gen/googleapis/spanner/apiv1/spannerpb/spanner_aiptest.pb.go +++ b/proto/gen/googleapis/spanner/apiv1/spannerpb/spanner_aiptest.pb.go @@ -19,8 +19,8 @@ type SpannerTestSuiteConfigProvider interface { SpannerSession(t *testing.T) *SpannerSessionTestSuiteConfig } -// TestSpanner is the main entrypoint for starting the AIP tests. -func TestSpanner(t *testing.T, s SpannerTestSuiteConfigProvider) { +// testSpanner is the main entrypoint for starting the AIP tests. +func testSpanner(t *testing.T, s SpannerTestSuiteConfigProvider) { testSpannerSession(t, s) }