summaryrefslogtreecommitdiff
path: root/sdk/cc_sdk_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2020-02-21 16:06:25 +0000
committer Paul Duffin <paulduffin@google.com> 2020-02-24 14:49:22 +0000
commit047fdcac0fd0815d2ba2da2df0ee9e3f3987ff80 (patch)
tree341fc4b199a7f7b85fd848ed1a2c181599f0c151 /sdk/cc_sdk_test.go
parentf5ea9e1f76c56aef33b104f6c6674e39f4938b61 (diff)
Fix issues with bp transformation
Returning nil from transformPropertySet in order to remove it did not work because it ends up comparing as (*bpPropertySet, nil) and not an untyped nil which causes the test against nil to fail. This change adds tests to check that returning nil will delete a property/property set from the containing property set and fixes the code so that it passes the tests. It extracts common code to transform a property set and its contents as well as code for creating new property sets. Bug: 148933848 Test: m nothing Change-Id: I35dc3c39c76e701821891622615c09b094cf697f
Diffstat (limited to 'sdk/cc_sdk_test.go')
0 files changed, 0 insertions, 0 deletions