pulumi/cmd/pulumi-test-language/tests
Will Jones 47bc2e4625
Add the `l2-component-call-simple` conformance test
This change exercises PCL's new `call` intrinsic to introduce a
conformance test for testing code generation and execution for "simple"
applications of the `Call` method on the `ResourceMonitor` gRPC
interface (and behind it, the `ResourceProvider` interface). As part of
this, we extend programgen for NodeJS and Python, where it's a
relatively simple adaptation of the existing `invoke` machinery. It
seems that Go will require a bit more work due to some errant name
generation, which is tracked by #18202.

Later on we can add tests for more complex uses of `Call`, such as on
rehydrated resource references, or perhaps using "multi-argument
signatures", but this should suffice for now.

Part of fixing pulumi/pulumi-java#262
2025-01-10 16:58:48 +00:00
..
testdata Add the `l2-component-call-simple` conformance test 2025-01-10 16:58:48 +00:00
assert.go Factor out conformance testing framework (#17999) 2024-12-12 09:23:07 +00:00
grpc.go Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
internal_bad_schema.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_builtin_info.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_empty.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_main.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_output_array.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_output_bool.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_output_map.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_output_number.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_output_string.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l1_stack_reference.go Break out internal and L1 conformance tests (#18003) 2024-12-13 12:52:45 +00:00
l2_component_call_simple.go Add the `l2-component-call-simple` conformance test 2025-01-10 16:58:48 +00:00
l2_component_component_resource_ref.go Add a conformance test for component-hydrated resource references (#18153) 2025-01-06 13:40:53 +00:00
l2_component_program_resource_ref.go Add a conformance test for program-hydrated resource references (#18139) 2025-01-06 10:50:37 +00:00
l2_destroy.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_engine_update_options.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_explicit_parameterized_provider.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_explicit_provider.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_failed_create_continue_on_error.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_invoke_dependencies.go Break out L2 invoke conformance tests (#18005) 2024-12-16 09:23:05 +00:00
l2_invoke_options.go Break out L2 invoke conformance tests (#18005) 2024-12-16 09:23:05 +00:00
l2_invoke_options_depends_on.go Break out L2 invoke conformance tests (#18005) 2024-12-16 09:23:05 +00:00
l2_invoke_secrets.go Break out L2 invoke conformance tests (#18005) 2024-12-16 09:23:05 +00:00
l2_invoke_simple.go Break out L2 invoke conformance tests (#18005) 2024-12-16 09:23:05 +00:00
l2_invoke_variants.go Break out L2 invoke conformance tests (#18005) 2024-12-16 09:23:05 +00:00
l2_large_string.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_map_keys.go Re-add `l2-map-keys` and `l2-provider-grpc-config` (#18154) 2025-01-07 12:12:13 +00:00
l2_parameterized_resource.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_plain.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_primitive_ref.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_provider_grpc_config.go Re-add `l2-map-keys` and `l2-provider-grpc-config` (#18154) 2025-01-07 12:12:13 +00:00
l2_provider_grpc_config_schema_secret.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_provider_grpc_config_secret.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_ref_ref.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
l2_resource_alpha.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_resource_asset_archive.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_resource_config.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_resource_parent_inheritance.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_resource_primitives.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_resource_secret.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_resource_simple.go Break out L2 resource conformance tests (#18004) 2024-12-13 15:41:26 +00:00
l2_target_up_with_new_dependency.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
tests.go Break out remaining L2 conformance tests (#18006) 2024-12-16 11:41:58 +00:00
types.go Factor out conformance testing framework (#17999) 2024-12-12 09:23:07 +00:00