terraform/helper/resource
James Bardin a7b399cb4c use actual schema.Resources for state shims
Provider tests often rely on checking values contained within sets, by
directly accessing their flatmapped representation. In order to provider
the test harness with the expected set hashes, the sets must be
generated by the schema.Resource itself.

During the test we now build a fixed map of the providers, which should
only contain schema.Provider instances, and pass them into each
TestStep. The individual schema.Resource instances can then be pulled
from the providers, and used to recreate the state from the cty.Value
returned by the core operations.
2019-01-10 12:20:03 -05:00
..
error.go helper/resource: Add retries to err message 2017-01-20 11:09:04 -08:00
grpc_test_provider.go plugin: Establish our current plugin protocol as version 5 2018-11-19 09:56:41 -08:00
id.go Export a const for validation methods 2018-03-10 12:40:37 -05:00
id_test.go Make failure message more explicit 2018-03-10 21:53:54 -05:00
map.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
map_test.go helper/resource: Fix duplicated function testConfig 2018-10-16 19:14:11 -07:00
resource.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
state.go helper/resource: fix ungrammatical doc comment in StateChangeConf 2017-11-08 09:43:36 -08:00
state_shim.go use actual schema.Resources for state shims 2019-01-10 12:20:03 -05:00
state_shim_test.go use actual schema.Resources for state shims 2019-01-10 12:20:03 -05:00
state_test.go add test for proper cancelation 2017-04-19 18:07:00 -04:00
testing.go use actual schema.Resources for state shims 2019-01-10 12:20:03 -05:00
testing_config.go use actual schema.Resources for state shims 2019-01-10 12:20:03 -05:00
testing_import_state.go use actual schema.Resources for state shims 2019-01-10 12:20:03 -05:00
testing_import_state_test.go skip resource tests for now 2018-10-31 14:17:23 -04:00
testing_test.go allow TestCheckNoResourceAttr for empty containers 2019-01-09 13:09:02 -05:00
wait.go Fixing small typo in resource/wait.go 2018-03-14 17:33:03 +01:00
wait_test.go fix tests affected by refreshGracePeriod 2017-04-19 18:07:00 -04:00