pulumi/cmd/pulumi-test-language/tests/testdata
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
..
internal-bad-schema Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l1-builtin-info Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l1-empty Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l1-main/subdir Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l1-output-array Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l1-output-bool Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l1-output-map Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l1-output-number Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l1-output-string Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l1-stack-reference Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-component-call-simple Add the `l2-component-call-simple` conformance test 2025-01-10 16:58:48 +00:00
l2-component-component-resource-ref Add a conformance test for component-hydrated resource references (#18153) 2025-01-06 13:40:53 +00:00
l2-component-program-resource-ref Add a conformance test for program-hydrated resource references (#18139) 2025-01-06 10:50:37 +00:00
l2-destroy Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-engine-update-options Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-explicit-parameterized-provider Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-explicit-provider Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-failed-create-continue-on-error Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-invoke-dependencies Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-invoke-options Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-invoke-options-depends-on Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-invoke-secrets Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-invoke-simple Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-invoke-variants Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-large-string Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-map-keys Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-parameterized-resource Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-plain Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-primitive-ref Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-provider-grpc-config Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-provider-grpc-config-schema-secret Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-provider-grpc-config-secret Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-ref-ref Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-resource-alpha Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-resource-asset-archive Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-resource-config Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-resource-parent-inheritance Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-resource-primitives Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-resource-secret Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-resource-simple Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
l2-target-up-with-new-dependency Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
snapshots Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
snapshots_bad Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
snapshots_edit Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00
snapshots_runtime_options/projects/l1-empty Move language tests into the `tests` subpackage (#18002) 2024-12-13 10:54:11 +00:00