Skip to content

Commit

Permalink
re-record tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VenelinMartinov committed Jan 7, 2025
1 parent 4f6a39f commit 2c18440
Show file tree
Hide file tree
Showing 184 changed files with 331 additions and 151 deletions.
2 changes: 1 addition & 1 deletion pkg/tests/diff_test/detailed_diff_set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ func TestSDKv2DetailedDiffSetNestedComputedBlock(t *testing.T) {
{"block with nested computed and force new", blockSchemaNestedComputedForceNew, nestedListValueMaker},
{"block with nested computed and force new computed specified in program", blockSchemaNestedComputedForceNew, nestedListValueMakerWithComputedSpecified},
{"block with nested computed and nested force new", blockSchemaNestedComputedNestedForceNew, nestedListValueMaker},
{"block with nested computed and nested force new computed specified in program", blockSchemaNestedComputedNestedForceNew, nestedListValueMakerWithComputedSpecified},
{"block with nested computed and nested force new computed specified", blockSchemaNestedComputedNestedForceNew, nestedListValueMakerWithComputedSpecified},
}

for _, schemaValueMakerPair := range schemaValueMakerPairs {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{},
initialValue: nil, changeValue: &[]string{},
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{
initialValue: nil, changeValue: &[]string{
"val1",
},
tfOut: `
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tests.testOutput{
initialValue: &[]string{},
changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ tests.testOutput{
initialValue: &[]string{
"val1",
},
changeValue: nil,
tfOut: `
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
tests.testOutput{tfOut: `
tests.testOutput{
initialValue: nil, changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
`, pulumiOut: `Previewing update (test):
`,
pulumiOut: `Previewing update (test):
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
Resources:
2 unchanged
`}
`,
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{},
initialValue: nil, changeValue: &[]string{},
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{
initialValue: nil, changeValue: &[]string{
"val1",
},
tfOut: `
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tests.testOutput{
initialValue: &[]string{},
changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ tests.testOutput{
initialValue: &[]string{
"val1",
},
changeValue: nil,
tfOut: `
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
tests.testOutput{tfOut: `
tests.testOutput{
initialValue: nil, changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
`, pulumiOut: `Previewing update (test):
`,
pulumiOut: `Previewing update (test):
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
Resources:
2 unchanged
`}
`,
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{},
initialValue: nil, changeValue: &[]string{},
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{
initialValue: nil, changeValue: &[]string{
"val1",
},
tfOut: `
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tests.testOutput{
initialValue: &[]string{},
changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ tests.testOutput{
initialValue: &[]string{
"val1",
},
changeValue: nil,
tfOut: `
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
tests.testOutput{tfOut: `
tests.testOutput{
initialValue: nil, changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
`, pulumiOut: `Previewing update (test):
`,
pulumiOut: `Previewing update (test):
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
Resources:
2 unchanged
`}
`,
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{},
initialValue: nil, changeValue: &[]string{},
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{
initialValue: nil, changeValue: &[]string{
"val1",
},
tfOut: `
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tests.testOutput{
initialValue: &[]string{},
changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ tests.testOutput{
initialValue: &[]string{
"val1",
},
changeValue: nil,
tfOut: `
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
tests.testOutput{tfOut: `
tests.testOutput{
initialValue: nil, changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
`, pulumiOut: `Previewing update (test):
`,
pulumiOut: `Previewing update (test):
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
Resources:
2 unchanged
`}
`,
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{},
initialValue: nil, changeValue: &[]string{},
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{
initialValue: nil, changeValue: &[]string{
"val1",
},
tfOut: `
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tests.testOutput{
initialValue: &[]string{},
changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ tests.testOutput{
initialValue: &[]string{
"val1",
},
changeValue: nil,
tfOut: `
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
tests.testOutput{tfOut: `
tests.testOutput{
initialValue: nil, changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
`, pulumiOut: `Previewing update (test):
`,
pulumiOut: `Previewing update (test):
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
Resources:
2 unchanged
`}
`,
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{},
initialValue: nil, changeValue: &[]string{},
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{
initialValue: nil, changeValue: &[]string{
"val1",
},
tfOut: `
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tests.testOutput{
initialValue: &[]string{},
changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ tests.testOutput{
initialValue: &[]string{
"val1",
},
changeValue: nil,
tfOut: `
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
tests.testOutput{tfOut: `
tests.testOutput{
initialValue: nil, changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
`, pulumiOut: `Previewing update (test):
`,
pulumiOut: `Previewing update (test):
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
Resources:
2 unchanged
`}
`,
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{},
initialValue: nil, changeValue: &[]string{},
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{
initialValue: nil, changeValue: &[]string{
"val1",
},
tfOut: `
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tests.testOutput{
initialValue: &[]string{},
changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ tests.testOutput{
initialValue: &[]string{
"val1",
},
changeValue: nil,
tfOut: `
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
tests.testOutput{tfOut: `
tests.testOutput{
initialValue: nil, changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
`, pulumiOut: `Previewing update (test):
`,
pulumiOut: `Previewing update (test):
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
Resources:
2 unchanged
`}
`,
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{},
initialValue: nil, changeValue: &[]string{},
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{
initialValue: nil, changeValue: &[]string{
"val1",
},
tfOut: `
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tests.testOutput{
initialValue: &[]string{},
changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ tests.testOutput{
initialValue: &[]string{
"val1",
},
changeValue: nil,
tfOut: `
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
tests.testOutput{tfOut: `
tests.testOutput{
initialValue: nil, changeValue: nil,
tfOut: `
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
`, pulumiOut: `Previewing update (test):
`,
pulumiOut: `Previewing update (test):
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
Resources:
2 unchanged
`}
`,
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tests.testOutput{
changeValue: &[]string{},
initialValue: nil, changeValue: &[]string{},
tfOut: `
No changes. Your infrastructure matches the configuration.

Expand Down
Loading

0 comments on commit 2c18440

Please sign in to comment.