@fluid-experimental/property-properties 0.58.1001 → 0.58.2000-58133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/containerSerializer.d.ts.map +1 -1
- package/dist/containerSerializer.js +4 -10
- package/dist/containerSerializer.js.map +1 -1
- package/dist/enableValidations.d.ts.map +1 -1
- package/dist/enableValidations.js +1 -1
- package/dist/enableValidations.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/properties/abstractStaticCollectionProperty.d.ts.map +1 -1
- package/dist/properties/abstractStaticCollectionProperty.js +1 -28
- package/dist/properties/abstractStaticCollectionProperty.js.map +1 -1
- package/dist/properties/arrayProperty.d.ts.map +1 -1
- package/dist/properties/arrayProperty.js +26 -85
- package/dist/properties/arrayProperty.js.map +1 -1
- package/dist/properties/baseProperty.d.ts.map +1 -1
- package/dist/properties/baseProperty.js +9 -71
- package/dist/properties/baseProperty.js.map +1 -1
- package/dist/properties/boolProperty.d.ts.map +1 -1
- package/dist/properties/boolProperty.js +0 -1
- package/dist/properties/boolProperty.js.map +1 -1
- package/dist/properties/containerProperty.d.ts.map +1 -1
- package/dist/properties/containerProperty.js +4 -22
- package/dist/properties/containerProperty.js.map +1 -1
- package/dist/properties/enumArrayProperty.d.ts.map +1 -1
- package/dist/properties/enumArrayProperty.js +2 -14
- package/dist/properties/enumArrayProperty.js.map +1 -1
- package/dist/properties/enumProperty.d.ts.map +1 -1
- package/dist/properties/enumProperty.js +3 -10
- package/dist/properties/enumProperty.js.map +1 -1
- package/dist/properties/floatProperties.js +0 -2
- package/dist/properties/floatProperties.js.map +1 -1
- package/dist/properties/index.d.ts +7 -38
- package/dist/properties/index.d.ts.map +1 -1
- package/dist/properties/index.js +37 -68
- package/dist/properties/index.js.map +1 -1
- package/dist/properties/indexedCollectionBaseProperty.d.ts.map +1 -1
- package/dist/properties/indexedCollectionBaseProperty.js +6 -18
- package/dist/properties/indexedCollectionBaseProperty.js.map +1 -1
- package/dist/properties/intProperties.d.ts.map +1 -1
- package/dist/properties/intProperties.js +3 -20
- package/dist/properties/intProperties.js.map +1 -1
- package/dist/properties/lazyLoadedProperties.js.map +1 -1
- package/dist/properties/mapProperty.d.ts.map +1 -1
- package/dist/properties/mapProperty.js +4 -23
- package/dist/properties/mapProperty.js.map +1 -1
- package/dist/properties/namedNodeProperty.d.ts.map +1 -1
- package/dist/properties/namedNodeProperty.js.map +1 -1
- package/dist/properties/namedProperty.d.ts.map +1 -1
- package/dist/properties/namedProperty.js +0 -3
- package/dist/properties/namedProperty.js.map +1 -1
- package/dist/properties/nodeProperty.d.ts.map +1 -1
- package/dist/properties/nodeProperty.js +0 -3
- package/dist/properties/nodeProperty.js.map +1 -1
- package/dist/properties/primitiveTypeCasts.d.ts.map +1 -1
- package/dist/properties/primitiveTypeCasts.js +2 -2
- package/dist/properties/primitiveTypeCasts.js.map +1 -1
- package/dist/properties/referenceArrayProperty.d.ts.map +1 -1
- package/dist/properties/referenceArrayProperty.js +3 -16
- package/dist/properties/referenceArrayProperty.js.map +1 -1
- package/dist/properties/referenceMapProperty.d.ts.map +1 -1
- package/dist/properties/referenceMapProperty.js +3 -13
- package/dist/properties/referenceMapProperty.js.map +1 -1
- package/dist/properties/referenceProperty.d.ts.map +1 -1
- package/dist/properties/referenceProperty.js +4 -12
- package/dist/properties/referenceProperty.js.map +1 -1
- package/dist/properties/setProperty.d.ts.map +1 -1
- package/dist/properties/setProperty.js +3 -22
- package/dist/properties/setProperty.js.map +1 -1
- package/dist/properties/stringProperty.d.ts.map +1 -1
- package/dist/properties/stringProperty.js +12 -48
- package/dist/properties/stringProperty.js.map +1 -1
- package/dist/properties/uintProperties.js +0 -3
- package/dist/properties/uintProperties.js.map +1 -1
- package/dist/properties/valueArrayProperty.d.ts.map +1 -1
- package/dist/properties/valueArrayProperty.js +3 -45
- package/dist/properties/valueArrayProperty.js.map +1 -1
- package/dist/properties/valueMapProperty.d.ts.map +1 -1
- package/dist/properties/valueMapProperty.js +4 -29
- package/dist/properties/valueMapProperty.js.map +1 -1
- package/dist/properties/valueProperty.d.ts.map +1 -1
- package/dist/properties/valueProperty.js +2 -14
- package/dist/properties/valueProperty.js.map +1 -1
- package/dist/propertyFactory.d.ts.map +1 -1
- package/dist/propertyFactory.js +35 -72
- package/dist/propertyFactory.js.map +1 -1
- package/dist/propertyTemplate.d.ts.map +1 -1
- package/dist/propertyTemplate.js +0 -14
- package/dist/propertyTemplate.js.map +1 -1
- package/dist/propertyTemplateWrapper.d.ts.map +1 -1
- package/dist/propertyTemplateWrapper.js +4 -12
- package/dist/propertyTemplateWrapper.js.map +1 -1
- package/dist/propertyUtils.d.ts.map +1 -1
- package/dist/propertyUtils.js.map +1 -1
- package/dist/test/properties/arrayProperty.spec.js +82 -82
- package/dist/test/properties/arrayProperty.spec.js.map +1 -1
- package/dist/test/properties/baseProperty.spec.js +53 -53
- package/dist/test/properties/baseProperty.spec.js.map +1 -1
- package/dist/test/properties/containerProperty.spec.js +25 -25
- package/dist/test/properties/containerProperty.spec.js.map +1 -1
- package/dist/test/properties/customArrayProperty.spec.js +35 -35
- package/dist/test/properties/customArrayProperty.spec.js.map +1 -1
- package/dist/test/properties/enumArrayProperty.spec.js +6 -6
- package/dist/test/properties/enumArrayProperty.spec.js.map +1 -1
- package/dist/test/properties/enumProperty.spec.js +26 -26
- package/dist/test/properties/enumProperty.spec.js.map +1 -1
- package/dist/test/properties/float32.spec.js.map +1 -1
- package/dist/test/properties/int64ArrayProperty.spec.js +22 -22
- package/dist/test/properties/int64ArrayProperty.spec.js.map +1 -1
- package/dist/test/properties/int64MapProperty.spec.js +28 -28
- package/dist/test/properties/int64MapProperty.spec.js.map +1 -1
- package/dist/test/properties/int64Property.spec.js +11 -11
- package/dist/test/properties/int64Property.spec.js.map +1 -1
- package/dist/test/properties/isLeafNode.spec.js +25 -25
- package/dist/test/properties/isLeafNode.spec.js.map +1 -1
- package/dist/test/properties/mapProperty.spec.js +110 -110
- package/dist/test/properties/mapProperty.spec.js.map +1 -1
- package/dist/test/properties/namedNodeProperty.spec.js +5 -5
- package/dist/test/properties/namedNodeProperty.spec.js.map +1 -1
- package/dist/test/properties/nodeProperty.spec.js +160 -160
- package/dist/test/properties/nodeProperty.spec.js.map +1 -1
- package/dist/test/properties/referenceProperty.spec.js +21 -21
- package/dist/test/properties/referenceProperty.spec.js.map +1 -1
- package/dist/test/properties/relationshipProperty.spec.js +4 -4
- package/dist/test/properties/relationshipProperty.spec.js.map +1 -1
- package/dist/test/properties/setProperty.spec.js +32 -32
- package/dist/test/properties/setProperty.spec.js.map +1 -1
- package/dist/test/properties/stringProperty.spec.js +38 -38
- package/dist/test/properties/stringProperty.spec.js.map +1 -1
- package/dist/test/properties/uint64Property.spec.js +3 -3
- package/dist/test/properties/uint64Property.spec.js.map +1 -1
- package/dist/test/properties/valueMapProperty.spec.js +28 -28
- package/dist/test/properties/valueMapProperty.spec.js.map +1 -1
- package/dist/test/properties/valueProperty.spec.js +7 -7
- package/dist/test/properties/valueProperty.spec.js.map +1 -1
- package/dist/test/propertyFactory.spec.js +559 -560
- package/dist/test/propertyFactory.spec.js.map +1 -1
- package/dist/test/propertyTemplateWrapper.spec.js +38 -38
- package/dist/test/propertyTemplateWrapper.spec.js.map +1 -1
- package/dist/test/propertyUtils.spec.js +5 -5
- package/dist/test/propertyUtils.spec.js.map +1 -1
- package/dist/test/reversibleChangeset.spec.js +266 -266
- package/dist/test/reversibleChangeset.spec.js.map +1 -1
- package/dist/test/setup.js.map +1 -1
- package/dist/test/tsconfig.tsbuildinfo +145 -145
- package/dist/test/utils.spec.js +508 -517
- package/dist/test/utils.spec.js.map +1 -1
- package/dist/test/validation/badMissingSemverInTypeid.js +9 -9
- package/dist/test/validation/badMissingSemverInTypeid.js.map +1 -1
- package/dist/test/validation/badPrimitiveTypeid.js +5 -5
- package/dist/test/validation/badPrimitiveTypeid.js.map +1 -1
- package/dist/test/validation/goodColorId.js +42 -42
- package/dist/test/validation/goodColorId.js.map +1 -1
- package/dist/test/validation/goodColorPalette.js +2 -2
- package/dist/test/validation/goodColorPalette.js.map +1 -1
- package/dist/test/validation/goodPointId.js +9 -9
- package/dist/test/validation/goodPointId.js.map +1 -1
- package/dist/test/validation/reversibleChangeSetTestData.js +1 -1
- package/dist/test/validation/reversibleChangeSetTestData.js.map +1 -1
- package/lib/containerSerializer.js +4 -10
- package/lib/containerSerializer.js.map +1 -1
- package/lib/enableValidations.js +1 -1
- package/lib/enableValidations.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/properties/abstractStaticCollectionProperty.js +1 -28
- package/lib/properties/abstractStaticCollectionProperty.js.map +1 -1
- package/lib/properties/arrayProperty.js +26 -85
- package/lib/properties/arrayProperty.js.map +1 -1
- package/lib/properties/baseProperty.js +7 -69
- package/lib/properties/baseProperty.js.map +1 -1
- package/lib/properties/boolProperty.js +0 -1
- package/lib/properties/boolProperty.js.map +1 -1
- package/lib/properties/containerProperty.js +4 -22
- package/lib/properties/containerProperty.js.map +1 -1
- package/lib/properties/enumArrayProperty.js +2 -14
- package/lib/properties/enumArrayProperty.js.map +1 -1
- package/lib/properties/enumProperty.js +3 -10
- package/lib/properties/enumProperty.js.map +1 -1
- package/lib/properties/floatProperties.js +0 -2
- package/lib/properties/floatProperties.js.map +1 -1
- package/lib/properties/index.js +7 -38
- package/lib/properties/index.js.map +1 -1
- package/lib/properties/indexedCollectionBaseProperty.js +6 -18
- package/lib/properties/indexedCollectionBaseProperty.js.map +1 -1
- package/lib/properties/intProperties.js +3 -20
- package/lib/properties/intProperties.js.map +1 -1
- package/lib/properties/lazyLoadedProperties.js.map +1 -1
- package/lib/properties/mapProperty.js +4 -23
- package/lib/properties/mapProperty.js.map +1 -1
- package/lib/properties/namedNodeProperty.js.map +1 -1
- package/lib/properties/namedProperty.js +0 -3
- package/lib/properties/namedProperty.js.map +1 -1
- package/lib/properties/nodeProperty.js +0 -3
- package/lib/properties/nodeProperty.js.map +1 -1
- package/lib/properties/primitiveTypeCasts.js +2 -2
- package/lib/properties/primitiveTypeCasts.js.map +1 -1
- package/lib/properties/referenceArrayProperty.js +3 -16
- package/lib/properties/referenceArrayProperty.js.map +1 -1
- package/lib/properties/referenceMapProperty.js +3 -13
- package/lib/properties/referenceMapProperty.js.map +1 -1
- package/lib/properties/referenceProperty.js +4 -12
- package/lib/properties/referenceProperty.js.map +1 -1
- package/lib/properties/setProperty.js +3 -22
- package/lib/properties/setProperty.js.map +1 -1
- package/lib/properties/stringProperty.js +12 -48
- package/lib/properties/stringProperty.js.map +1 -1
- package/lib/properties/uintProperties.js +0 -3
- package/lib/properties/uintProperties.js.map +1 -1
- package/lib/properties/valueArrayProperty.js +3 -45
- package/lib/properties/valueArrayProperty.js.map +1 -1
- package/lib/properties/valueMapProperty.js +4 -29
- package/lib/properties/valueMapProperty.js.map +1 -1
- package/lib/properties/valueProperty.js +2 -14
- package/lib/properties/valueProperty.js.map +1 -1
- package/lib/propertyFactory.js +35 -72
- package/lib/propertyFactory.js.map +1 -1
- package/lib/propertyTemplate.js +0 -14
- package/lib/propertyTemplate.js.map +1 -1
- package/lib/propertyTemplateWrapper.js +4 -12
- package/lib/propertyTemplateWrapper.js.map +1 -1
- package/lib/propertyUtils.js.map +1 -1
- package/package.json +13 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"referenceProperty.spec.js","sourceRoot":"","sources":["../../../src/test/properties/referenceProperty.spec.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,2CAA2C;AAC3C,yCAAyC;AACzC;;;;;GAKG;AACH,MAAM,EAAE,eAAe,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;AAC7C,MAAM,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC,oCAAoC,CAAC,CAAC;AAC5E,MAAM,EAAE,oBAAoB,EAAE,GAAG,OAAO,CAAC,uCAAuC,CAAC,CAAC;AAClF,MAAM,E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AI,CAAC,OAAO,CAAC,CAAC;YAEtD,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;YAC5C,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;YAC5C,OAAO,GAAG,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC;YAC7B,SAAS,GAAG,EAAE,CAAC;YACf,OAAO,CAAC,gBAAgB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YACzC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBACvC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,YAAY,CAAC,4BAA4B,CAAC,CAAC;aAC3F;QACL,CAAC,CAAC,CAAC;IAEP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/* eslint-disable no-unused-expressions */\n/* eslint-disable max-nested-callbacks */\n/**\n * @fileoverview In this file, we will test the reference properties\n * described in /src/properties/referenceProperty.js,\n * /src/properties/referenceArrayProperty.js,\n * /src/properties/referenceMapProperty.js\n */\nconst { PropertyFactory } = require('../..');\nconst { ReferenceProperty } = require('../../properties/referenceProperty');\nconst { ReferenceMapProperty } = require('../../properties/referenceMapProperty');\nconst { ReferenceArrayProperty } = require('../../properties/referenceArrayProperty');\nconst { ChangeSet } = require('@fluid-experimental/property-changeset');\nconst { BaseProperty } = require('../..');\nconst { MSG } = require('@fluid-experimental/property-common').constants;\n\ndescribe('Reference Properties', function () {\n var dereferenceToken;\n\n before(function () {\n\n dereferenceToken = BaseProperty.PATH_TOKENS.REF;\n\n // A template that contains all types of reference properties\n var referencePropertyTestTemplate = {\n typeid: 'autodesk.test:referencePropertyTest-1.0.0',\n properties: [\n { id: 'ref', typeid: 'Reference<NodeProperty>' },\n { id: 'ref_anon', typeid: 'Reference' },\n { id: 'refArray', typeid: 'Reference<NodeProperty>', context: 'array' },\n { id: 'refArray_anon', typeid: 'Reference', context: 'array' },\n { id: 'refMap', typeid: 'Reference<NodeProperty>', context: 'map' },\n { id: 'refMap_anon', typeid: 'Reference', context: 'map' }\n ]\n };\n\n PropertyFactory._reregister(referencePropertyTestTemplate);\n });\n\n describe('ReferenceProperty', function () {\n it('should be possible to create', function () {\n // Test creation of an anonymous reference\n var reference = PropertyFactory.create('Reference');\n expect(reference).to.be.instanceof(ReferenceProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('BaseProperty');\n\n // Test creation of a typed reference\n var reference = PropertyFactory.create('Reference<NodeProperty>');\n expect(reference).to.be.instanceof(ReferenceProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('NodeProperty');\n\n // Test creation via a template\n var prop = PropertyFactory.create('autodesk.test:referencePropertyTest-1.0.0');\n expect(prop._properties.ref_anon).to.be.instanceof(ReferenceProperty);\n expect(prop._properties.ref_anon.getReferenceTargetTypeId()).to.equal('BaseProperty');\n expect(prop._properties.ref).to.be.instanceof(ReferenceProperty);\n expect(prop._properties.ref.getReferenceTargetTypeId()).to.equal('NodeProperty');\n });\n\n it('empty reference should resolve to undefined', function () {\n var reference = PropertyFactory.create('Reference');\n\n // It should work with the default value\n expect(reference.referenced).to.be.undefined;\n expect(reference.get()).to.be.undefined;\n\n // Explicitly setting it should have the same effect\n reference.value = '';\n expect(reference.referenced).to.be.undefined;\n expect(reference.get()).to.be.undefined;\n });\n\n it('setting a referenced member to undefined should turn it into an empty string', function () {\n var reference = PropertyFactory.create('Reference');\n\n // First set it to something else than an empty reference\n reference.value = '/test';\n\n // Now reset it via the referenced member\n reference.ref = undefined;\n // And check the result\n expect(reference.value).to.equal('');\n expect(reference.ref).to.be.undefined;\n });\n\n it('setting a reference to a non absolute path should not throw', function () {\n var reference = PropertyFactory.create('Reference');\n expect(function () { reference.value = 'test'; }).to.not.throw();\n });\n\n it('.get should work to resolve the referenced property', function () {\n var root = PropertyFactory.create('NodeProperty');\n var reference = PropertyFactory.create('Reference<String>');\n var target = PropertyFactory.create('String');\n var node = PropertyFactory.create('NodeProperty');\n var nodeTarget = PropertyFactory.create('String');\n root.insert('target', target);\n root.insert('reference', reference);\n root.insert('node', node);\n node.insert('target', nodeTarget);\n\n reference.set(target);\n expect(root.get('reference')).to.equal(target);\n\n // checking that a primitive value for in_options is ignored:\n expect(root.get('reference', 'string')).to.equal(target);\n\n expect(root.get('reference', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.ALWAYS\n })).to.equal(target);\n expect(root.get('reference', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NEVER\n })).to.equal(reference);\n expect(root.get('reference', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NO_LEAFS\n })).to.equal(reference);\n\n reference.set(node);\n expect(root.get(['reference', 'target'], {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.ALWAYS\n })).to.equal(nodeTarget);\n expect(root.get(['reference', 'target'], {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NEVER\n })).to.equal(undefined);\n expect(root.get(['reference', 'target'], {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NO_LEAFS\n })).to.equal(nodeTarget);\n });\n\n it('.get should work with different types of input', function () {\n var root = PropertyFactory.create('NodeProperty');\n var reference = PropertyFactory.create('Reference<String>');\n var node = PropertyFactory.create('NodeProperty');\n var nodeTarget = PropertyFactory.create('String');\n root.insert('reference', reference);\n root.insert('node', node);\n node.insert('target', nodeTarget);\n reference.set(node);\n expect(reference.get()).to.equal(node);\n expect(reference.get('')).to.equal(node);\n expect(reference.get(['target'])).to.equal(nodeTarget);\n expect(reference.get('target')).to.equal(node);\n expect(reference.get([])).to.equal(reference);\n });\n\n it('.get should return undefined with invalid reference', function () {\n var root = PropertyFactory.create('NodeProperty');\n var reference = PropertyFactory.create('Reference<String>');\n var node = PropertyFactory.create('NodeProperty');\n var nodeTarget = PropertyFactory.create('String');\n\n // when reference is not inserted to the tree\n root.insert('node', node);\n node.insert('target', nodeTarget);\n reference.set(node);\n expect(reference.get(['target'])).to.undefined;\n\n // with invalid reference input\n root.insert('reference', reference);\n reference.set('invalid_node');\n expect(reference.get(['target'])).to.undefined;\n\n // dereference property is removed\n reference.set('node');\n expect(reference.get(['target'])).to.equal(nodeTarget);\n node.remove('target');\n expect(reference.get(['target'])).to.undefined;\n });\n\n it('.resolvePath should work to resolve the referenced property', function () {\n var root = PropertyFactory.create('NodeProperty');\n var reference = PropertyFactory.create('Reference<String>');\n var target = PropertyFactory.create('String');\n var node = PropertyFactory.create('NodeProperty');\n var nodeTarget = PropertyFactory.create('String');\n root.insert('target', target);\n root.insert('reference', reference);\n root.insert('node', node);\n node.insert('target', nodeTarget);\n\n\n reference.set(target);\n expect(root.resolvePath('reference')).to.equal(target);\n expect(root.resolvePath('reference', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.ALWAYS\n })).to.equal(target);\n expect(root.resolvePath('reference', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NEVER\n })).to.equal(reference);\n expect(root.resolvePath('reference', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NO_LEAFS\n })).to.equal(reference);\n\n reference.set(node);\n expect(root.resolvePath('reference.target', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.ALWAYS\n })).to.equal(nodeTarget);\n expect(root.resolvePath('reference.target', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NEVER\n })).to.equal(undefined);\n expect(root.resolvePath('reference.target', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NO_LEAFS\n })).to.equal(nodeTarget);\n });\n\n describe('Reference resolution', function () {\n var root, target, reference, reference2, relativeReference, relativeReference2;\n var nodeTarget, nestedChild, nodeTarget2, nestedChild2;\n var mapTarget, nestedMapChild;\n var arrayTarget, nestedArrayChild;\n\n beforeEach(function () {\n root = PropertyFactory.create('NodeProperty');\n\n nodeTarget = PropertyFactory.create('NodeProperty');\n nestedChild = PropertyFactory.create('String');\n relativeReference = PropertyFactory.create('Reference<String>');\n nodeTarget.insert('nested', nestedChild);\n nodeTarget.insert('relativeReference', relativeReference);\n\n nodeTarget2 = PropertyFactory.create('NodeProperty');\n nestedChild2 = PropertyFactory.create('String');\n relativeReference2 = PropertyFactory.create('Reference<Reference>');\n nodeTarget2.insert('nested', nestedChild2);\n nodeTarget2.insert('relativeReference2', relativeReference2);\n\n mapTarget = PropertyFactory.create('map<>');\n nestedMapChild = PropertyFactory.create('String');\n mapTarget.insert('nested', nestedMapChild);\n\n arrayTarget = PropertyFactory.create('array<>');\n nestedArrayChild = PropertyFactory.create('String');\n arrayTarget.push(nestedArrayChild);\n\n target = PropertyFactory.create('String');\n reference = PropertyFactory.create('Reference<String>');\n reference2 = PropertyFactory.create('Reference<Reference>');\n\n root.insert('target', target);\n root.insert('nodeTarget', nodeTarget);\n root.insert('nodeTarget2', nodeTarget2);\n root.insert('mapTarget', mapTarget);\n root.insert('arrayTarget', arrayTarget);\n\n root.insert('reference', reference);\n root.insert('reference2', reference2);\n\n target.value = 'test';\n });\n\n it('should allow resolving references', function () {\n reference.value = '/target';\n\n expect(reference.ref).to.equal(target);\n expect(reference.ref.value).to.equal('test');\n });\n\n it('should support setting via set', function () {\n reference.set(target);\n\n expect(reference.ref).to.equal(target);\n expect(reference.ref.value).to.equal('test');\n expect(reference.value).to.equal('/target');\n });\n\n it('set with a Property should work', function () {\n reference.set(nestedChild);\n expect(reference.getValue()).to.equal('/nodeTarget.nested');\n });\n\n it('set with a path should work', function () {\n reference.set('/nodeTarget.nested');\n expect(reference.getValue()).to.equal('/nodeTarget.nested');\n });\n\n it('set with something else should throw', function () {\n expect(function () { reference.set(123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('setValue with a Property should work', function () {\n reference.setValue(nestedChild);\n expect(reference.getValue()).to.equal('/nodeTarget.nested');\n });\n\n it('setValue with a path should work', function () {\n reference.setValue('/nodeTarget.nested');\n expect(reference.getValue()).to.equal('/nodeTarget.nested');\n });\n\n it('setValue with something else should throw', function () {\n expect(function () { reference.setValue(123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('should have a working isReferenceValid', function () {\n // An empty reference should be valid\n reference.value = '';\n expect(reference.isReferenceValid()).to.be.true;\n\n // A reference to an existing property should be valid\n reference.set(target);\n expect(reference.isReferenceValid()).to.be.true;\n\n // A reference that cannot be resolved should be invalid\n reference.value = '/invalid_path';\n expect(reference.isReferenceValid()).to.be.false;\n });\n\n it('should allow dereferencing via a *', function () {\n reference.set(target);\n expect(root.resolvePath('/reference')).to.equal(target);\n expect(root.resolvePath('/reference*')).to.equal(reference);\n expect(root.get('reference', { referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NEVER }))\n .to.equal(reference);\n expect(root.get(['reference', dereferenceToken])).to.equal(reference);\n });\n\n it('should allow dereferencing via a * with nested reference property', function () {\n reference.set(target);\n reference2.set('/reference*');\n expect(root.get('reference2')).to.equal(reference);\n expect(root.resolvePath('/reference2')).to.equal(reference);\n });\n\n it('should allow dereferencing via multiple jumps', function () {\n let reference3 = PropertyFactory.create('Reference');\n let reference4 = PropertyFactory.create('Reference');\n let reference5 = PropertyFactory.create('Reference');\n root.insert('reference3', reference3);\n root.insert('reference4', reference4);\n root.insert('reference5', reference5);\n reference.set(target);\n reference2.set('reference');\n reference3.set('reference2');\n reference4.set('reference3');\n reference5.set('reference4');\n expect(root.get('reference5')).to.equal(target);\n expect(root.resolvePath('/reference5')).to.equal(target);\n expect(root.get('reference4')).to.equal(target);\n expect(root.resolvePath('/reference4')).to.equal(target);\n expect(root.get('reference3')).to.equal(target);\n expect(root.resolvePath('/reference3')).to.equal(target);\n expect(root.get('reference2')).to.equal(target);\n expect(root.resolvePath('/reference2')).to.equal(target);\n expect(root.get('reference')).to.equal(target);\n expect(root.resolvePath('/reference')).to.equal(target);\n });\n\n it('should allow dereferencing via * multiple jumps', function () {\n let reference3 = PropertyFactory.create('Reference');\n let reference4 = PropertyFactory.create('Reference');\n let reference5 = PropertyFactory.create('Reference');\n root.insert('reference3', reference3);\n root.insert('reference4', reference4);\n root.insert('reference5', reference5);\n reference.set(target);\n reference2.set('reference');\n reference3.set('reference2');\n reference4.set('reference3*');\n reference5.set('reference4');\n expect(root.get('reference5')).to.equal(reference3);\n expect(root.resolvePath('/reference5')).to.equal(reference3);\n expect(root.get('reference4')).to.equal(reference3);\n expect(root.resolvePath('/reference4')).to.equal(reference3);\n expect(root.get('reference3')).to.equal(target);\n expect(root.resolvePath('/reference3')).to.equal(target);\n expect(root.get('reference2')).to.equal(target);\n expect(root.resolvePath('/reference2')).to.equal(target);\n expect(root.get('reference')).to.equal(target);\n expect(root.resolvePath('/reference')).to.equal(target);\n });\n\n\n it('should allow accessing nested paths', function () {\n reference.set(nodeTarget);\n\n expect(root.resolvePath('/reference.nested')).to.equal(nestedChild);\n expect(root.get(['reference', 'nested'])).to.equal(nestedChild);\n expect(root.resolvePath('/reference*.nested')).to.equal(undefined);\n expect(root.get(['reference', dereferenceToken, 'nested'])).to.equal(undefined);\n\n nestedChild.value = 'test_value';\n expect(root.resolvePath('/reference.nested').value).to.equal('test_value');\n });\n\n it('should allow accessing referenced maps', function () {\n reference.set(mapTarget);\n\n expect(root.resolvePath('/reference[nested]')).to.equal(nestedMapChild);\n expect(root.resolvePath('/reference*[nested]')).to.equal(undefined);\n });\n\n it('should allow accessing referenced arrays', function () {\n reference.set(arrayTarget);\n\n expect(root.resolvePath('/reference[0]')).to.equal(nestedArrayChild);\n expect(root.get(['reference', 0])).to.equal(nestedArrayChild);\n expect(root.resolvePath('/reference*[0]')).to.equal(undefined);\n });\n\n it('forwarding should work over multiple jumps', function () {\n reference.set(nodeTarget);\n reference2.set(reference);\n\n expect(root.resolvePath('/reference2.nested')).to.equal(nestedChild);\n });\n\n it('should continue to work when the reference or the referenced node changes', function () {\n reference.set(nodeTarget);\n expect(root.resolvePath('/reference.nested')).to.equal(nestedChild);\n expect(root.get(['reference', 'nested'])).to.equal(nestedChild);\n\n reference.set(nodeTarget2);\n expect(root.resolvePath('/reference.nested*')).to.equal(nestedChild2);\n expect(root.get(['reference', 'nested', dereferenceToken])).to.equal(nestedChild2);\n\n nodeTarget2.remove('nested');\n var newChild = PropertyFactory.create('String');\n nodeTarget2.insert('nested', newChild);\n expect(root.resolvePath('/reference.nested')).to.equal(newChild);\n expect(root.get(['reference', 'nested'])).to.equal(newChild);\n });\n\n it('should work with relative paths using getReferencedProperty', function () {\n relativeReference.setValue('../nodeTarget2');\n expect(relativeReference.get()).to.equal(nodeTarget2);\n });\n\n it('should work with relative paths using getReferencedProperty', function () {\n relativeReference.setValue('../nodeTarget2');\n expect(relativeReference.get()).to.equal(nodeTarget2);\n expect(relativeReference.ref).to.equal(nodeTarget2);\n });\n\n it('should work with multiple jumps with relative references', function () {\n relativeReference.setValue('../nodeTarget');\n relativeReference2.setValue('../nodeTarget.relativeReference');\n expect(root.resolvePath('/nodeTarget2.relativeReference2.nested')).to.equal(nestedChild);\n expect(root.get(['nodeTarget2', 'relativeReference2', 'nested'])).to.equal(nestedChild);\n expect(root.get(['nodeTarget2', 'relativeReference2'])).to.equal(nodeTarget);\n expect(root.get(['nodeTarget2', 'relativeReference2'],\n { referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NO_LEAFS })).to.equal(relativeReference2);\n expect(root.get(['nodeTarget2', 'relativeReference2', 'nested'],\n { referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NEVER })).to.equal(undefined);\n expect(root.get(['nodeTarget2', 'relativeReference2'],\n { referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NO_LEAFS }).get(['nested'])).to.equal(nestedChild);\n });\n\n\n it('should return undefined when going beyond the root', function () {\n relativeReference.setValue('../../nodeTarget2');\n expect(relativeReference.get()).to.be.undefined;\n });\n\n it('should clone', function () {\n var clone = relativeReference.clone();\n expect(relativeReference._serialize(false)).to.eql(clone._serialize(false));\n });\n\n it('get context should return single', function () {\n expect(reference.getContext()).to.equal('single');\n });\n\n it('getFullTypeid should work', function () {\n expect(reference.getFullTypeid()).to.equal('Reference<String>');\n expect(reference.getFullTypeid(false)).to.equal('Reference<String>');\n });\n\n it('isPrimitiveType should evaluate to true', function () {\n expect(reference.isPrimitiveType()).to.equal(true);\n });\n\n });\n });\n\n describe('ReferenceMapProperty', function () {\n it('should be possible to create', function () {\n // Test creation of an anonymous reference\n var reference = PropertyFactory.create('Reference', 'map');\n expect(reference).to.be.instanceof(ReferenceMapProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('BaseProperty');\n\n // Test creation of a typed reference\n var reference = PropertyFactory.create('Reference<NodeProperty>', 'map');\n expect(reference).to.be.instanceof(ReferenceMapProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('NodeProperty');\n\n // Test creation of a typed reference\n var reference = PropertyFactory.create('map<Reference<NodeProperty>>');\n expect(reference).to.be.instanceof(ReferenceMapProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('NodeProperty');\n\n // Test creation via a template\n var prop = PropertyFactory.create('autodesk.test:referencePropertyTest-1.0.0');\n expect(prop._properties.refMap_anon).to.be.instanceof(ReferenceMapProperty);\n expect(prop._properties.refMap_anon.getReferenceTargetTypeId()).to.equal('BaseProperty');\n expect(prop._properties.refMap).to.be.instanceof(ReferenceMapProperty);\n expect(prop._properties.refMap.getReferenceTargetTypeId()).to.equal('NodeProperty');\n });\n\n it('empty reference should resolve to undefined', function () {\n var reference = PropertyFactory.create('Reference', 'map');\n\n // It should work for missing entries\n expect(reference.get('missing')).to.be.undefined;\n\n // Explicitly setting it should have the same effect\n reference.insert('test', '');\n expect(reference.get('test')).to.be.undefined;\n });\n\n it('setting a referenced member to undefined should turn it into an empty string', function () {\n var reference = PropertyFactory.create('Reference', 'map');\n\n // First set it to something else than an empty reference\n reference.insert('test', '/test');\n\n // Now reset it via the referenced member\n reference.set('test', undefined);\n reference.insert('test2', undefined);\n\n // And check the result\n expect(reference.getValue('test')).to.equal('');\n expect(reference.getValue('test2')).to.equal('');\n expect(reference.get('test')).to.be.undefined;\n\n });\n\n it('setting a reference to a non absolute path should not throw', function () {\n var reference = PropertyFactory.create('Reference', 'map');\n expect(function () { reference.set('test', 'test'); }).to.not.throw();\n expect(function () { reference.insert('test2', 'test'); }).to.not.throw();\n });\n\n describe('Reference resolution', function () {\n var root, target, reference, reference2, reference3, reference4, relativeReference;\n var nodeTarget, nestedChild, nodeTarget2, nestedChild2;\n var mapTarget, nestedMapChild;\n var arrayTarget, nestedArrayChild;\n\n beforeEach(function () {\n root = PropertyFactory.create('NodeProperty');\n target = PropertyFactory.create('String');\n\n nodeTarget = PropertyFactory.create('NodeProperty');\n nestedChild = PropertyFactory.create('String');\n relativeReference = PropertyFactory.create('Reference<String>', 'map');\n nodeTarget.insert('nested', nestedChild);\n nodeTarget.insert('relativeReference', relativeReference);\n\n nodeTarget2 = PropertyFactory.create('NodeProperty');\n nestedChild2 = PropertyFactory.create('String');\n nodeTarget2.insert('nested', nestedChild2);\n\n mapTarget = PropertyFactory.create('map<>');\n nestedMapChild = PropertyFactory.create('String');\n mapTarget.insert('nested', nestedMapChild);\n\n arrayTarget = PropertyFactory.create('array<>');\n nestedArrayChild = PropertyFactory.create('String');\n arrayTarget.push(nestedArrayChild);\n\n reference = PropertyFactory.create('Reference<String>', 'map');\n reference2 = PropertyFactory.create('Reference<Reference>', 'map');\n reference3 = PropertyFactory.create('Reference<Reference>');\n reference4 = PropertyFactory.create('Reference<String>');\n\n root.insert('target', target);\n root.insert('nodeTarget', nodeTarget);\n root.insert('nodeTarget2', nodeTarget2);\n root.insert('mapTarget', mapTarget);\n root.insert('arrayTarget', arrayTarget);\n\n root.insert('reference', reference);\n root.insert('reference2', reference2);\n root.insert('reference3', reference3);\n root.insert('reference4', reference4);\n\n target.value = 'test';\n });\n\n it('should allow resolving references', function () {\n reference.setValue('test', '/target');\n\n expect(reference.get('test')).to.equal(target);\n expect(reference.get('test').value).to.equal('test');\n });\n\n it('@bugfix should allow dereferencing via a * with reference map property', function () {\n reference4.set(target);\n reference3.set('/reference4*');\n reference.setValue('test', '/reference3');\n reference.setValue('test2', '/reference3*');\n expect(reference.get('test')).to.equal(reference4);\n expect(reference.get('test2')).to.equal(reference3);\n });\n\n it('should support setting via set', function () {\n reference.set('test', target);\n\n expect(reference.get('test')).to.equal(target);\n expect(reference.get('test').value).to.equal('test');\n expect(reference.getValue('test')).to.equal('/target');\n });\n\n it('set (insert) with a Property should work', function () {\n reference.set('test', nestedChild);\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n });\n\n it('set (insert) with a path should work', function () {\n reference.set('test', '/nodeTarget.nested');\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n });\n\n it('set (insert) with something else should throw', function () {\n expect(function () { reference.set('test', 123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('set (modify) with a Property should work', function () {\n reference.set('test');\n expect(reference.getValue('test')).to.equal('');\n reference.set('test', nestedChild);\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n });\n\n it('set (modify) with a path should work', function () {\n reference.set('test');\n expect(reference.getValue('test')).to.equal('');\n reference.set('test', '/nodeTarget.nested');\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n });\n\n it('set (modify) with something else should throw', function () {\n reference.set('test');\n expect(reference.getValue('test')).to.equal('');\n expect(function () { reference.set('test', 123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('insert with a Property should work', function () {\n reference.insert('test', nestedChild);\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n });\n\n it('insert with a path should work', function () {\n reference.insert('test', '/nodeTarget.nested');\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n });\n\n it('insert with something else should throw', function () {\n expect(function () { reference.insert('test', 123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('setValues with Property and path should work', function () {\n reference.setValues([nestedChild, '/nodeTarget.nested']);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n expect(reference.getValue(1)).to.equal('/nodeTarget.nested');\n\n reference.setValues([undefined, '']);\n expect(reference.getValue(0)).to.equal('');\n expect(reference.getValue(1)).to.equal('');\n\n reference.setValues({ 'test': nestedChild, 'test2': '/nodeTarget.nested' });\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n expect(reference.getValue('test2')).to.equal('/nodeTarget.nested');\n });\n\n it('setValues with something else should throw', function () {\n expect(function () { reference.setValues({ 'test': 123 }); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('should have a working isReferenceValid', function () {\n // An empty reference should be valid\n reference.setValue('test', '');\n expect(reference.isReferenceValid('test')).to.be.true;\n\n // A reference to an existing property should be valid\n reference.set('test', target);\n expect(reference.isReferenceValid('test')).to.be.true;\n\n // A reference that cannot be resolved should be invalid\n reference.setValue('test', '/invalid_path');\n expect(reference.isReferenceValid('test')).to.be.false;\n });\n\n it('should allow dereferencing via the array syntax', function () {\n reference.set('test', target);\n expect(root.resolvePath('/reference[test]')).to.equal(target);\n });\n\n it('should allow accessing nested paths', function () {\n reference.insert('test', nodeTarget);\n expect(root.resolvePath('/reference[test].nested')).to.equal(nestedChild);\n });\n\n it('should allow accessing referenced maps', function () {\n reference.set('test', mapTarget);\n\n expect(root.resolvePath('/reference[test][nested]')).to.equal(nestedMapChild);\n });\n\n it('should allow accessing referenced arrays', function () {\n reference.set('test', arrayTarget);\n\n expect(root.resolvePath('/reference[test][0]')).to.equal(nestedArrayChild);\n });\n\n it('double dereferencing a reference should work', function () {\n reference.set('test', target);\n reference2.set('test', reference);\n\n expect(root.resolvePath('/reference2[test][test]')).to.equal(target);\n });\n\n it('mixing maps and normal maps should work', function () {\n reference.set('test', target);\n reference3.set(reference);\n\n expect(root.resolvePath('/reference3[test]')).to.equal(target);\n expect(root.resolvePath('/reference3*[test]')).to.equal(undefined);\n expect(root.get(['reference3', dereferenceToken, 'test'])).to.equal(undefined);\n\n reference.set('test', reference3);\n reference3.set(target);\n\n expect(root.resolvePath('/reference[test]')).to.equal(target);\n expect(root.resolvePath('/reference[test]*')).to.equal(reference3);\n expect(root.get(['reference', 'test', dereferenceToken]));\n });\n\n it('should continue to work when the reference or the referenced node changes', function () {\n reference.insert('test', nodeTarget);\n expect(root.resolvePath('/reference[test].nested')).to.equal(nestedChild);\n expect(reference.resolvePath('[test].nested')).to.equal(nestedChild);\n\n reference.set('test', nodeTarget2);\n expect(root.resolvePath('/reference[test].nested')).to.equal(nestedChild2);\n expect(reference.resolvePath('[test].nested')).to.equal(nestedChild2);\n\n nodeTarget2.remove('nested');\n var newChild = PropertyFactory.create('String');\n nodeTarget2.insert('nested', newChild);\n expect(reference.resolvePath('[test].nested')).to.equal(newChild);\n });\n\n it('should allow dereferencing via the array syntax using relative paths', function () {\n relativeReference.setValue('test', '../target');\n expect(root.resolvePath('/nodeTarget.relativeReference[test]')).to.equal(target);\n });\n\n\n it('remove should work and return the string path', function () {\n reference.insert('two', target);\n expect(reference.remove('two')).to.equal('/target');\n expect(reference.getValue('two')).to.be.undefined;\n });\n\n it('getValues should return a map containing path strings', function () {\n var newReference = PropertyFactory.create('Reference<String>', 'map');\n newReference.insert('one', target);\n newReference.insert('two', nodeTarget);\n expect(newReference.getValues()).to.deep.equal({\n 'one': '/target',\n 'two': '/nodeTarget'\n });\n });\n\n it('getContext should return map', function () {\n var newReference = PropertyFactory.create('Reference<String>', 'map');\n expect(newReference.getContext()).to.equal('map');\n });\n });\n });\n\n describe('ReferenceArrayProperty', function () {\n it('should be possible to create', function () {\n // Test creation of an anonymous reference\n var reference = PropertyFactory.create('Reference', 'array');\n expect(reference).to.be.instanceof(ReferenceArrayProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('BaseProperty');\n\n // Test creation of a typed reference\n var reference = PropertyFactory.create('Reference<NodeProperty>', 'array');\n expect(reference).to.be.instanceof(ReferenceArrayProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('NodeProperty');\n\n // Test creation of a typed reference\n var reference = PropertyFactory.create('array<Reference<NodeProperty>>');\n expect(reference).to.be.instanceof(ReferenceArrayProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('NodeProperty');\n\n // Test creation via a template\n var prop = PropertyFactory.create('autodesk.test:referencePropertyTest-1.0.0');\n expect(prop._properties.refArray_anon).to.be.instanceof(ReferenceArrayProperty);\n expect(prop._properties.refArray_anon.getReferenceTargetTypeId()).to.equal('BaseProperty');\n expect(prop._properties.refArray).to.be.instanceof(ReferenceArrayProperty);\n expect(prop._properties.refArray.getReferenceTargetTypeId()).to.equal('NodeProperty');\n });\n\n it('empty reference should resolve to undefined', function () {\n var reference = PropertyFactory.create('Reference', 'array');\n\n // Explicitly setting it should have the same effect\n reference.push('');\n expect(reference.get(0)).to.be.undefined;\n\n // Explicitly setting it should have the same effect\n reference.set(0, '');\n expect(reference.get(0)).to.be.undefined;\n expect(reference.getValue(0)).to.equal('');\n });\n\n it('setting a referenced member to undefined should turn it into an empty string', function () {\n var reference = PropertyFactory.create('Reference', 'array');\n\n // Test pushing a value\n reference.push(undefined);\n expect(reference.get(0)).to.equal(undefined);\n\n // First set it to something else than an empty reference\n reference.set(0, '/test');\n\n // Now reset it via the referenced member\n reference.set(0, undefined);\n\n // And check the result\n expect(reference.get(0)).to.equal(undefined);\n });\n\n it.skip('setting a reference to a non absolute path should not throw', function () {\n var reference = PropertyFactory.create('Reference', 'array');\n expect(function () { reference.push('test'); }).to.throw();\n expect(function () { reference.push(''); reference.set(0, 'test'); }).to.throw();\n });\n\n describe('Reference resolution', function () {\n var root, target, reference, reference2, reference3, relativeReference;\n var nodeTarget, nestedChild, nodeTarget2, nestedChild2;\n var mapTarget, nestedMapChild;\n var arrayTarget, nestedArrayChild;\n\n beforeEach(function () {\n root = PropertyFactory.create('NodeProperty');\n\n nodeTarget = PropertyFactory.create('NodeProperty');\n nestedChild = PropertyFactory.create('String');\n relativeReference = PropertyFactory.create('Reference<String>', 'array');\n nodeTarget.insert('nested', nestedChild);\n nodeTarget.insert('relativeReference', relativeReference);\n\n nodeTarget2 = PropertyFactory.create('NodeProperty');\n nestedChild2 = PropertyFactory.create('String');\n nodeTarget2.insert('nested', nestedChild2);\n\n mapTarget = PropertyFactory.create('map<>');\n nestedMapChild = PropertyFactory.create('String');\n mapTarget.insert('nested', nestedMapChild);\n\n arrayTarget = PropertyFactory.create('array<>');\n nestedArrayChild = PropertyFactory.create('String');\n arrayTarget.push(nestedArrayChild);\n\n target = PropertyFactory.create('String');\n reference = PropertyFactory.create('Reference<String>', 'array');\n reference2 = PropertyFactory.create('Reference<Reference>', 'array');\n reference3 = PropertyFactory.create('Reference<Reference>');\n\n root.insert('target', target);\n root.insert('nodeTarget', nodeTarget);\n root.insert('nodeTarget2', nodeTarget2);\n root.insert('mapTarget', mapTarget);\n root.insert('arrayTarget', arrayTarget);\n\n root.insert('reference', reference);\n root.insert('reference2', reference2);\n root.insert('reference3', reference3);\n\n target.value = 'test';\n });\n\n it('should allow resolving references', function () {\n reference.push('/target');\n\n expect(reference.get(0)).to.equal(target);\n expect(reference.get(0).value).to.equal('test');\n });\n\n it('should support setting via push', function () {\n reference.push(target);\n\n expect(reference.get(0)).to.equal(target);\n expect(reference.get(0).value).to.equal('test');\n // expect(reference.get(0)).to.equal('/target');\n // this last test will break when we get rid of getReferencedProperty. Fix when get supports '*'\n });\n\n it('should support setting via insert', function () {\n reference.insert(0, target);\n\n expect(reference.get(0)).to.equal(target);\n expect(reference.get(0).value).to.equal('test');\n // expect(reference.get(0)).to.equal('/target');\n // see comment above\n });\n\n it('should support setting via insertRange', function () {\n reference.insertRange(0, [target, nodeTarget]);\n\n expect(reference.get(0)).to.equal(target);\n expect(reference.get(0).value).to.equal('test');\n // expect(reference.get(0)).to.equal('/target');\n // see comment above\n expect(reference.get(1)).to.equal(nodeTarget);\n // expect(reference.get(1)).to.equal('/nodeTarget');\n // see comment above\n });\n\n it('should support setting via setRange', function () {\n reference.insertRange(0, ['', '']);\n reference.setRange(0, [target, nodeTarget]);\n\n expect(reference.get(0)).to.equal(target);\n expect(reference.get(0).value).to.equal('test');\n // expect(reference.get(0)).to.equal('/target');\n // see comment above\n expect(reference.get(1)).to.equal(nodeTarget);\n // expect(reference.get(1)).to.equal('/nodeTarget');\n // see comment above\n });\n\n it('should support setting via set', function () {\n reference.insertRange(0, ['', '']);\n reference.set(0, target);\n reference.set(1, nodeTarget);\n\n expect(reference.get(0)).to.equal(target);\n expect(reference.get(0).value).to.equal('test');\n // expect(reference.get(0)).to.equal('/target');\n // to fix once .get accepts '*' tokens\n expect(reference.get(1)).to.equal(nodeTarget);\n // expect(reference.get(1)).to.equal('/nodeTarget');\n // to fix once .get accepts '*' tokens\n });\n\n it('set with a Property should work', function () {\n reference.insert(0);\n expect(reference.getValue(0)).to.equal('');\n reference.set(0, nestedChild);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('set with a path should work', function () {\n reference.insert(0);\n expect(reference.getValue(0)).to.equal('');\n reference.set(0, '/nodeTarget.nested');\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('set with something else should throw', function () {\n reference.insert(0);\n expect(reference.getValue(0)).to.equal('');\n expect(function () { reference.set(0, 123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('set should throw if in_offset is not an integer', function () {\n reference.insert(0);\n expect(reference.getValue(0)).to.equal('');\n expect(function () { reference.set('test', '/nodeTarget.nested'); })\n .to.throw(MSG.NOT_NUMBER);\n });\n\n it('setRange with a Property and a path should work', function () {\n reference.insert(0);\n reference.insert(1);\n expect(reference.getValue(0)).to.equal('');\n expect(reference.getValue(1)).to.equal('');\n\n reference.setRange(0, [nestedChild, '/nodeTarget.nested']);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n expect(reference.getValue(1)).to.equal('/nodeTarget.nested');\n });\n\n it('setRange with something else should throw', function () {\n reference.insert(0);\n expect(reference.getValue(0)).to.equal('');\n expect(function () { reference.setRange(0, [123]); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('setRange should throw if in_offset is not an integer', function () {\n reference.insert(0);\n reference.insert(1);\n expect(reference.getValue(0)).to.equal('');\n expect(reference.getValue(1)).to.equal('');\n expect(function () { reference.setRange('test', [nestedChild, '/nodeTarget.nested']); })\n .to.throw(MSG.NOT_NUMBER);\n });\n\n it('insert with a Property should work', function () {\n reference.insert(0, nestedChild);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('insert with a path should work', function () {\n reference.insert(0, '/nodeTarget.nested');\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('insert with something else should throw', function () {\n expect(function () { reference.insert(0, 123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('insertRange with a Property and a path should work', function () {\n reference.insertRange(0, [nestedChild, '/nodeTarget.nested']);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n expect(reference.getValue(1)).to.equal('/nodeTarget.nested');\n });\n\n it('insertRange with something else should throw', function () {\n expect(function () { reference.insertRange(0, [123]); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('enqueue with a Property should work', function () {\n reference.enqueue(nestedChild);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('enqueue with a path should work', function () {\n reference.enqueue('/nodeTarget.nested');\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('enqueue with something else should throw', function () {\n expect(function () { reference.enqueue(123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('push with a Property should work', function () {\n reference.push(nestedChild);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('push with a path should work', function () {\n reference.push('/nodeTarget.nested');\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('push with something else should throw', function () {\n expect(function () { reference.push(123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('unshift with a Property should work', function () {\n reference.unshift(nestedChild);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('unshift with a path should work', function () {\n reference.unshift('/nodeTarget.nested');\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('unshift with something else should throw', function () {\n expect(function () { reference.unshift(123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('setValues with Property and path should work', function () {\n reference.setValues([nestedChild, '/nodeTarget.nested']);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n expect(reference.getValue(1)).to.equal('/nodeTarget.nested');\n\n reference.setValues([undefined, '']);\n expect(reference.getValue(0)).to.equal('');\n expect(reference.getValue(1)).to.equal('');\n\n reference.setValues({ 0: nestedChild, 1: '/nodeTarget.nested' });\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n expect(reference.getValue(1)).to.equal('/nodeTarget.nested');\n });\n\n it('setValues with something else should throw', function () {\n expect(function () { reference.setValues({ 0: 123 }); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('should have a working isReferenceValid', function () {\n // An empty reference should be valid\n reference.push('');\n expect(reference.isReferenceValid(0)).to.be.true;\n\n // A reference to an existing property should be valid\n reference.set(0, target);\n expect(reference.isReferenceValid(0)).to.be.true;\n\n // A reference that cannot be resolved should be invalid\n reference.set(0, '/invalid_path');\n expect(reference.isReferenceValid(0)).to.be.false;\n });\n\n it('should allow dereferencing via the array syntax', function () {\n reference.push(target);\n\n expect(root.resolvePath('/reference[0]')).to.equal(target);\n });\n\n it('should allow accessing nested paths', function () {\n reference.push(nodeTarget);\n\n expect(root.resolvePath('/reference[0].nested')).to.equal(nestedChild);\n });\n\n it('should allow accessing referenced maps', function () {\n reference.push(mapTarget);\n\n expect(root.resolvePath('/reference[0][nested]')).to.equal(nestedMapChild);\n });\n\n it('should allow accessing referenced arrays', function () {\n reference.push(arrayTarget);\n\n expect(root.resolvePath('/reference[0][0]')).to.equal(nestedArrayChild);\n });\n\n it('double dereferencing a reference should work', function () {\n reference.push(target);\n reference2.push(reference);\n\n expect(root.resolvePath('/reference2[0][0]')).to.equal(target);\n });\n\n it('mixing references and array references should work', function () {\n reference.push(target);\n reference3.set(reference);\n\n expect(root.resolvePath('/reference3[0]')).to.equal(target);\n expect(root.resolvePath('/reference3*[0]')).to.equal(undefined);\n\n reference.set(0, reference3);\n reference3.set(target);\n\n expect(root.resolvePath('/reference[0]')).to.equal(target);\n expect(root.resolvePath('/reference[0]*')).to.equal(reference3);\n });\n\n it('should continue to work when the reference or the referenced node changes', function () {\n reference.push(nodeTarget);\n\n expect(root.resolvePath('/reference[0].nested')).to.equal(nestedChild);\n expect(reference.resolvePath('[0].nested')).to.equal(nestedChild);\n\n reference.set(0, nodeTarget2);\n expect(root.resolvePath('/reference[0].nested')).to.equal(nestedChild2);\n expect(reference.resolvePath('[0].nested')).to.equal(nestedChild2);\n\n nodeTarget2.remove('nested');\n var newChild = PropertyFactory.create('String');\n nodeTarget2.insert('nested', newChild);\n expect(reference.resolvePath('[0].nested')).to.equal(newChild);\n });\n\n it('should allow dereferencing via the array syntax using relative paths', function () {\n relativeReference.push('../target');\n expect(root.resolvePath('/nodeTarget.relativeReference[0]')).to.equal(target);\n });\n\n it('Should return references value when a reference points to a context simple property', function () {\n let test = PropertyFactory.create('NodeProperty');\n let ref = PropertyFactory.create('Reference');\n let nameProperty = PropertyFactory.create('NamedProperty');\n test.insert('b', nameProperty);\n test.insert('reference', ref);\n test.resolvePath('reference*').set(nameProperty);\n expect(test.getValues()).to.deep.equal({\n b: {\n guid: nameProperty.getGuid()\n },\n reference: {\n guid: nameProperty.getGuid()\n }\n });\n });\n\n it('.pop should work', function () {\n reference.insertRange(0, [target, nodeTarget]);\n expect(reference.length).to.equal(2);\n reference.pop();\n expect(reference.length).to.equal(1);\n expect(reference.pop()).to.equal('/target');\n });\n it('.remove and .removeRange should work', function () {\n reference.insertRange(0, [target, nodeTarget]);\n expect(reference.length).to.equal(2);\n expect(reference.remove(0)).to.equal('/target');\n expect(reference.length).to.equal(1);\n reference.insert(1, target);\n expect(reference.removeRange(0, 2)).to.deep.equal(['/nodeTarget', '/target']);\n expect(reference.length).to.equal(0);\n });\n it('.getValues should work', function () {\n reference.insertRange(0, [target, nodeTarget]);\n expect(reference.getValues()).to.deep.equal(['/target', '/nodeTarget']);\n });\n });\n });\n\n describe('Changeset tests', function () {\n var root;\n beforeEach(function () {\n root = PropertyFactory.create('NodeProperty');\n root.insert('template', PropertyFactory.create('autodesk.test:referencePropertyTest-1.0.0'));\n root.insert('reference', PropertyFactory.create('Reference<String>'));\n root.insert('referenceMap', PropertyFactory.create('Reference<String>', 'map'));\n root.insert('referenceArray', PropertyFactory.create('Reference<String>', 'array'));\n\n root.insert('reference_anon', PropertyFactory.create('Reference'));\n root.insert('referenceMap_anon', PropertyFactory.create('Reference', 'map'));\n root.insert('referenceArray_anon', PropertyFactory.create('Reference', 'array'));\n\n root.insert('target', PropertyFactory.create('String'));\n\n var target = root._properties.target;\n\n root._properties.reference.set(target);\n root._properties.referenceMap.set('entry', target);\n root._properties.referenceArray.push(target);\n\n root._properties.reference_anon.set(target);\n root._properties.referenceMap_anon.set('entry', target);\n root._properties.referenceArray_anon.push(target);\n\n root._properties.template.ref.set(target);\n root._properties.template.refMap.set('entry', target);\n root._properties.template.refArray.push(target);\n\n root._properties.template.ref_anon.set(target);\n root._properties.template.refMap_anon.set('entry', target);\n root._properties.template.refArray_anon.push(target);\n });\n\n it('serialize and deserialize should work', function () {\n var root2 = PropertyFactory.create('NodeProperty');\n root2.deserialize(root.serialize());\n expect(root.serialize({ 'dirtyOnly': false })).to.deep.equal(root.serialize({ 'dirtyOnly': false }));\n\n var root2Target = root2._properties.target;\n expect(root2._properties.reference.get()).to.deep.equal(root2Target);\n expect(root2._properties.referenceMap.get('entry')).to.deep.equal(root2Target);\n expect(root2._properties.referenceArray.get()).to.deep.equal(root2Target);\n\n expect(root2._properties.reference_anon.get()).to.deep.equal(root2Target);\n expect(root2._properties.referenceMap_anon.get('entry')).to.deep.equal(root2Target);\n expect(root2._properties.referenceArray_anon.get()).to.deep.equal(root2Target);\n\n expect(root2._properties.template.ref.get()).to.deep.equal(root2Target);\n expect(root2._properties.template.refMap.get('entry')).to.deep.equal(root2Target);\n expect(root2._properties.template.refArray.get()).to.deep.equal(root2Target);\n\n expect(root2._properties.template.ref_anon.get()).to.deep.equal(root2Target);\n expect(root2._properties.template.refMap_anon.get('entry')).to.deep.equal(root2Target);\n expect(root2._properties.template.refArray_anon.get()).to.deep.equal(root2Target);\n });\n\n it('squash should work', function () {\n var CS1 = root.serialize({ 'dirtyOnly': false });\n root.cleanDirty();\n\n root.insert('target2', PropertyFactory.create('String'));\n var target2 = root._properties.target2;\n\n // Set everything to the new target\n root._properties.reference.set(target2);\n root._properties.referenceMap.set('entry', target2);\n root._properties.referenceArray.set(0, target2);\n root._properties.referenceArray.push(target2);\n\n root._properties.reference_anon.set(target2);\n root._properties.referenceMap_anon.set('entry', target2);\n root._properties.referenceArray_anon.set(0, target2);\n root._properties.referenceArray_anon.push(target2);\n\n root._properties.template.ref.set(target2);\n root._properties.template.refMap.set('entry', target2);\n root._properties.referenceArray_anon.set(0, target2);\n root._properties.template.refArray.push(target2);\n\n root._properties.template.ref_anon.set(target2);\n root._properties.template.refMap_anon.set('entry', target2);\n root._properties.referenceArray_anon.set(0, target2);\n root._properties.template.refArray_anon.push(target2);\n var CS2 = root.serialize({ 'dirtyOnly': true });\n var squashed = new ChangeSet(CS1);\n squashed.applyChangeSet(CS2);\n expect(squashed.getSerializedChangeSet()).to.deep.equal(root.serialize({ 'dirtyOnly': false }));\n });\n\n it('rebase should work', function () {\n root.cleanDirty();\n\n root.insert('target2', PropertyFactory.create('String'));\n root.cleanDirty();\n var target2 = root._properties.target2;\n\n // Set everything to the new target\n root._properties.reference.set(target2);\n root._properties.referenceMap.setValue('entry', target2);\n\n root._properties.reference_anon.set(target2);\n root._properties.referenceMap_anon.setValue('entry', target2);\n root._properties.referenceArray_anon.set(0, target2);\n\n root._properties.template.ref.set(target2);\n root._properties.template.refMap.setValue('entry', target2);\n root._properties.referenceArray_anon.set(0, target2);\n\n root._properties.template.ref_anon.set(target2);\n root._properties.template.refMap_anon.setValue('entry', target2);\n root._properties.referenceArray_anon.set(0, target2);\n\n var CS1 = root.serialize({ 'dirtyOnly': true });\n var CS2 = root.serialize({ 'dirtyOnly': true });\n var rebased = new ChangeSet(CS1);\n\n var conflicts = [];\n rebased._rebaseChangeSet(CS2, conflicts);\n\n // each of the set commands should report a conflict\n expect(conflicts.length).to.equal(8);\n for (var i = 0; i < conflicts.length; i++) {\n expect(conflicts[i].type).to.equal(ChangeSet.ConflictType.COLLIDING_SET);\n }\n\n root.cleanDirty();\n root._properties.referenceArray.push(target2);\n root._properties.referenceArray_anon.push(target2);\n root._properties.template.refArray.push(target2);\n root._properties.template.refArray_anon.push(target2);\n\n CS1 = root.serialize({ 'dirtyOnly': true });\n CS2 = root.serialize({ 'dirtyOnly': true });\n rebased = new ChangeSet(CS1);\n conflicts = [];\n rebased._rebaseChangeSet(CS2, conflicts);\n expect(conflicts.length).to.equal(4);\n for (var i = 0; i < conflicts.length; i++) {\n expect(conflicts[i].type).to.equal(ChangeSet.ConflictType.INSERTED_ENTRY_WITH_SAME_KEY);\n }\n });\n\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"referenceProperty.spec.js","sourceRoot":"","sources":["../../../src/test/properties/referenceProperty.spec.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,2CAA2C;AAC3C,yCAAyC;AACzC;;;;;GAKG;AACH,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC,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I,CAAC,OAAO,CAAC,CAAC;YACnD,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACjD,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAEtD,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;YAC5C,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;YAC5C,OAAO,GAAG,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC;YAC7B,SAAS,GAAG,EAAE,CAAC;YACf,OAAO,CAAC,gBAAgB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YACzC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBACvC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,YAAY,CAAC,4BAA4B,CAAC,CAAC;aAC3F;QACL,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/* eslint-disable no-unused-expressions */\n/* eslint-disable max-nested-callbacks */\n/**\n * @fileoverview In this file, we will test the reference properties\n * described in /src/properties/referenceProperty.js,\n * /src/properties/referenceArrayProperty.js,\n * /src/properties/referenceMapProperty.js\n */\nconst { ChangeSet } = require('@fluid-experimental/property-changeset');\nconst { MSG } = require('@fluid-experimental/property-common').constants;\nconst { BaseProperty } = require('../..');\nconst { PropertyFactory } = require('../..');\nconst { ReferenceProperty } = require('../../properties/referenceProperty');\nconst { ReferenceMapProperty } = require('../../properties/referenceMapProperty');\nconst { ReferenceArrayProperty } = require('../../properties/referenceArrayProperty');\n\ndescribe('Reference Properties', function() {\n var dereferenceToken;\n\n before(function() {\n dereferenceToken = BaseProperty.PATH_TOKENS.REF;\n\n // A template that contains all types of reference properties\n var referencePropertyTestTemplate = {\n typeid: 'autodesk.test:referencePropertyTest-1.0.0',\n properties: [\n { id: 'ref', typeid: 'Reference<NodeProperty>' },\n { id: 'ref_anon', typeid: 'Reference' },\n { id: 'refArray', typeid: 'Reference<NodeProperty>', context: 'array' },\n { id: 'refArray_anon', typeid: 'Reference', context: 'array' },\n { id: 'refMap', typeid: 'Reference<NodeProperty>', context: 'map' },\n { id: 'refMap_anon', typeid: 'Reference', context: 'map' },\n ],\n };\n\n PropertyFactory._reregister(referencePropertyTestTemplate);\n });\n\n describe('ReferenceProperty', function() {\n it('should be possible to create', function() {\n // Test creation of an anonymous reference\n var reference = PropertyFactory.create('Reference');\n expect(reference).to.be.instanceof(ReferenceProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('BaseProperty');\n\n // Test creation of a typed reference\n var reference = PropertyFactory.create('Reference<NodeProperty>');\n expect(reference).to.be.instanceof(ReferenceProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('NodeProperty');\n\n // Test creation via a template\n var prop = PropertyFactory.create('autodesk.test:referencePropertyTest-1.0.0');\n expect(prop._properties.ref_anon).to.be.instanceof(ReferenceProperty);\n expect(prop._properties.ref_anon.getReferenceTargetTypeId()).to.equal('BaseProperty');\n expect(prop._properties.ref).to.be.instanceof(ReferenceProperty);\n expect(prop._properties.ref.getReferenceTargetTypeId()).to.equal('NodeProperty');\n });\n\n it('empty reference should resolve to undefined', function() {\n var reference = PropertyFactory.create('Reference');\n\n // It should work with the default value\n expect(reference.referenced).to.be.undefined;\n expect(reference.get()).to.be.undefined;\n\n // Explicitly setting it should have the same effect\n reference.value = '';\n expect(reference.referenced).to.be.undefined;\n expect(reference.get()).to.be.undefined;\n });\n\n it('setting a referenced member to undefined should turn it into an empty string', function() {\n var reference = PropertyFactory.create('Reference');\n\n // First set it to something else than an empty reference\n reference.value = '/test';\n\n // Now reset it via the referenced member\n reference.ref = undefined;\n // And check the result\n expect(reference.value).to.equal('');\n expect(reference.ref).to.be.undefined;\n });\n\n it('setting a reference to a non absolute path should not throw', function() {\n var reference = PropertyFactory.create('Reference');\n expect(function() { reference.value = 'test'; }).to.not.throw();\n });\n\n it('.get should work to resolve the referenced property', function() {\n var root = PropertyFactory.create('NodeProperty');\n var reference = PropertyFactory.create('Reference<String>');\n var target = PropertyFactory.create('String');\n var node = PropertyFactory.create('NodeProperty');\n var nodeTarget = PropertyFactory.create('String');\n root.insert('target', target);\n root.insert('reference', reference);\n root.insert('node', node);\n node.insert('target', nodeTarget);\n\n reference.set(target);\n expect(root.get('reference')).to.equal(target);\n\n // checking that a primitive value for in_options is ignored:\n expect(root.get('reference', 'string')).to.equal(target);\n\n expect(root.get('reference', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.ALWAYS,\n })).to.equal(target);\n expect(root.get('reference', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NEVER,\n })).to.equal(reference);\n expect(root.get('reference', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NO_LEAFS,\n })).to.equal(reference);\n\n reference.set(node);\n expect(root.get(['reference', 'target'], {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.ALWAYS,\n })).to.equal(nodeTarget);\n expect(root.get(['reference', 'target'], {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NEVER,\n })).to.equal(undefined);\n expect(root.get(['reference', 'target'], {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NO_LEAFS,\n })).to.equal(nodeTarget);\n });\n\n it('.get should work with different types of input', function() {\n var root = PropertyFactory.create('NodeProperty');\n var reference = PropertyFactory.create('Reference<String>');\n var node = PropertyFactory.create('NodeProperty');\n var nodeTarget = PropertyFactory.create('String');\n root.insert('reference', reference);\n root.insert('node', node);\n node.insert('target', nodeTarget);\n reference.set(node);\n expect(reference.get()).to.equal(node);\n expect(reference.get('')).to.equal(node);\n expect(reference.get(['target'])).to.equal(nodeTarget);\n expect(reference.get('target')).to.equal(node);\n expect(reference.get([])).to.equal(reference);\n });\n\n it('.get should return undefined with invalid reference', function() {\n var root = PropertyFactory.create('NodeProperty');\n var reference = PropertyFactory.create('Reference<String>');\n var node = PropertyFactory.create('NodeProperty');\n var nodeTarget = PropertyFactory.create('String');\n\n // when reference is not inserted to the tree\n root.insert('node', node);\n node.insert('target', nodeTarget);\n reference.set(node);\n expect(reference.get(['target'])).to.undefined;\n\n // with invalid reference input\n root.insert('reference', reference);\n reference.set('invalid_node');\n expect(reference.get(['target'])).to.undefined;\n\n // dereference property is removed\n reference.set('node');\n expect(reference.get(['target'])).to.equal(nodeTarget);\n node.remove('target');\n expect(reference.get(['target'])).to.undefined;\n });\n\n it('.resolvePath should work to resolve the referenced property', function() {\n var root = PropertyFactory.create('NodeProperty');\n var reference = PropertyFactory.create('Reference<String>');\n var target = PropertyFactory.create('String');\n var node = PropertyFactory.create('NodeProperty');\n var nodeTarget = PropertyFactory.create('String');\n root.insert('target', target);\n root.insert('reference', reference);\n root.insert('node', node);\n node.insert('target', nodeTarget);\n\n reference.set(target);\n expect(root.resolvePath('reference')).to.equal(target);\n expect(root.resolvePath('reference', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.ALWAYS,\n })).to.equal(target);\n expect(root.resolvePath('reference', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NEVER,\n })).to.equal(reference);\n expect(root.resolvePath('reference', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NO_LEAFS,\n })).to.equal(reference);\n\n reference.set(node);\n expect(root.resolvePath('reference.target', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.ALWAYS,\n })).to.equal(nodeTarget);\n expect(root.resolvePath('reference.target', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NEVER,\n })).to.equal(undefined);\n expect(root.resolvePath('reference.target', {\n referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NO_LEAFS,\n })).to.equal(nodeTarget);\n });\n\n describe('Reference resolution', function() {\n var root, target, reference, reference2, relativeReference, relativeReference2;\n var nodeTarget, nestedChild, nodeTarget2, nestedChild2;\n var mapTarget, nestedMapChild;\n var arrayTarget, nestedArrayChild;\n\n beforeEach(function() {\n root = PropertyFactory.create('NodeProperty');\n\n nodeTarget = PropertyFactory.create('NodeProperty');\n nestedChild = PropertyFactory.create('String');\n relativeReference = PropertyFactory.create('Reference<String>');\n nodeTarget.insert('nested', nestedChild);\n nodeTarget.insert('relativeReference', relativeReference);\n\n nodeTarget2 = PropertyFactory.create('NodeProperty');\n nestedChild2 = PropertyFactory.create('String');\n relativeReference2 = PropertyFactory.create('Reference<Reference>');\n nodeTarget2.insert('nested', nestedChild2);\n nodeTarget2.insert('relativeReference2', relativeReference2);\n\n mapTarget = PropertyFactory.create('map<>');\n nestedMapChild = PropertyFactory.create('String');\n mapTarget.insert('nested', nestedMapChild);\n\n arrayTarget = PropertyFactory.create('array<>');\n nestedArrayChild = PropertyFactory.create('String');\n arrayTarget.push(nestedArrayChild);\n\n target = PropertyFactory.create('String');\n reference = PropertyFactory.create('Reference<String>');\n reference2 = PropertyFactory.create('Reference<Reference>');\n\n root.insert('target', target);\n root.insert('nodeTarget', nodeTarget);\n root.insert('nodeTarget2', nodeTarget2);\n root.insert('mapTarget', mapTarget);\n root.insert('arrayTarget', arrayTarget);\n\n root.insert('reference', reference);\n root.insert('reference2', reference2);\n\n target.value = 'test';\n });\n\n it('should allow resolving references', function() {\n reference.value = '/target';\n\n expect(reference.ref).to.equal(target);\n expect(reference.ref.value).to.equal('test');\n });\n\n it('should support setting via set', function() {\n reference.set(target);\n\n expect(reference.ref).to.equal(target);\n expect(reference.ref.value).to.equal('test');\n expect(reference.value).to.equal('/target');\n });\n\n it('set with a Property should work', function() {\n reference.set(nestedChild);\n expect(reference.getValue()).to.equal('/nodeTarget.nested');\n });\n\n it('set with a path should work', function() {\n reference.set('/nodeTarget.nested');\n expect(reference.getValue()).to.equal('/nodeTarget.nested');\n });\n\n it('set with something else should throw', function() {\n expect(function() { reference.set(123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('setValue with a Property should work', function() {\n reference.setValue(nestedChild);\n expect(reference.getValue()).to.equal('/nodeTarget.nested');\n });\n\n it('setValue with a path should work', function() {\n reference.setValue('/nodeTarget.nested');\n expect(reference.getValue()).to.equal('/nodeTarget.nested');\n });\n\n it('setValue with something else should throw', function() {\n expect(function() { reference.setValue(123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('should have a working isReferenceValid', function() {\n // An empty reference should be valid\n reference.value = '';\n expect(reference.isReferenceValid()).to.be.true;\n\n // A reference to an existing property should be valid\n reference.set(target);\n expect(reference.isReferenceValid()).to.be.true;\n\n // A reference that cannot be resolved should be invalid\n reference.value = '/invalid_path';\n expect(reference.isReferenceValid()).to.be.false;\n });\n\n it('should allow dereferencing via a *', function() {\n reference.set(target);\n expect(root.resolvePath('/reference')).to.equal(target);\n expect(root.resolvePath('/reference*')).to.equal(reference);\n expect(root.get('reference', { referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NEVER }))\n .to.equal(reference);\n expect(root.get(['reference', dereferenceToken])).to.equal(reference);\n });\n\n it('should allow dereferencing via a * with nested reference property', function() {\n reference.set(target);\n reference2.set('/reference*');\n expect(root.get('reference2')).to.equal(reference);\n expect(root.resolvePath('/reference2')).to.equal(reference);\n });\n\n it('should allow dereferencing via multiple jumps', function() {\n let reference3 = PropertyFactory.create('Reference');\n let reference4 = PropertyFactory.create('Reference');\n let reference5 = PropertyFactory.create('Reference');\n root.insert('reference3', reference3);\n root.insert('reference4', reference4);\n root.insert('reference5', reference5);\n reference.set(target);\n reference2.set('reference');\n reference3.set('reference2');\n reference4.set('reference3');\n reference5.set('reference4');\n expect(root.get('reference5')).to.equal(target);\n expect(root.resolvePath('/reference5')).to.equal(target);\n expect(root.get('reference4')).to.equal(target);\n expect(root.resolvePath('/reference4')).to.equal(target);\n expect(root.get('reference3')).to.equal(target);\n expect(root.resolvePath('/reference3')).to.equal(target);\n expect(root.get('reference2')).to.equal(target);\n expect(root.resolvePath('/reference2')).to.equal(target);\n expect(root.get('reference')).to.equal(target);\n expect(root.resolvePath('/reference')).to.equal(target);\n });\n\n it('should allow dereferencing via * multiple jumps', function() {\n let reference3 = PropertyFactory.create('Reference');\n let reference4 = PropertyFactory.create('Reference');\n let reference5 = PropertyFactory.create('Reference');\n root.insert('reference3', reference3);\n root.insert('reference4', reference4);\n root.insert('reference5', reference5);\n reference.set(target);\n reference2.set('reference');\n reference3.set('reference2');\n reference4.set('reference3*');\n reference5.set('reference4');\n expect(root.get('reference5')).to.equal(reference3);\n expect(root.resolvePath('/reference5')).to.equal(reference3);\n expect(root.get('reference4')).to.equal(reference3);\n expect(root.resolvePath('/reference4')).to.equal(reference3);\n expect(root.get('reference3')).to.equal(target);\n expect(root.resolvePath('/reference3')).to.equal(target);\n expect(root.get('reference2')).to.equal(target);\n expect(root.resolvePath('/reference2')).to.equal(target);\n expect(root.get('reference')).to.equal(target);\n expect(root.resolvePath('/reference')).to.equal(target);\n });\n\n it('should allow accessing nested paths', function() {\n reference.set(nodeTarget);\n\n expect(root.resolvePath('/reference.nested')).to.equal(nestedChild);\n expect(root.get(['reference', 'nested'])).to.equal(nestedChild);\n expect(root.resolvePath('/reference*.nested')).to.equal(undefined);\n expect(root.get(['reference', dereferenceToken, 'nested'])).to.equal(undefined);\n\n nestedChild.value = 'test_value';\n expect(root.resolvePath('/reference.nested').value).to.equal('test_value');\n });\n\n it('should allow accessing referenced maps', function() {\n reference.set(mapTarget);\n\n expect(root.resolvePath('/reference[nested]')).to.equal(nestedMapChild);\n expect(root.resolvePath('/reference*[nested]')).to.equal(undefined);\n });\n\n it('should allow accessing referenced arrays', function() {\n reference.set(arrayTarget);\n\n expect(root.resolvePath('/reference[0]')).to.equal(nestedArrayChild);\n expect(root.get(['reference', 0])).to.equal(nestedArrayChild);\n expect(root.resolvePath('/reference*[0]')).to.equal(undefined);\n });\n\n it('forwarding should work over multiple jumps', function() {\n reference.set(nodeTarget);\n reference2.set(reference);\n\n expect(root.resolvePath('/reference2.nested')).to.equal(nestedChild);\n });\n\n it('should continue to work when the reference or the referenced node changes', function() {\n reference.set(nodeTarget);\n expect(root.resolvePath('/reference.nested')).to.equal(nestedChild);\n expect(root.get(['reference', 'nested'])).to.equal(nestedChild);\n\n reference.set(nodeTarget2);\n expect(root.resolvePath('/reference.nested*')).to.equal(nestedChild2);\n expect(root.get(['reference', 'nested', dereferenceToken])).to.equal(nestedChild2);\n\n nodeTarget2.remove('nested');\n var newChild = PropertyFactory.create('String');\n nodeTarget2.insert('nested', newChild);\n expect(root.resolvePath('/reference.nested')).to.equal(newChild);\n expect(root.get(['reference', 'nested'])).to.equal(newChild);\n });\n\n it('should work with relative paths using getReferencedProperty', function() {\n relativeReference.setValue('../nodeTarget2');\n expect(relativeReference.get()).to.equal(nodeTarget2);\n });\n\n it('should work with relative paths using getReferencedProperty', function() {\n relativeReference.setValue('../nodeTarget2');\n expect(relativeReference.get()).to.equal(nodeTarget2);\n expect(relativeReference.ref).to.equal(nodeTarget2);\n });\n\n it('should work with multiple jumps with relative references', function() {\n relativeReference.setValue('../nodeTarget');\n relativeReference2.setValue('../nodeTarget.relativeReference');\n expect(root.resolvePath('/nodeTarget2.relativeReference2.nested')).to.equal(nestedChild);\n expect(root.get(['nodeTarget2', 'relativeReference2', 'nested'])).to.equal(nestedChild);\n expect(root.get(['nodeTarget2', 'relativeReference2'])).to.equal(nodeTarget);\n expect(root.get(['nodeTarget2', 'relativeReference2'],\n { referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NO_LEAFS })).to.equal(relativeReference2);\n expect(root.get(['nodeTarget2', 'relativeReference2', 'nested'],\n { referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NEVER })).to.equal(undefined);\n expect(root.get(['nodeTarget2', 'relativeReference2'],\n { referenceResolutionMode: BaseProperty.REFERENCE_RESOLUTION.NO_LEAFS }).get(['nested'])).to.equal(nestedChild);\n });\n\n it('should return undefined when going beyond the root', function() {\n relativeReference.setValue('../../nodeTarget2');\n expect(relativeReference.get()).to.be.undefined;\n });\n\n it('should clone', function() {\n var clone = relativeReference.clone();\n expect(relativeReference._serialize(false)).to.eql(clone._serialize(false));\n });\n\n it('get context should return single', function() {\n expect(reference.getContext()).to.equal('single');\n });\n\n it('getFullTypeid should work', function() {\n expect(reference.getFullTypeid()).to.equal('Reference<String>');\n expect(reference.getFullTypeid(false)).to.equal('Reference<String>');\n });\n\n it('isPrimitiveType should evaluate to true', function() {\n expect(reference.isPrimitiveType()).to.equal(true);\n });\n });\n });\n\n describe('ReferenceMapProperty', function() {\n it('should be possible to create', function() {\n // Test creation of an anonymous reference\n var reference = PropertyFactory.create('Reference', 'map');\n expect(reference).to.be.instanceof(ReferenceMapProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('BaseProperty');\n\n // Test creation of a typed reference\n var reference = PropertyFactory.create('Reference<NodeProperty>', 'map');\n expect(reference).to.be.instanceof(ReferenceMapProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('NodeProperty');\n\n // Test creation of a typed reference\n var reference = PropertyFactory.create('map<Reference<NodeProperty>>');\n expect(reference).to.be.instanceof(ReferenceMapProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('NodeProperty');\n\n // Test creation via a template\n var prop = PropertyFactory.create('autodesk.test:referencePropertyTest-1.0.0');\n expect(prop._properties.refMap_anon).to.be.instanceof(ReferenceMapProperty);\n expect(prop._properties.refMap_anon.getReferenceTargetTypeId()).to.equal('BaseProperty');\n expect(prop._properties.refMap).to.be.instanceof(ReferenceMapProperty);\n expect(prop._properties.refMap.getReferenceTargetTypeId()).to.equal('NodeProperty');\n });\n\n it('empty reference should resolve to undefined', function() {\n var reference = PropertyFactory.create('Reference', 'map');\n\n // It should work for missing entries\n expect(reference.get('missing')).to.be.undefined;\n\n // Explicitly setting it should have the same effect\n reference.insert('test', '');\n expect(reference.get('test')).to.be.undefined;\n });\n\n it('setting a referenced member to undefined should turn it into an empty string', function() {\n var reference = PropertyFactory.create('Reference', 'map');\n\n // First set it to something else than an empty reference\n reference.insert('test', '/test');\n\n // Now reset it via the referenced member\n reference.set('test', undefined);\n reference.insert('test2', undefined);\n\n // And check the result\n expect(reference.getValue('test')).to.equal('');\n expect(reference.getValue('test2')).to.equal('');\n expect(reference.get('test')).to.be.undefined;\n });\n\n it('setting a reference to a non absolute path should not throw', function() {\n var reference = PropertyFactory.create('Reference', 'map');\n expect(function() { reference.set('test', 'test'); }).to.not.throw();\n expect(function() { reference.insert('test2', 'test'); }).to.not.throw();\n });\n\n describe('Reference resolution', function() {\n var root, target, reference, reference2, reference3, reference4, relativeReference;\n var nodeTarget, nestedChild, nodeTarget2, nestedChild2;\n var mapTarget, nestedMapChild;\n var arrayTarget, nestedArrayChild;\n\n beforeEach(function() {\n root = PropertyFactory.create('NodeProperty');\n target = PropertyFactory.create('String');\n\n nodeTarget = PropertyFactory.create('NodeProperty');\n nestedChild = PropertyFactory.create('String');\n relativeReference = PropertyFactory.create('Reference<String>', 'map');\n nodeTarget.insert('nested', nestedChild);\n nodeTarget.insert('relativeReference', relativeReference);\n\n nodeTarget2 = PropertyFactory.create('NodeProperty');\n nestedChild2 = PropertyFactory.create('String');\n nodeTarget2.insert('nested', nestedChild2);\n\n mapTarget = PropertyFactory.create('map<>');\n nestedMapChild = PropertyFactory.create('String');\n mapTarget.insert('nested', nestedMapChild);\n\n arrayTarget = PropertyFactory.create('array<>');\n nestedArrayChild = PropertyFactory.create('String');\n arrayTarget.push(nestedArrayChild);\n\n reference = PropertyFactory.create('Reference<String>', 'map');\n reference2 = PropertyFactory.create('Reference<Reference>', 'map');\n reference3 = PropertyFactory.create('Reference<Reference>');\n reference4 = PropertyFactory.create('Reference<String>');\n\n root.insert('target', target);\n root.insert('nodeTarget', nodeTarget);\n root.insert('nodeTarget2', nodeTarget2);\n root.insert('mapTarget', mapTarget);\n root.insert('arrayTarget', arrayTarget);\n\n root.insert('reference', reference);\n root.insert('reference2', reference2);\n root.insert('reference3', reference3);\n root.insert('reference4', reference4);\n\n target.value = 'test';\n });\n\n it('should allow resolving references', function() {\n reference.setValue('test', '/target');\n\n expect(reference.get('test')).to.equal(target);\n expect(reference.get('test').value).to.equal('test');\n });\n\n it('@bugfix should allow dereferencing via a * with reference map property', function() {\n reference4.set(target);\n reference3.set('/reference4*');\n reference.setValue('test', '/reference3');\n reference.setValue('test2', '/reference3*');\n expect(reference.get('test')).to.equal(reference4);\n expect(reference.get('test2')).to.equal(reference3);\n });\n\n it('should support setting via set', function() {\n reference.set('test', target);\n\n expect(reference.get('test')).to.equal(target);\n expect(reference.get('test').value).to.equal('test');\n expect(reference.getValue('test')).to.equal('/target');\n });\n\n it('set (insert) with a Property should work', function() {\n reference.set('test', nestedChild);\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n });\n\n it('set (insert) with a path should work', function() {\n reference.set('test', '/nodeTarget.nested');\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n });\n\n it('set (insert) with something else should throw', function() {\n expect(function() { reference.set('test', 123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('set (modify) with a Property should work', function() {\n reference.set('test');\n expect(reference.getValue('test')).to.equal('');\n reference.set('test', nestedChild);\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n });\n\n it('set (modify) with a path should work', function() {\n reference.set('test');\n expect(reference.getValue('test')).to.equal('');\n reference.set('test', '/nodeTarget.nested');\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n });\n\n it('set (modify) with something else should throw', function() {\n reference.set('test');\n expect(reference.getValue('test')).to.equal('');\n expect(function() { reference.set('test', 123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('insert with a Property should work', function() {\n reference.insert('test', nestedChild);\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n });\n\n it('insert with a path should work', function() {\n reference.insert('test', '/nodeTarget.nested');\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n });\n\n it('insert with something else should throw', function() {\n expect(function() { reference.insert('test', 123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('setValues with Property and path should work', function() {\n reference.setValues([nestedChild, '/nodeTarget.nested']);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n expect(reference.getValue(1)).to.equal('/nodeTarget.nested');\n\n reference.setValues([undefined, '']);\n expect(reference.getValue(0)).to.equal('');\n expect(reference.getValue(1)).to.equal('');\n\n reference.setValues({ 'test': nestedChild, 'test2': '/nodeTarget.nested' });\n expect(reference.getValue('test')).to.equal('/nodeTarget.nested');\n expect(reference.getValue('test2')).to.equal('/nodeTarget.nested');\n });\n\n it('setValues with something else should throw', function() {\n expect(function() { reference.setValues({ 'test': 123 }); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('should have a working isReferenceValid', function() {\n // An empty reference should be valid\n reference.setValue('test', '');\n expect(reference.isReferenceValid('test')).to.be.true;\n\n // A reference to an existing property should be valid\n reference.set('test', target);\n expect(reference.isReferenceValid('test')).to.be.true;\n\n // A reference that cannot be resolved should be invalid\n reference.setValue('test', '/invalid_path');\n expect(reference.isReferenceValid('test')).to.be.false;\n });\n\n it('should allow dereferencing via the array syntax', function() {\n reference.set('test', target);\n expect(root.resolvePath('/reference[test]')).to.equal(target);\n });\n\n it('should allow accessing nested paths', function() {\n reference.insert('test', nodeTarget);\n expect(root.resolvePath('/reference[test].nested')).to.equal(nestedChild);\n });\n\n it('should allow accessing referenced maps', function() {\n reference.set('test', mapTarget);\n\n expect(root.resolvePath('/reference[test][nested]')).to.equal(nestedMapChild);\n });\n\n it('should allow accessing referenced arrays', function() {\n reference.set('test', arrayTarget);\n\n expect(root.resolvePath('/reference[test][0]')).to.equal(nestedArrayChild);\n });\n\n it('double dereferencing a reference should work', function() {\n reference.set('test', target);\n reference2.set('test', reference);\n\n expect(root.resolvePath('/reference2[test][test]')).to.equal(target);\n });\n\n it('mixing maps and normal maps should work', function() {\n reference.set('test', target);\n reference3.set(reference);\n\n expect(root.resolvePath('/reference3[test]')).to.equal(target);\n expect(root.resolvePath('/reference3*[test]')).to.equal(undefined);\n expect(root.get(['reference3', dereferenceToken, 'test'])).to.equal(undefined);\n\n reference.set('test', reference3);\n reference3.set(target);\n\n expect(root.resolvePath('/reference[test]')).to.equal(target);\n expect(root.resolvePath('/reference[test]*')).to.equal(reference3);\n expect(root.get(['reference', 'test', dereferenceToken]));\n });\n\n it('should continue to work when the reference or the referenced node changes', function() {\n reference.insert('test', nodeTarget);\n expect(root.resolvePath('/reference[test].nested')).to.equal(nestedChild);\n expect(reference.resolvePath('[test].nested')).to.equal(nestedChild);\n\n reference.set('test', nodeTarget2);\n expect(root.resolvePath('/reference[test].nested')).to.equal(nestedChild2);\n expect(reference.resolvePath('[test].nested')).to.equal(nestedChild2);\n\n nodeTarget2.remove('nested');\n var newChild = PropertyFactory.create('String');\n nodeTarget2.insert('nested', newChild);\n expect(reference.resolvePath('[test].nested')).to.equal(newChild);\n });\n\n it('should allow dereferencing via the array syntax using relative paths', function() {\n relativeReference.setValue('test', '../target');\n expect(root.resolvePath('/nodeTarget.relativeReference[test]')).to.equal(target);\n });\n\n it('remove should work and return the string path', function() {\n reference.insert('two', target);\n expect(reference.remove('two')).to.equal('/target');\n expect(reference.getValue('two')).to.be.undefined;\n });\n\n it('getValues should return a map containing path strings', function() {\n var newReference = PropertyFactory.create('Reference<String>', 'map');\n newReference.insert('one', target);\n newReference.insert('two', nodeTarget);\n expect(newReference.getValues()).to.deep.equal({\n 'one': '/target',\n 'two': '/nodeTarget',\n });\n });\n\n it('getContext should return map', function() {\n var newReference = PropertyFactory.create('Reference<String>', 'map');\n expect(newReference.getContext()).to.equal('map');\n });\n });\n });\n\n describe('ReferenceArrayProperty', function() {\n it('should be possible to create', function() {\n // Test creation of an anonymous reference\n var reference = PropertyFactory.create('Reference', 'array');\n expect(reference).to.be.instanceof(ReferenceArrayProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('BaseProperty');\n\n // Test creation of a typed reference\n var reference = PropertyFactory.create('Reference<NodeProperty>', 'array');\n expect(reference).to.be.instanceof(ReferenceArrayProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('NodeProperty');\n\n // Test creation of a typed reference\n var reference = PropertyFactory.create('array<Reference<NodeProperty>>');\n expect(reference).to.be.instanceof(ReferenceArrayProperty);\n expect(reference.getReferenceTargetTypeId()).to.equal('NodeProperty');\n\n // Test creation via a template\n var prop = PropertyFactory.create('autodesk.test:referencePropertyTest-1.0.0');\n expect(prop._properties.refArray_anon).to.be.instanceof(ReferenceArrayProperty);\n expect(prop._properties.refArray_anon.getReferenceTargetTypeId()).to.equal('BaseProperty');\n expect(prop._properties.refArray).to.be.instanceof(ReferenceArrayProperty);\n expect(prop._properties.refArray.getReferenceTargetTypeId()).to.equal('NodeProperty');\n });\n\n it('empty reference should resolve to undefined', function() {\n var reference = PropertyFactory.create('Reference', 'array');\n\n // Explicitly setting it should have the same effect\n reference.push('');\n expect(reference.get(0)).to.be.undefined;\n\n // Explicitly setting it should have the same effect\n reference.set(0, '');\n expect(reference.get(0)).to.be.undefined;\n expect(reference.getValue(0)).to.equal('');\n });\n\n it('setting a referenced member to undefined should turn it into an empty string', function() {\n var reference = PropertyFactory.create('Reference', 'array');\n\n // Test pushing a value\n reference.push(undefined);\n expect(reference.get(0)).to.equal(undefined);\n\n // First set it to something else than an empty reference\n reference.set(0, '/test');\n\n // Now reset it via the referenced member\n reference.set(0, undefined);\n\n // And check the result\n expect(reference.get(0)).to.equal(undefined);\n });\n\n it.skip('setting a reference to a non absolute path should not throw', function() {\n var reference = PropertyFactory.create('Reference', 'array');\n expect(function() { reference.push('test'); }).to.throw();\n expect(function() { reference.push(''); reference.set(0, 'test'); }).to.throw();\n });\n\n describe('Reference resolution', function() {\n var root, target, reference, reference2, reference3, relativeReference;\n var nodeTarget, nestedChild, nodeTarget2, nestedChild2;\n var mapTarget, nestedMapChild;\n var arrayTarget, nestedArrayChild;\n\n beforeEach(function() {\n root = PropertyFactory.create('NodeProperty');\n\n nodeTarget = PropertyFactory.create('NodeProperty');\n nestedChild = PropertyFactory.create('String');\n relativeReference = PropertyFactory.create('Reference<String>', 'array');\n nodeTarget.insert('nested', nestedChild);\n nodeTarget.insert('relativeReference', relativeReference);\n\n nodeTarget2 = PropertyFactory.create('NodeProperty');\n nestedChild2 = PropertyFactory.create('String');\n nodeTarget2.insert('nested', nestedChild2);\n\n mapTarget = PropertyFactory.create('map<>');\n nestedMapChild = PropertyFactory.create('String');\n mapTarget.insert('nested', nestedMapChild);\n\n arrayTarget = PropertyFactory.create('array<>');\n nestedArrayChild = PropertyFactory.create('String');\n arrayTarget.push(nestedArrayChild);\n\n target = PropertyFactory.create('String');\n reference = PropertyFactory.create('Reference<String>', 'array');\n reference2 = PropertyFactory.create('Reference<Reference>', 'array');\n reference3 = PropertyFactory.create('Reference<Reference>');\n\n root.insert('target', target);\n root.insert('nodeTarget', nodeTarget);\n root.insert('nodeTarget2', nodeTarget2);\n root.insert('mapTarget', mapTarget);\n root.insert('arrayTarget', arrayTarget);\n\n root.insert('reference', reference);\n root.insert('reference2', reference2);\n root.insert('reference3', reference3);\n\n target.value = 'test';\n });\n\n it('should allow resolving references', function() {\n reference.push('/target');\n\n expect(reference.get(0)).to.equal(target);\n expect(reference.get(0).value).to.equal('test');\n });\n\n it('should support setting via push', function() {\n reference.push(target);\n\n expect(reference.get(0)).to.equal(target);\n expect(reference.get(0).value).to.equal('test');\n // expect(reference.get(0)).to.equal('/target');\n // this last test will break when we get rid of getReferencedProperty. Fix when get supports '*'\n });\n\n it('should support setting via insert', function() {\n reference.insert(0, target);\n\n expect(reference.get(0)).to.equal(target);\n expect(reference.get(0).value).to.equal('test');\n // expect(reference.get(0)).to.equal('/target');\n // see comment above\n });\n\n it('should support setting via insertRange', function() {\n reference.insertRange(0, [target, nodeTarget]);\n\n expect(reference.get(0)).to.equal(target);\n expect(reference.get(0).value).to.equal('test');\n // expect(reference.get(0)).to.equal('/target');\n // see comment above\n expect(reference.get(1)).to.equal(nodeTarget);\n // expect(reference.get(1)).to.equal('/nodeTarget');\n // see comment above\n });\n\n it('should support setting via setRange', function() {\n reference.insertRange(0, ['', '']);\n reference.setRange(0, [target, nodeTarget]);\n\n expect(reference.get(0)).to.equal(target);\n expect(reference.get(0).value).to.equal('test');\n // expect(reference.get(0)).to.equal('/target');\n // see comment above\n expect(reference.get(1)).to.equal(nodeTarget);\n // expect(reference.get(1)).to.equal('/nodeTarget');\n // see comment above\n });\n\n it('should support setting via set', function() {\n reference.insertRange(0, ['', '']);\n reference.set(0, target);\n reference.set(1, nodeTarget);\n\n expect(reference.get(0)).to.equal(target);\n expect(reference.get(0).value).to.equal('test');\n // expect(reference.get(0)).to.equal('/target');\n // to fix once .get accepts '*' tokens\n expect(reference.get(1)).to.equal(nodeTarget);\n // expect(reference.get(1)).to.equal('/nodeTarget');\n // to fix once .get accepts '*' tokens\n });\n\n it('set with a Property should work', function() {\n reference.insert(0);\n expect(reference.getValue(0)).to.equal('');\n reference.set(0, nestedChild);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('set with a path should work', function() {\n reference.insert(0);\n expect(reference.getValue(0)).to.equal('');\n reference.set(0, '/nodeTarget.nested');\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('set with something else should throw', function() {\n reference.insert(0);\n expect(reference.getValue(0)).to.equal('');\n expect(function() { reference.set(0, 123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('set should throw if in_offset is not an integer', function() {\n reference.insert(0);\n expect(reference.getValue(0)).to.equal('');\n expect(function() { reference.set('test', '/nodeTarget.nested'); })\n .to.throw(MSG.NOT_NUMBER);\n });\n\n it('setRange with a Property and a path should work', function() {\n reference.insert(0);\n reference.insert(1);\n expect(reference.getValue(0)).to.equal('');\n expect(reference.getValue(1)).to.equal('');\n\n reference.setRange(0, [nestedChild, '/nodeTarget.nested']);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n expect(reference.getValue(1)).to.equal('/nodeTarget.nested');\n });\n\n it('setRange with something else should throw', function() {\n reference.insert(0);\n expect(reference.getValue(0)).to.equal('');\n expect(function() { reference.setRange(0, [123]); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('setRange should throw if in_offset is not an integer', function() {\n reference.insert(0);\n reference.insert(1);\n expect(reference.getValue(0)).to.equal('');\n expect(reference.getValue(1)).to.equal('');\n expect(function() { reference.setRange('test', [nestedChild, '/nodeTarget.nested']); })\n .to.throw(MSG.NOT_NUMBER);\n });\n\n it('insert with a Property should work', function() {\n reference.insert(0, nestedChild);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('insert with a path should work', function() {\n reference.insert(0, '/nodeTarget.nested');\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('insert with something else should throw', function() {\n expect(function() { reference.insert(0, 123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('insertRange with a Property and a path should work', function() {\n reference.insertRange(0, [nestedChild, '/nodeTarget.nested']);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n expect(reference.getValue(1)).to.equal('/nodeTarget.nested');\n });\n\n it('insertRange with something else should throw', function() {\n expect(function() { reference.insertRange(0, [123]); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('enqueue with a Property should work', function() {\n reference.enqueue(nestedChild);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('enqueue with a path should work', function() {\n reference.enqueue('/nodeTarget.nested');\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('enqueue with something else should throw', function() {\n expect(function() { reference.enqueue(123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('push with a Property should work', function() {\n reference.push(nestedChild);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('push with a path should work', function() {\n reference.push('/nodeTarget.nested');\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('push with something else should throw', function() {\n expect(function() { reference.push(123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('unshift with a Property should work', function() {\n reference.unshift(nestedChild);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('unshift with a path should work', function() {\n reference.unshift('/nodeTarget.nested');\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n });\n\n it('unshift with something else should throw', function() {\n expect(function() { reference.unshift(123); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('setValues with Property and path should work', function() {\n reference.setValues([nestedChild, '/nodeTarget.nested']);\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n expect(reference.getValue(1)).to.equal('/nodeTarget.nested');\n\n reference.setValues([undefined, '']);\n expect(reference.getValue(0)).to.equal('');\n expect(reference.getValue(1)).to.equal('');\n\n reference.setValues({ 0: nestedChild, 1: '/nodeTarget.nested' });\n expect(reference.getValue(0)).to.equal('/nodeTarget.nested');\n expect(reference.getValue(1)).to.equal('/nodeTarget.nested');\n });\n\n it('setValues with something else should throw', function() {\n expect(function() { reference.setValues({ 0: 123 }); }).to.throw(MSG.PROPERTY_OR_UNDEFINED);\n });\n\n it('should have a working isReferenceValid', function() {\n // An empty reference should be valid\n reference.push('');\n expect(reference.isReferenceValid(0)).to.be.true;\n\n // A reference to an existing property should be valid\n reference.set(0, target);\n expect(reference.isReferenceValid(0)).to.be.true;\n\n // A reference that cannot be resolved should be invalid\n reference.set(0, '/invalid_path');\n expect(reference.isReferenceValid(0)).to.be.false;\n });\n\n it('should allow dereferencing via the array syntax', function() {\n reference.push(target);\n\n expect(root.resolvePath('/reference[0]')).to.equal(target);\n });\n\n it('should allow accessing nested paths', function() {\n reference.push(nodeTarget);\n\n expect(root.resolvePath('/reference[0].nested')).to.equal(nestedChild);\n });\n\n it('should allow accessing referenced maps', function() {\n reference.push(mapTarget);\n\n expect(root.resolvePath('/reference[0][nested]')).to.equal(nestedMapChild);\n });\n\n it('should allow accessing referenced arrays', function() {\n reference.push(arrayTarget);\n\n expect(root.resolvePath('/reference[0][0]')).to.equal(nestedArrayChild);\n });\n\n it('double dereferencing a reference should work', function() {\n reference.push(target);\n reference2.push(reference);\n\n expect(root.resolvePath('/reference2[0][0]')).to.equal(target);\n });\n\n it('mixing references and array references should work', function() {\n reference.push(target);\n reference3.set(reference);\n\n expect(root.resolvePath('/reference3[0]')).to.equal(target);\n expect(root.resolvePath('/reference3*[0]')).to.equal(undefined);\n\n reference.set(0, reference3);\n reference3.set(target);\n\n expect(root.resolvePath('/reference[0]')).to.equal(target);\n expect(root.resolvePath('/reference[0]*')).to.equal(reference3);\n });\n\n it('should continue to work when the reference or the referenced node changes', function() {\n reference.push(nodeTarget);\n\n expect(root.resolvePath('/reference[0].nested')).to.equal(nestedChild);\n expect(reference.resolvePath('[0].nested')).to.equal(nestedChild);\n\n reference.set(0, nodeTarget2);\n expect(root.resolvePath('/reference[0].nested')).to.equal(nestedChild2);\n expect(reference.resolvePath('[0].nested')).to.equal(nestedChild2);\n\n nodeTarget2.remove('nested');\n var newChild = PropertyFactory.create('String');\n nodeTarget2.insert('nested', newChild);\n expect(reference.resolvePath('[0].nested')).to.equal(newChild);\n });\n\n it('should allow dereferencing via the array syntax using relative paths', function() {\n relativeReference.push('../target');\n expect(root.resolvePath('/nodeTarget.relativeReference[0]')).to.equal(target);\n });\n\n it('Should return references value when a reference points to a context simple property', function() {\n let test = PropertyFactory.create('NodeProperty');\n let ref = PropertyFactory.create('Reference');\n let nameProperty = PropertyFactory.create('NamedProperty');\n test.insert('b', nameProperty);\n test.insert('reference', ref);\n test.resolvePath('reference*').set(nameProperty);\n expect(test.getValues()).to.deep.equal({\n b: {\n guid: nameProperty.getGuid(),\n },\n reference: {\n guid: nameProperty.getGuid(),\n },\n });\n });\n\n it('.pop should work', function() {\n reference.insertRange(0, [target, nodeTarget]);\n expect(reference.length).to.equal(2);\n reference.pop();\n expect(reference.length).to.equal(1);\n expect(reference.pop()).to.equal('/target');\n });\n it('.remove and .removeRange should work', function() {\n reference.insertRange(0, [target, nodeTarget]);\n expect(reference.length).to.equal(2);\n expect(reference.remove(0)).to.equal('/target');\n expect(reference.length).to.equal(1);\n reference.insert(1, target);\n expect(reference.removeRange(0, 2)).to.deep.equal(['/nodeTarget', '/target']);\n expect(reference.length).to.equal(0);\n });\n it('.getValues should work', function() {\n reference.insertRange(0, [target, nodeTarget]);\n expect(reference.getValues()).to.deep.equal(['/target', '/nodeTarget']);\n });\n });\n });\n\n describe('Changeset tests', function() {\n var root;\n beforeEach(function() {\n root = PropertyFactory.create('NodeProperty');\n root.insert('template', PropertyFactory.create('autodesk.test:referencePropertyTest-1.0.0'));\n root.insert('reference', PropertyFactory.create('Reference<String>'));\n root.insert('referenceMap', PropertyFactory.create('Reference<String>', 'map'));\n root.insert('referenceArray', PropertyFactory.create('Reference<String>', 'array'));\n\n root.insert('reference_anon', PropertyFactory.create('Reference'));\n root.insert('referenceMap_anon', PropertyFactory.create('Reference', 'map'));\n root.insert('referenceArray_anon', PropertyFactory.create('Reference', 'array'));\n\n root.insert('target', PropertyFactory.create('String'));\n\n var target = root._properties.target;\n\n root._properties.reference.set(target);\n root._properties.referenceMap.set('entry', target);\n root._properties.referenceArray.push(target);\n\n root._properties.reference_anon.set(target);\n root._properties.referenceMap_anon.set('entry', target);\n root._properties.referenceArray_anon.push(target);\n\n root._properties.template.ref.set(target);\n root._properties.template.refMap.set('entry', target);\n root._properties.template.refArray.push(target);\n\n root._properties.template.ref_anon.set(target);\n root._properties.template.refMap_anon.set('entry', target);\n root._properties.template.refArray_anon.push(target);\n });\n\n it('serialize and deserialize should work', function() {\n var root2 = PropertyFactory.create('NodeProperty');\n root2.deserialize(root.serialize());\n expect(root.serialize({ 'dirtyOnly': false })).to.deep.equal(root.serialize({ 'dirtyOnly': false }));\n\n var root2Target = root2._properties.target;\n expect(root2._properties.reference.get()).to.deep.equal(root2Target);\n expect(root2._properties.referenceMap.get('entry')).to.deep.equal(root2Target);\n expect(root2._properties.referenceArray.get()).to.deep.equal(root2Target);\n\n expect(root2._properties.reference_anon.get()).to.deep.equal(root2Target);\n expect(root2._properties.referenceMap_anon.get('entry')).to.deep.equal(root2Target);\n expect(root2._properties.referenceArray_anon.get()).to.deep.equal(root2Target);\n\n expect(root2._properties.template.ref.get()).to.deep.equal(root2Target);\n expect(root2._properties.template.refMap.get('entry')).to.deep.equal(root2Target);\n expect(root2._properties.template.refArray.get()).to.deep.equal(root2Target);\n\n expect(root2._properties.template.ref_anon.get()).to.deep.equal(root2Target);\n expect(root2._properties.template.refMap_anon.get('entry')).to.deep.equal(root2Target);\n expect(root2._properties.template.refArray_anon.get()).to.deep.equal(root2Target);\n });\n\n it('squash should work', function() {\n var CS1 = root.serialize({ 'dirtyOnly': false });\n root.cleanDirty();\n\n root.insert('target2', PropertyFactory.create('String'));\n var target2 = root._properties.target2;\n\n // Set everything to the new target\n root._properties.reference.set(target2);\n root._properties.referenceMap.set('entry', target2);\n root._properties.referenceArray.set(0, target2);\n root._properties.referenceArray.push(target2);\n\n root._properties.reference_anon.set(target2);\n root._properties.referenceMap_anon.set('entry', target2);\n root._properties.referenceArray_anon.set(0, target2);\n root._properties.referenceArray_anon.push(target2);\n\n root._properties.template.ref.set(target2);\n root._properties.template.refMap.set('entry', target2);\n root._properties.referenceArray_anon.set(0, target2);\n root._properties.template.refArray.push(target2);\n\n root._properties.template.ref_anon.set(target2);\n root._properties.template.refMap_anon.set('entry', target2);\n root._properties.referenceArray_anon.set(0, target2);\n root._properties.template.refArray_anon.push(target2);\n var CS2 = root.serialize({ 'dirtyOnly': true });\n var squashed = new ChangeSet(CS1);\n squashed.applyChangeSet(CS2);\n expect(squashed.getSerializedChangeSet()).to.deep.equal(root.serialize({ 'dirtyOnly': false }));\n });\n\n it('rebase should work', function() {\n root.cleanDirty();\n\n root.insert('target2', PropertyFactory.create('String'));\n root.cleanDirty();\n var target2 = root._properties.target2;\n\n // Set everything to the new target\n root._properties.reference.set(target2);\n root._properties.referenceMap.setValue('entry', target2);\n\n root._properties.reference_anon.set(target2);\n root._properties.referenceMap_anon.setValue('entry', target2);\n root._properties.referenceArray_anon.set(0, target2);\n\n root._properties.template.ref.set(target2);\n root._properties.template.refMap.setValue('entry', target2);\n root._properties.referenceArray_anon.set(0, target2);\n\n root._properties.template.ref_anon.set(target2);\n root._properties.template.refMap_anon.setValue('entry', target2);\n root._properties.referenceArray_anon.set(0, target2);\n\n var CS1 = root.serialize({ 'dirtyOnly': true });\n var CS2 = root.serialize({ 'dirtyOnly': true });\n var rebased = new ChangeSet(CS1);\n\n var conflicts = [];\n rebased._rebaseChangeSet(CS2, conflicts);\n\n // each of the set commands should report a conflict\n expect(conflicts.length).to.equal(8);\n for (var i = 0; i < conflicts.length; i++) {\n expect(conflicts[i].type).to.equal(ChangeSet.ConflictType.COLLIDING_SET);\n }\n\n root.cleanDirty();\n root._properties.referenceArray.push(target2);\n root._properties.referenceArray_anon.push(target2);\n root._properties.template.refArray.push(target2);\n root._properties.template.refArray_anon.push(target2);\n\n CS1 = root.serialize({ 'dirtyOnly': true });\n CS2 = root.serialize({ 'dirtyOnly': true });\n rebased = new ChangeSet(CS1);\n conflicts = [];\n rebased._rebaseChangeSet(CS2, conflicts);\n expect(conflicts.length).to.equal(4);\n for (var i = 0; i < conflicts.length; i++) {\n expect(conflicts[i].type).to.equal(ChangeSet.ConflictType.INSERTED_ENTRY_WITH_SAME_KEY);\n }\n });\n });\n});\n"]}
|