@fluid-experimental/property-changeset 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/changeset.d.ts.map +1 -1
- package/dist/changeset.js +1 -18
- package/dist/changeset.js.map +1 -1
- package/dist/changeset_operations/array.d.ts.map +1 -1
- package/dist/changeset_operations/array.js +0 -3
- package/dist/changeset_operations/array.js.map +1 -1
- package/dist/changeset_operations/arrayChangesetIterator.d.ts +4 -4
- package/dist/changeset_operations/arrayChangesetIterator.d.ts.map +1 -1
- package/dist/changeset_operations/arrayChangesetIterator.js +1 -5
- package/dist/changeset_operations/arrayChangesetIterator.js.map +1 -1
- package/dist/changeset_operations/changesetConflictTypes.d.ts.map +1 -1
- package/dist/changeset_operations/changesetConflictTypes.js +0 -1
- package/dist/changeset_operations/changesetConflictTypes.js.map +1 -1
- package/dist/changeset_operations/indexedCollection.d.ts.map +1 -1
- package/dist/changeset_operations/indexedCollection.js +1 -3
- package/dist/changeset_operations/indexedCollection.js.map +1 -1
- package/dist/changeset_operations/isEmptyChangeset.js.map +1 -1
- package/dist/changeset_operations/operationTypes.js +0 -1
- package/dist/changeset_operations/operationTypes.js.map +1 -1
- package/dist/helpers/typeidHelper.d.ts.map +1 -1
- package/dist/helpers/typeidHelper.js +4 -5
- package/dist/helpers/typeidHelper.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/pathHelper.d.ts +2 -2
- package/dist/pathHelper.d.ts.map +1 -1
- package/dist/pathHelper.js +0 -2
- package/dist/pathHelper.js.map +1 -1
- package/dist/rebase.js +0 -1
- package/dist/rebase.js.map +1 -1
- package/dist/templateValidator.d.ts +3 -3
- package/dist/templateValidator.d.ts.map +1 -1
- package/dist/templateValidator.js +10 -12
- package/dist/templateValidator.js.map +1 -1
- package/dist/test/array.spec.js +56 -56
- package/dist/test/array.spec.js.map +1 -1
- package/dist/test/pathHelper.spec.js +14 -14
- package/dist/test/pathHelper.spec.js.map +1 -1
- package/dist/test/schemaValidator.js +2 -8
- package/dist/test/schemaValidator.js.map +1 -1
- package/dist/test/schemas/badBothPropertiesAndTypeid.js +3 -3
- package/dist/test/schemas/badBothPropertiesAndTypeid.js.map +1 -1
- package/dist/test/schemas/badInvalidSemverInTypeid.js +9 -9
- package/dist/test/schemas/badInvalidSemverInTypeid.js.map +1 -1
- package/dist/test/schemas/badMissingSemverInTypeid.js +9 -9
- package/dist/test/schemas/badMissingSemverInTypeid.js.map +1 -1
- package/dist/test/schemas/badNestedProperties.js +9 -9
- package/dist/test/schemas/badNestedProperties.js.map +1 -1
- package/dist/test/schemas/badPrimitiveTypeid.js +5 -5
- package/dist/test/schemas/badPrimitiveTypeid.js.map +1 -1
- package/dist/test/schemas/badVersionedTypeid.js +9 -9
- package/dist/test/schemas/badVersionedTypeid.js.map +1 -1
- package/dist/test/schemas/goodColorPalette.js +2 -2
- package/dist/test/schemas/goodColorPalette.js.map +1 -1
- package/dist/test/schemas/goodDraftAsVersion.js +2 -2
- package/dist/test/schemas/goodDraftAsVersion.js.map +1 -1
- package/dist/test/schemas/goodPointId.js +9 -9
- package/dist/test/schemas/goodPointId.js.map +1 -1
- package/dist/test/schemas/goodReferenceAndRegular.js +2 -2
- package/dist/test/schemas/goodReferenceAndRegular.js.map +1 -1
- package/dist/test/schemas/goodReservedTypes.js +4 -4
- package/dist/test/schemas/goodReservedTypes.js.map +1 -1
- package/dist/test/schemas/goodUIBorder.js +7 -7
- package/dist/test/schemas/goodUIBorder.js.map +1 -1
- package/dist/test/tsconfig.tsbuildinfo +23 -23
- package/dist/test/validator/templateValidator.spec.js +27 -27
- package/dist/test/validator/templateValidator.spec.js.map +1 -1
- package/dist/test/validator/typeidHelper.spec.js +2 -2
- package/dist/test/validator/typeidHelper.spec.js.map +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +2 -4
- package/dist/utils.js.map +1 -1
- package/lib/changeset.js +1 -18
- package/lib/changeset.js.map +1 -1
- package/lib/changeset_operations/array.js +0 -3
- package/lib/changeset_operations/array.js.map +1 -1
- package/lib/changeset_operations/arrayChangesetIterator.js +1 -5
- package/lib/changeset_operations/arrayChangesetIterator.js.map +1 -1
- package/lib/changeset_operations/changesetConflictTypes.js +0 -1
- package/lib/changeset_operations/changesetConflictTypes.js.map +1 -1
- package/lib/changeset_operations/indexedCollection.js +1 -3
- package/lib/changeset_operations/indexedCollection.js.map +1 -1
- package/lib/changeset_operations/isEmptyChangeset.js.map +1 -1
- package/lib/changeset_operations/operationTypes.js +0 -1
- package/lib/changeset_operations/operationTypes.js.map +1 -1
- package/lib/helpers/typeidHelper.js +4 -5
- package/lib/helpers/typeidHelper.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/pathHelper.js +0 -2
- package/lib/pathHelper.js.map +1 -1
- package/lib/rebase.js +0 -1
- package/lib/rebase.js.map +1 -1
- package/lib/templateValidator.js +10 -12
- package/lib/templateValidator.js.map +1 -1
- package/lib/utils.js +2 -4
- package/lib/utils.js.map +1 -1
- package/package.json +8 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pathHelper.spec.js","sourceRoot":"","sources":["../../src/test/pathHelper.spec.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,yCAAyC;AACzC;;;GAGG;;AAEH,+BAA8B;AAC9B,8CAA2C;AAE3C,QAAQ,CAAC,YAAY,EAAE;IAEnB,QAAQ,CAAC,oBAAoB,EAAE;QAC3B,EAAE,CAAC,gDAAgD,EAAE;YACjD,IAAI,KAAK,GAAG,EAAE,CAAC;YACf,aAAM,CAAC,uBAAU,CAAC,kBAAkB,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACnE,aAAM,CAAC,KAAK,CAAC,CAAC,EAAE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C;YAC9E,aAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;QAC3D,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,oDAAoD,EAAE;YACrD,KAAK,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAChC,MAAM,GAAG,GAAG,uBAAU,CAAC,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrD,aAAM,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,uBAAU,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;YAC9E,aAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;QAC3D,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/**\n * @fileoverview In this file, we will test the path helper\n * functions described in /src/properties/path_helper.js\n */\n\nimport { expect } from 'chai';\nimport { PathHelper } from \"../pathHelper\";\n\ndescribe('PathHelper', function() {\n\n describe('tokenizePathString', function() {\n it('should work for simple paths separated by dots', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('', types)).to.deep.equal([]);\n expect(types).to.deep.equal([]);\n\n expect(PathHelper.tokenizePathString('test', types)).to.deep.equal(['test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('test.test2', types)).to.deep.equal(['test', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN\n ]);\n\n expect(function() { PathHelper.tokenizePathString('.test2'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('test2.'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('.'); }).to.throw();\n });\n\n it('should work for arrays', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('[test]', types)).to.deep.equal(['test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('[test][test2]', types)).to.deep.equal(['test', 'test2']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(function() { PathHelper.tokenizePathString('['); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('[abcd'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString(']'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('[abcd]]'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('[]'); }).to.throw();\n });\n\n it('should work for combinations of arrays and paths separated by dots', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('map[test]', types)).to.deep.equal(['map', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('[test].parameter', types)).to.deep.equal(['test', 'parameter']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('map[test].parameter[test2]', types)).to.deep.equal(\n ['map', 'test', 'parameter', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN\n ]);\n\n expect(function() { PathHelper.tokenizePathString('[test]parameter'); }).to.throw();\n });\n\n it('should work for quoted tokens', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('\"test\"', types)).to.deep.equal(['test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"te\\\\\"st\"', types)).to.deep.equal(['te\"st']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"te\\\\\\\\st\"', types)).to.deep.equal(['te\\\\st']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"\"', types)).to.deep.equal(['']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"test1\".test2', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN\n ]);\n\n expect(PathHelper.tokenizePathString('\"test1\".\"test2\"', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN\n ]);\n\n expect(PathHelper.tokenizePathString('test1.\"test2\"', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN\n ]);\n\n expect(PathHelper.tokenizePathString('test1[\"test2\"]', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"test1\"[\"test2\"]', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"\"[\"\"]', types)).to.deep.equal(['', '']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"/\"', types)).to.deep.equal(['/']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('/', types)).to.deep.equal(['/']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('/test', types)).to.deep.equal(['/', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('/[test]', types)).to.deep.equal(['/', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('*', types)).to.deep.equal(['*']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN]);\n\n expect(PathHelper.tokenizePathString('test*', types)).to.deep.equal(['test', '*']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN\n ]);\n\n expect(PathHelper.tokenizePathString('*.test', types)).to.deep.equal(['*', 'test']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN\n ]);\n\n expect(function() { PathHelper.tokenizePathString('*test', types); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('test*test', types); }).to.throw();\n\n expect(PathHelper.tokenizePathString('*.test*.test2*', types)).to.deep.equal(['*', 'test', '*', 'test2', '*']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN\n ]);\n\n expect(PathHelper.tokenizePathString('/*', types)).to.deep.equal(['/', '*']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN, PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN]);\n\n expect(PathHelper.tokenizePathString('*[test]', types)).to.deep.equal(['*', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('[test]*', types)).to.deep.equal(['test', '*']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN, PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN]);\n\n expect(PathHelper.tokenizePathString('[test]*.test2', types)).to.deep.equal(['test', '*', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN\n ]);\n\n expect(PathHelper.tokenizePathString('[test]*[test2]', types)).to.deep.equal(['test', '*', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN\n ]);\n\n expect(function() { PathHelper.tokenizePathString('[test]*test', types); }).to.throw();\n\n expect(function() { PathHelper.tokenizePathString('\"'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('test\"'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('\"tests'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('\"\\\\a\"'); }).to.throw();\n });\n\n it('should work for relative paths', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('../test', types)).to.deep.equal(['../', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN\n ]);\n\n expect(PathHelper.tokenizePathString('../../../test', types)).to.deep.equal(['../', '../', '../', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN, PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN\n ]);\n\n expect(PathHelper.tokenizePathString('../../test[0].test2[key]', types)).to.deep.equal(\n ['../', '../', 'test', '0', 'test2', 'key']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN, PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN\n ]);\n\n expect(function() { PathHelper.tokenizePathString('/../test2'); }).to.throw();\n\n });\n });\n\n describe('quotePathSegment', function() {\n it('should quote simple strings', function() {\n expect(PathHelper.quotePathSegment('test')).to.equal('\"test\"');\n expect(JSON.parse(PathHelper.quotePathSegment('test'))).to.equal('test');\n });\n it('should correctly quote strings with a quotation mark', function() {\n expect(PathHelper.quotePathSegment('\"')).to.equal('\"\\\\\"\"');\n expect(JSON.parse(PathHelper.quotePathSegment('\"'))).to.equal('\"');\n });\n it('should correctly quote strings with a backslash', function() {\n expect(PathHelper.quotePathSegment('\\\\')).to.equal('\"\\\\\\\\\"');\n expect(JSON.parse(PathHelper.quotePathSegment('\\\\'))).to.equal('\\\\');\n });\n\n it('should work for paths with multiple occurrences of the test string', function() {\n expect(PathHelper.quotePathSegment('test\"property\"')).to.equal('\"test\\\\\"property\\\\\"\"');\n expect(PathHelper.quotePathSegment('test\\\\property\\\\')).to.equal('\"test\\\\\\\\property\\\\\\\\\"');\n expect(PathHelper.quotePathSegment('test\"\\\\property\\\\\"')).to.equal('\"test\\\\\"\\\\\\\\property\\\\\\\\\\\\\"\"');\n });\n });\n\n describe('quotePathSegmentIfNeeded', function() {\n it('should quote all required strings', function() {\n expect(PathHelper.quotePathSegmentIfNeeded('.')).to.equal('\".\"');\n expect(PathHelper.quotePathSegmentIfNeeded('\"')).to.equal('\"\\\\\"\"');\n expect(PathHelper.quotePathSegmentIfNeeded('\\\\')).to.equal('\"\\\\\\\\\"');\n expect(PathHelper.quotePathSegmentIfNeeded('[')).to.equal('\"[\"');\n expect(PathHelper.quotePathSegmentIfNeeded(']')).to.equal('\"]\"');\n expect(PathHelper.quotePathSegmentIfNeeded('')).to.equal('\"\"');\n expect(PathHelper.quotePathSegmentIfNeeded('/')).to.equal('\"/\"');\n expect(PathHelper.quotePathSegmentIfNeeded('*')).to.equal('\"*\"');\n });\n\n it('should not quote other strings', function() {\n expect(PathHelper.quotePathSegmentIfNeeded('abcd')).to.equal('abcd');\n expect(PathHelper.quotePathSegmentIfNeeded('test_string')).to.equal('test_string');\n });\n });\n\n\n describe('unquotePathSegment', function() {\n it('should unquote simple strings', function() {\n expect(PathHelper.unquotePathSegment('\"test\"')).to.equal('test');\n });\n\n it('should correctly unquote strings with a quotation mark', function() {\n expect(PathHelper.unquotePathSegment('\"\\\\\"\"')).to.equal('\"');\n });\n\n it('should correctly unquote strings with a backslash', function() {\n expect(PathHelper.unquotePathSegment('\"\\\\\\\\\"')).to.equal('\\\\');\n });\n\n it('should work with empty strings', function() {\n expect(PathHelper.unquotePathSegment('')).to.equal('');\n });\n\n it('should throw on non strings', function() {\n // @ts-ignore\n expect(() => PathHelper.unquotePathSegment(5)).to.throw();\n });\n\n it('should work for paths with multiple occurrences of the test string', function() {\n expect(PathHelper.unquotePathSegment('\"test\\\\\"property\\\\\"\"')).to.equal('test\"property\"');\n expect(PathHelper.unquotePathSegment('\"test\\\\\\\\property\\\\\\\\\"')).to.equal('test\\\\property\\\\');\n expect(PathHelper.unquotePathSegment('\"test\\\\\"\\\\\\\\property\\\\\\\\\\\\\"\"')).to.equal('test\"\\\\property\\\\\"');\n });\n });\n\n describe('convertAbsolutePathToCanonical', function() {\n it('should remove leading /', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('/a.b.c')).to.equal('a.b.c');\n });\n\n it('should throw on ../', function() {\n expect(() => PathHelper.convertAbsolutePathToCanonical('../a.b.c')).to.throw('../');\n });\n\n it('should throw on *', function() {\n expect(() => PathHelper.convertAbsolutePathToCanonical('/a.b.c*')).to.throw('*');\n });\n\n it('should replace square brackets by periods', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('/a.b[c]')).to.equal('a.b.c');\n expect(PathHelper.convertAbsolutePathToCanonical('/a[b].c')).to.equal('a.b.c');\n });\n\n it('should keep properly escaped property names', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('\".\"')).to.equal('\".\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"\\\\\"\"')).to.equal('\"\\\\\"\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"\\\\\\\\\"')).to.equal('\"\\\\\\\\\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"[\"')).to.equal('\"[\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"]\"')).to.equal('\"]\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"\"')).to.equal('\"\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"/\"')).to.equal('\"/\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"*\"')).to.equal('\"*\"');\n });\n\n it('should properly unescape unusually escaped property names', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('\"a\".\"b\"')).to.equal('a.b');\n expect(PathHelper.convertAbsolutePathToCanonical('\"a\"[b][\"c\"]')).to.equal('a.b.c');\n });\n\n it('should not modify simple paths', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('a.b.c.d')).to.equal('a.b.c.d');\n expect(PathHelper.convertAbsolutePathToCanonical('test_string')).to.equal('test_string');\n });\n });\n\n describe('getPathCoverage', function() {\n this.timeout(500);\n let paths;\n\n it('should succeed if property is included in a path 1', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.b', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.FULLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b']);\n });\n\n it('should succeed if property is included in a path 2', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.b.c', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.FULLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b']);\n });\n\n it('should succeed if property is included in a path 3', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.b.c.d', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.FULLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b']);\n });\n\n it('should fail if property is not included in any path 1', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('b', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n expect(res.pathList).to.deep.equal([]);\n });\n\n it('should fail if property is not included in any path 2', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('b.f.g', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n expect(res.pathList).to.deep.equal([]);\n });\n\n it('should fail if property is not included in any path but have common root 1', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.h', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n expect(res.pathList).to.deep.equal([]);\n });\n\n it('should fail if property is not included in any path but have common root 2', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.i.j', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n expect(res.pathList).to.deep.equal([]);\n });\n\n it('should succeed if path goes through the property 1', function() {\n paths = ['a.b.c', 'a.b.d', 'z'];\n const res = PathHelper.getPathCoverage('a.b', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.PARTLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b.c', 'a.b.d']);\n });\n\n it('should succeed if path goes through the property 2', function() {\n paths = ['z', 'a.b.c', 'a.b.d'];\n const res = PathHelper.getPathCoverage('a.b', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.PARTLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b.c', 'a.b.d']);\n });\n\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"pathHelper.spec.js","sourceRoot":"","sources":["../../src/test/pathHelper.spec.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,0CAA0C;AAC1C;;;GAGG;;AAEH,+BAA8B;AAC9B,8CAA2C;AAE3C,QAAQ,CAAC,YAAY,EAAE;IACnB,QAAQ,CAAC,oBAAoB,EAAE;QAC3B,EAAE,CAAC,gDAAgD,EAAE;YACjD,IAAI,KAAK,GAAG,EAAE,CAAC;YACf,aAAM,CAAC,uBAAU,CAAC,kBAAkB,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACnE,aAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC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AAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;QAC3D,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,oDAAoD,EAAE;YACrD,KAAK,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAChC,MAAM,GAAG,GAAG,uBAAU,CAAC,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrD,aAAM,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,uBAAU,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;YAC9E,aAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;QAC3D,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/**\n * @fileoverview In this file, we will test the path helper\n * functions described in /src/properties/path_helper.js\n */\n\nimport { expect } from 'chai';\nimport { PathHelper } from \"../pathHelper\";\n\ndescribe('PathHelper', function() {\n describe('tokenizePathString', function() {\n it('should work for simple paths separated by dots', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('', types)).to.deep.equal([]);\n expect(types).to.deep.equal([]);\n\n expect(PathHelper.tokenizePathString('test', types)).to.deep.equal(['test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('test.test2', types)).to.deep.equal(['test', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(function() { PathHelper.tokenizePathString('.test2'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('test2.'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('.'); }).to.throw();\n });\n\n it('should work for arrays', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('[test]', types)).to.deep.equal(['test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('[test][test2]', types)).to.deep.equal(['test', 'test2']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(function() { PathHelper.tokenizePathString('['); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('[abcd'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString(']'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('[abcd]]'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('[]'); }).to.throw();\n });\n\n it('should work for combinations of arrays and paths separated by dots', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('map[test]', types)).to.deep.equal(['map', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('[test].parameter', types)).to.deep.equal(['test', 'parameter']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('map[test].parameter[test2]', types)).to.deep.equal(\n ['map', 'test', 'parameter', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n ]);\n\n expect(function() { PathHelper.tokenizePathString('[test]parameter'); }).to.throw();\n });\n\n it('should work for quoted tokens', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('\"test\"', types)).to.deep.equal(['test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"te\\\\\"st\"', types)).to.deep.equal(['te\"st']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"te\\\\\\\\st\"', types)).to.deep.equal(['te\\\\st']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"\"', types)).to.deep.equal(['']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"test1\".test2', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('\"test1\".\"test2\"', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('test1.\"test2\"', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('test1[\"test2\"]', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"test1\"[\"test2\"]', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"\"[\"\"]', types)).to.deep.equal(['', '']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"/\"', types)).to.deep.equal(['/']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('/', types)).to.deep.equal(['/']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('/test', types)).to.deep.equal(['/', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('/[test]', types)).to.deep.equal(['/', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('*', types)).to.deep.equal(['*']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN]);\n\n expect(PathHelper.tokenizePathString('test*', types)).to.deep.equal(['test', '*']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('*.test', types)).to.deep.equal(['*', 'test']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(function() { PathHelper.tokenizePathString('*test', types); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('test*test', types); }).to.throw();\n\n expect(PathHelper.tokenizePathString('*.test*.test2*', types)).to.deep.equal(['*', 'test', '*', 'test2', '*']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('/*', types)).to.deep.equal(['/', '*']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN, PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN]);\n\n expect(PathHelper.tokenizePathString('*[test]', types)).to.deep.equal(['*', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('[test]*', types)).to.deep.equal(['test', '*']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN, PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN]);\n\n expect(PathHelper.tokenizePathString('[test]*.test2', types)).to.deep.equal(['test', '*', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('[test]*[test2]', types)).to.deep.equal(['test', '*', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n ]);\n\n expect(function() { PathHelper.tokenizePathString('[test]*test', types); }).to.throw();\n\n expect(function() { PathHelper.tokenizePathString('\"'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('test\"'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('\"tests'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('\"\\\\a\"'); }).to.throw();\n });\n\n it('should work for relative paths', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('../test', types)).to.deep.equal(['../', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('../../../test', types)).to.deep.equal(['../', '../', '../', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN, PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('../../test[0].test2[key]', types)).to.deep.equal(\n ['../', '../', 'test', '0', 'test2', 'key']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN, PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n ]);\n\n expect(function() { PathHelper.tokenizePathString('/../test2'); }).to.throw();\n });\n });\n\n describe('quotePathSegment', function() {\n it('should quote simple strings', function() {\n expect(PathHelper.quotePathSegment('test')).to.equal('\"test\"');\n expect(JSON.parse(PathHelper.quotePathSegment('test'))).to.equal('test');\n });\n it('should correctly quote strings with a quotation mark', function() {\n expect(PathHelper.quotePathSegment('\"')).to.equal('\"\\\\\"\"');\n expect(JSON.parse(PathHelper.quotePathSegment('\"'))).to.equal('\"');\n });\n it('should correctly quote strings with a backslash', function() {\n expect(PathHelper.quotePathSegment('\\\\')).to.equal('\"\\\\\\\\\"');\n expect(JSON.parse(PathHelper.quotePathSegment('\\\\'))).to.equal('\\\\');\n });\n\n it('should work for paths with multiple occurrences of the test string', function() {\n expect(PathHelper.quotePathSegment('test\"property\"')).to.equal('\"test\\\\\"property\\\\\"\"');\n expect(PathHelper.quotePathSegment('test\\\\property\\\\')).to.equal('\"test\\\\\\\\property\\\\\\\\\"');\n expect(PathHelper.quotePathSegment('test\"\\\\property\\\\\"')).to.equal('\"test\\\\\"\\\\\\\\property\\\\\\\\\\\\\"\"');\n });\n });\n\n describe('quotePathSegmentIfNeeded', function() {\n it('should quote all required strings', function() {\n expect(PathHelper.quotePathSegmentIfNeeded('.')).to.equal('\".\"');\n expect(PathHelper.quotePathSegmentIfNeeded('\"')).to.equal('\"\\\\\"\"');\n expect(PathHelper.quotePathSegmentIfNeeded('\\\\')).to.equal('\"\\\\\\\\\"');\n expect(PathHelper.quotePathSegmentIfNeeded('[')).to.equal('\"[\"');\n expect(PathHelper.quotePathSegmentIfNeeded(']')).to.equal('\"]\"');\n expect(PathHelper.quotePathSegmentIfNeeded('')).to.equal('\"\"');\n expect(PathHelper.quotePathSegmentIfNeeded('/')).to.equal('\"/\"');\n expect(PathHelper.quotePathSegmentIfNeeded('*')).to.equal('\"*\"');\n });\n\n it('should not quote other strings', function() {\n expect(PathHelper.quotePathSegmentIfNeeded('abcd')).to.equal('abcd');\n expect(PathHelper.quotePathSegmentIfNeeded('test_string')).to.equal('test_string');\n });\n });\n\n describe('unquotePathSegment', function() {\n it('should unquote simple strings', function() {\n expect(PathHelper.unquotePathSegment('\"test\"')).to.equal('test');\n });\n\n it('should correctly unquote strings with a quotation mark', function() {\n expect(PathHelper.unquotePathSegment('\"\\\\\"\"')).to.equal('\"');\n });\n\n it('should correctly unquote strings with a backslash', function() {\n expect(PathHelper.unquotePathSegment('\"\\\\\\\\\"')).to.equal('\\\\');\n });\n\n it('should work with empty strings', function() {\n expect(PathHelper.unquotePathSegment('')).to.equal('');\n });\n\n it('should throw on non strings', function() {\n // @ts-ignore\n expect(() => PathHelper.unquotePathSegment(5)).to.throw();\n });\n\n it('should work for paths with multiple occurrences of the test string', function() {\n expect(PathHelper.unquotePathSegment('\"test\\\\\"property\\\\\"\"')).to.equal('test\"property\"');\n expect(PathHelper.unquotePathSegment('\"test\\\\\\\\property\\\\\\\\\"')).to.equal('test\\\\property\\\\');\n expect(PathHelper.unquotePathSegment('\"test\\\\\"\\\\\\\\property\\\\\\\\\\\\\"\"')).to.equal('test\"\\\\property\\\\\"');\n });\n });\n\n describe('convertAbsolutePathToCanonical', function() {\n it('should remove leading /', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('/a.b.c')).to.equal('a.b.c');\n });\n\n it('should throw on ../', function() {\n expect(() => PathHelper.convertAbsolutePathToCanonical('../a.b.c')).to.throw('../');\n });\n\n it('should throw on *', function() {\n expect(() => PathHelper.convertAbsolutePathToCanonical('/a.b.c*')).to.throw('*');\n });\n\n it('should replace square brackets by periods', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('/a.b[c]')).to.equal('a.b.c');\n expect(PathHelper.convertAbsolutePathToCanonical('/a[b].c')).to.equal('a.b.c');\n });\n\n it('should keep properly escaped property names', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('\".\"')).to.equal('\".\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"\\\\\"\"')).to.equal('\"\\\\\"\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"\\\\\\\\\"')).to.equal('\"\\\\\\\\\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"[\"')).to.equal('\"[\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"]\"')).to.equal('\"]\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"\"')).to.equal('\"\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"/\"')).to.equal('\"/\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"*\"')).to.equal('\"*\"');\n });\n\n it('should properly unescape unusually escaped property names', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('\"a\".\"b\"')).to.equal('a.b');\n expect(PathHelper.convertAbsolutePathToCanonical('\"a\"[b][\"c\"]')).to.equal('a.b.c');\n });\n\n it('should not modify simple paths', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('a.b.c.d')).to.equal('a.b.c.d');\n expect(PathHelper.convertAbsolutePathToCanonical('test_string')).to.equal('test_string');\n });\n });\n\n describe('getPathCoverage', function() {\n this.timeout(500);\n let paths;\n\n it('should succeed if property is included in a path 1', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.b', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.FULLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b']);\n });\n\n it('should succeed if property is included in a path 2', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.b.c', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.FULLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b']);\n });\n\n it('should succeed if property is included in a path 3', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.b.c.d', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.FULLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b']);\n });\n\n it('should fail if property is not included in any path 1', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('b', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n expect(res.pathList).to.deep.equal([]);\n });\n\n it('should fail if property is not included in any path 2', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('b.f.g', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n expect(res.pathList).to.deep.equal([]);\n });\n\n it('should fail if property is not included in any path but have common root 1', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.h', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n expect(res.pathList).to.deep.equal([]);\n });\n\n it('should fail if property is not included in any path but have common root 2', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.i.j', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n expect(res.pathList).to.deep.equal([]);\n });\n\n it('should succeed if path goes through the property 1', function() {\n paths = ['a.b.c', 'a.b.d', 'z'];\n const res = PathHelper.getPathCoverage('a.b', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.PARTLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b.c', 'a.b.d']);\n });\n\n it('should succeed if path goes through the property 2', function() {\n paths = ['z', 'a.b.c', 'a.b.d'];\n const res = PathHelper.getPathCoverage('a.b', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.PARTLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b.c', 'a.b.d']);\n });\n });\n});\n"]}
|
|
@@ -12,7 +12,7 @@ const templateValidator_1 = require("../templateValidator");
|
|
|
12
12
|
const typeidHelper_1 = require("../helpers/typeidHelper");
|
|
13
13
|
class SchemaValidator {
|
|
14
14
|
constructor() {
|
|
15
|
-
this.hasSchemaAsync = (typeid) => new Promise(function (resolve, reject) {
|
|
15
|
+
this.hasSchemaAsync = async (typeid) => new Promise(function (resolve, reject) {
|
|
16
16
|
setTimeout(function () {
|
|
17
17
|
resolve(this.schemaMap[typeid] !== undefined);
|
|
18
18
|
}, 5);
|
|
@@ -29,16 +29,13 @@ class SchemaValidator {
|
|
|
29
29
|
this.getAllParentsForTemplate(in_templateTypeid, parents, true);
|
|
30
30
|
return parents[in_baseTypeid] !== undefined;
|
|
31
31
|
}
|
|
32
|
-
;
|
|
33
32
|
hasSchema(typeid) {
|
|
34
33
|
return this.schemaMap[typeid] !== undefined;
|
|
35
34
|
}
|
|
36
|
-
;
|
|
37
35
|
register(schema) {
|
|
38
36
|
this.schemaMap[schema.typeid] = schema;
|
|
39
37
|
}
|
|
40
|
-
|
|
41
|
-
inheritsFromAsync(child, ancestor) {
|
|
38
|
+
async inheritsFromAsync(child, ancestor) {
|
|
42
39
|
return new Promise(function (resolve, reject) {
|
|
43
40
|
setTimeout(function () {
|
|
44
41
|
try {
|
|
@@ -79,7 +76,6 @@ class SchemaValidator {
|
|
|
79
76
|
}
|
|
80
77
|
}
|
|
81
78
|
}
|
|
82
|
-
;
|
|
83
79
|
validate(in_schema, in_previousSchema, in_async, in_skipSemver, in_allowDraft) {
|
|
84
80
|
in_skipSemver = in_skipSemver || false;
|
|
85
81
|
if (in_async) {
|
|
@@ -103,8 +99,6 @@ class SchemaValidator {
|
|
|
103
99
|
return templateValidator.validate(in_schema, in_previousSchema);
|
|
104
100
|
}
|
|
105
101
|
}
|
|
106
|
-
;
|
|
107
102
|
}
|
|
108
103
|
exports.SchemaValidator = SchemaValidator;
|
|
109
|
-
;
|
|
110
104
|
//# sourceMappingURL=schemaValidator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemaValidator.js","sourceRoot":"","sources":["../../src/test/schemaValidator.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH;;GAEG;;;AAEH,4DAAyD;AACzD,0DAAuD;AAEvD,MAAa,eAAe;IAExB;QAuCA,mBAAc,GAAG,
|
|
1
|
+
{"version":3,"file":"schemaValidator.js","sourceRoot":"","sources":["../../src/test/schemaValidator.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH;;GAEG;;;AAEH,4DAAyD;AACzD,0DAAuD;AAEvD,MAAa,eAAe;IAExB;QAuCA,mBAAc,GAAG,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC,IAAI,OAAO,CAAC,UAAS,OAAO,EAAE,MAAM;YACnE,UAAU,CAAC;gBACP,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,SAAS,CAAC,C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U,EAAE,aAAwB;gBACpC,UAAU,EAAE,aAAwB;aACvC,CAAC;YACF,IAAI,iBAAiB,GAAG,IAAI,qCAAiB,CAAC,OAAO,CAAC,CAAC;YAEvD,OAAO,iBAAiB,CAAC,aAAa,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;SACxE;aAAM;YACH,IAAI,OAAO,GAAG;gBACV,YAAY,EAAE,IAAI,CAAC,YAAmB;gBACtC,SAAS,EAAE,IAAI,CAAC,SAAgB;gBAChC,UAAU,EAAE,aAAa;gBACzB,UAAU,EAAE,aAAa;aAC5B,CAAC;YACF,IAAI,iBAAiB,GAAG,IAAI,qCAAiB,CAAC,OAAO,CAAC,CAAC;YAEvD,OAAO,iBAAiB,CAAC,QAAQ,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;SACnE;IACL,CAAC;CACJ;AA3GD,0CA2GC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * Basic implementation of part of the PropertyFactory needed to run test on validation.\n */\n\nimport { TemplateValidator } from \"../templateValidator\";\nimport { TypeIdHelper } from \"../helpers/typeidHelper\";\n\nexport class SchemaValidator {\n schemaMap: Record<string, any>;\n constructor() {\n this.schemaMap = {};\n }\n\n inheritsFrom(in_templateTypeid: any, in_baseTypeid: string | number, in_options: { includeSelf?: any; }) {\n in_options = in_options || {};\n\n if (in_templateTypeid === in_baseTypeid &&\n (!!in_options.includeSelf || in_options.includeSelf === undefined)) {\n return true;\n }\n\n const parents = {};\n this.getAllParentsForTemplate(in_templateTypeid, parents, true);\n\n return parents[in_baseTypeid] !== undefined;\n }\n\n hasSchema(typeid: string | number) {\n return this.schemaMap[typeid] !== undefined;\n }\n\n register(schema) {\n this.schemaMap[schema.typeid] = schema;\n }\n\n async inheritsFromAsync(child, ancestor) {\n return new Promise(function(resolve, reject) {\n setTimeout(function() {\n try {\n resolve(this.inheritsFrom(child, ancestor));\n } catch (error) {\n console.error(\"Error in inheritsFrom: \", error);\n reject(error);\n }\n }, 5);\n });\n }\n\n hasSchemaAsync = async (typeid) => new Promise(function(resolve, reject) {\n setTimeout(function() {\n resolve(this.schemaMap[typeid] !== undefined);\n }, 5);\n });\n\n getAllParentsForTemplate(in_typeid, out_parents, in_includeBaseProperty) {\n if (TypeIdHelper.isPrimitiveType(in_typeid)) {\n // Everything inherits from BaseProperty.\n if (in_includeBaseProperty) {\n out_parents.ContainerProperty = true;\n }\n\n return;\n }\n\n const template = this.schemaMap[in_typeid];\n if (!template) {\n throw new Error(`Missing typeid: ${in_typeid}`);\n }\n\n // Everything inherits from BaseProperty.\n if (in_includeBaseProperty) {\n out_parents.ContainerProperty = true;\n }\n\n // Run over all parents and insert them into the parents array\n if (template.inherits) {\n // We have to distinguish the cases where the parents are either specified as a single string or an array\n const parents = Array.isArray(template.inherits) ? template.inherits : [template.inherits];\n\n for (let i = 0; i < parents.length; i++) {\n // Mark it as parent\n out_parents[parents[i]] = true;\n\n // Continue recursively\n this.getAllParentsForTemplate(parents[i], out_parents, undefined);\n }\n }\n }\n\n validate(in_schema, in_previousSchema?, in_async?, in_skipSemver?, in_allowDraft?): any {\n in_skipSemver = in_skipSemver || false;\n\n if (in_async) {\n let options = {\n inheritsFromAsync: this.inheritsFromAsync as any,\n hasSchemaAsync: this.hasSchemaAsync as any,\n skipSemver: in_skipSemver as boolean,\n allowDraft: in_allowDraft as boolean,\n };\n let templateValidator = new TemplateValidator(options);\n\n return templateValidator.validateAsync(in_schema, in_previousSchema);\n } else {\n let options = {\n inheritsFrom: this.inheritsFrom as any,\n hasSchema: this.hasSchema as any,\n skipSemver: in_skipSemver,\n allowDraft: in_allowDraft,\n };\n let templateValidator = new TemplateValidator(options);\n\n return templateValidator.validate(in_schema, in_previousSchema);\n }\n }\n}\n"]}
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
'id': 'r',
|
|
18
18
|
'typeid': 'Float32',
|
|
19
19
|
'properties': [
|
|
20
|
-
{ 'typeid': 'Int32', 'id': 'ri' }
|
|
21
|
-
]
|
|
20
|
+
{ 'typeid': 'Int32', 'id': 'ri' },
|
|
21
|
+
],
|
|
22
22
|
}],
|
|
23
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.0.0'
|
|
23
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
|
|
24
24
|
};
|
|
25
25
|
module.exports = templateSchema;
|
|
26
26
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badBothPropertiesAndTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badBothPropertiesAndTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACX,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;gBACnB,YAAY,EAAE;oBACV,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE;iBACpC;aACJ,CAAC;QACF,QAAQ,EAAE,kCAAkC;KAC/C,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badBothPropertiesAndTypeid.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'r',\n 'typeid': 'Float32',\n 'properties': [\n { 'typeid': 'Int32', 'id': 'ri' }
|
|
1
|
+
{"version":3,"file":"badBothPropertiesAndTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badBothPropertiesAndTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACX,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;gBACnB,YAAY,EAAE;oBACV,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE;iBACpC;aACJ,CAAC;QACF,QAAQ,EAAE,kCAAkC;KAC/C,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badBothPropertiesAndTypeid.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'r',\n 'typeid': 'Float32',\n 'properties': [\n { 'typeid': 'Int32', 'id': 'ri' },\n ],\n }],\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',\n };\n module.exports = templateSchema;\n})();\n"]}
|
|
@@ -17,30 +17,30 @@
|
|
|
17
17
|
'id': 'position',
|
|
18
18
|
'properties': [{
|
|
19
19
|
'id': 'x',
|
|
20
|
-
'typeid': 'Float32'
|
|
20
|
+
'typeid': 'Float32',
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
'id': 'y',
|
|
24
|
-
'typeid': 'Float32'
|
|
24
|
+
'typeid': 'Float32',
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
'id': 'z',
|
|
28
|
-
'typeid': 'Float32'
|
|
29
|
-
}
|
|
30
|
-
]
|
|
28
|
+
'typeid': 'Float32',
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
'id': 'color',
|
|
34
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.0.0'
|
|
34
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
'id': 'normal',
|
|
38
38
|
'typeid': 'Float32',
|
|
39
39
|
'context': 'array',
|
|
40
|
-
'length': 3
|
|
41
|
-
}
|
|
40
|
+
'length': 3,
|
|
41
|
+
},
|
|
42
42
|
],
|
|
43
|
-
'typeid': 'TeamLeoValidation2:PointID-1.0.0.1'
|
|
43
|
+
'typeid': 'TeamLeoValidation2:PointID-1.0.0.1',
|
|
44
44
|
};
|
|
45
45
|
module.exports = templateSchema;
|
|
46
46
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badInvalidSemverInTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badInvalidSemverInTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,UAAU;gBAChB,YAAY,EAAE,CAAC;wBACP,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;iBACJ;aACJ;YACD;gBACI,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,kCAAkC;aAC/C;YACD;gBACI,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,SAAS;gBACnB,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,CAAC;aACd;SACJ;QACD,QAAQ,EAAE,oCAAoC;KACjD,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template semver testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'position',\n 'properties': [{\n 'id': 'x',\n 'typeid': 'Float32'
|
|
1
|
+
{"version":3,"file":"badInvalidSemverInTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badInvalidSemverInTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,UAAU;gBAChB,YAAY,EAAE,CAAC;wBACP,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;iBACJ;aACJ;YACD;gBACI,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,kCAAkC;aAC/C;YACD;gBACI,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,SAAS;gBACnB,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,CAAC;aACd;SACJ;QACD,QAAQ,EAAE,oCAAoC;KACjD,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template semver testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'position',\n 'properties': [{\n 'id': 'x',\n 'typeid': 'Float32',\n },\n {\n 'id': 'y',\n 'typeid': 'Float32',\n },\n {\n 'id': 'z',\n 'typeid': 'Float32',\n },\n ],\n },\n {\n 'id': 'color',\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',\n },\n {\n 'id': 'normal',\n 'typeid': 'Float32',\n 'context': 'array',\n 'length': 3,\n },\n ],\n 'typeid': 'TeamLeoValidation2:PointID-1.0.0.1',\n };\n module.exports = templateSchema;\n})();\n"]}
|
|
@@ -17,30 +17,30 @@
|
|
|
17
17
|
'id': 'position',
|
|
18
18
|
'properties': [{
|
|
19
19
|
'id': 'x',
|
|
20
|
-
'typeid': 'Float32'
|
|
20
|
+
'typeid': 'Float32',
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
'id': 'y',
|
|
24
|
-
'typeid': 'Float32'
|
|
24
|
+
'typeid': 'Float32',
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
'id': 'z',
|
|
28
|
-
'typeid': 'Float32'
|
|
29
|
-
}
|
|
30
|
-
]
|
|
28
|
+
'typeid': 'Float32',
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
'id': 'color',
|
|
34
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.0.0'
|
|
34
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
'id': 'normal',
|
|
38
38
|
'typeid': 'Float32',
|
|
39
39
|
'context': 'array',
|
|
40
|
-
'length': 3
|
|
41
|
-
}
|
|
40
|
+
'length': 3,
|
|
41
|
+
},
|
|
42
42
|
],
|
|
43
|
-
'typeid': 'TeamLeoValidation2:PointID'
|
|
43
|
+
'typeid': 'TeamLeoValidation2:PointID',
|
|
44
44
|
};
|
|
45
45
|
module.exports = templateSchema;
|
|
46
46
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badMissingSemverInTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badMissingSemverInTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,UAAU;gBAChB,YAAY,EAAE,CAAC;wBACP,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;iBACJ;aACJ;YACD;gBACI,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,kCAAkC;aAC/C;YACD;gBACI,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,SAAS;gBACnB,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,CAAC;aACd;SACJ;QACD,QAAQ,EAAE,4BAA4B;KACzC,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template semver testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'position',\n 'properties': [{\n 'id': 'x',\n 'typeid': 'Float32'
|
|
1
|
+
{"version":3,"file":"badMissingSemverInTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badMissingSemverInTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,UAAU;gBAChB,YAAY,EAAE,CAAC;wBACP,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;iBACJ;aACJ;YACD;gBACI,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,kCAAkC;aAC/C;YACD;gBACI,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,SAAS;gBACnB,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,CAAC;aACd;SACJ;QACD,QAAQ,EAAE,4BAA4B;KACzC,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template semver testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'position',\n 'properties': [{\n 'id': 'x',\n 'typeid': 'Float32',\n },\n {\n 'id': 'y',\n 'typeid': 'Float32',\n },\n {\n 'id': 'z',\n 'typeid': 'Float32',\n },\n ],\n },\n {\n 'id': 'color',\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',\n },\n {\n 'id': 'normal',\n 'typeid': 'Float32',\n 'context': 'array',\n 'length': 3,\n },\n ],\n 'typeid': 'TeamLeoValidation2:PointID',\n };\n module.exports = templateSchema;\n})();\n"]}
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
var templateSchema = {
|
|
16
16
|
'properties': [{
|
|
17
17
|
'id': 'r',
|
|
18
|
-
'typeid': 'Float32'
|
|
18
|
+
'typeid': 'Float32',
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
'id': 'g',
|
|
22
|
-
'typeid': 'Float32'
|
|
22
|
+
'typeid': 'Float32',
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
'id': 'b',
|
|
26
|
-
'typeid': 'Float32'
|
|
26
|
+
'typeid': 'Float32',
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
'id': 'nest',
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
'id': 'nestedAgain',
|
|
36
36
|
'properties': [
|
|
37
37
|
{ 'id': 'a', 'typeid': 'Int32' },
|
|
38
|
-
{ 'id': 'b', 'typeid': 'Flob' }
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
|
38
|
+
{ 'id': 'b', 'typeid': 'Flob' },
|
|
39
|
+
],
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
43
|
],
|
|
44
|
-
'typeid': 'TeamLeoValidation2:NestedTest-1.0.0'
|
|
44
|
+
'typeid': 'TeamLeoValidation2:NestedTest-1.0.0',
|
|
45
45
|
};
|
|
46
46
|
module.exports = templateSchema;
|
|
47
47
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badNestedProperties.js","sourceRoot":"","sources":["../../../src/test/schemas/badNestedProperties.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,MAAM;gBACZ,YAAY,EAAE;oBACV,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE;oBAClC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE;oBAClC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,2CAA2C,EAAE;oBAC1E;wBACI,IAAI,EAAE,aAAa;wBACnB,YAAY,EAAE;4BACV,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE;4BAChC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE;yBAClC;qBACJ;iBACJ;aACJ;SACJ;QACD,QAAQ,EAAE,qCAAqC;KAClD,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'r',\n 'typeid': 'Float32'
|
|
1
|
+
{"version":3,"file":"badNestedProperties.js","sourceRoot":"","sources":["../../../src/test/schemas/badNestedProperties.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,MAAM;gBACZ,YAAY,EAAE;oBACV,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE;oBAClC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE;oBAClC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,2CAA2C,EAAE;oBAC1E;wBACI,IAAI,EAAE,aAAa;wBACnB,YAAY,EAAE;4BACV,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE;4BAChC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE;yBAClC;qBACJ;iBACJ;aACJ;SACJ;QACD,QAAQ,EAAE,qCAAqC;KAClD,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'r',\n 'typeid': 'Float32',\n },\n {\n 'id': 'g',\n 'typeid': 'Float32',\n },\n {\n 'id': 'b',\n 'typeid': 'Float32',\n },\n {\n 'id': 'nest',\n 'properties': [\n { 'id': 'x', 'typeid': 'Float32' },\n { 'id': 'y', 'typeid': 'Float32' },\n { 'id': 'reftype', 'typeid': 'Reference<NS.NS2:Core.Adsk.RefType-1.0.0>' },\n {\n 'id': 'nestedAgain',\n 'properties': [\n { 'id': 'a', 'typeid': 'Int32' },\n { 'id': 'b', 'typeid': 'Flob' },\n ],\n },\n ],\n },\n ],\n 'typeid': 'TeamLeoValidation2:NestedTest-1.0.0',\n };\n module.exports = templateSchema;\n})();\n"]}
|
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
var templateSchema = {
|
|
16
16
|
'properties': [{
|
|
17
17
|
'id': 'r',
|
|
18
|
-
'typeid': 'Float32'
|
|
18
|
+
'typeid': 'Float32',
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
'id': 'g',
|
|
22
|
-
'typeid': 'Float32'
|
|
22
|
+
'typeid': 'Float32',
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
'id': 'b',
|
|
26
|
-
'typeid': 'Flob32'
|
|
27
|
-
}
|
|
26
|
+
'typeid': 'Flob32',
|
|
27
|
+
},
|
|
28
28
|
],
|
|
29
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.0.0'
|
|
29
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
|
|
30
30
|
};
|
|
31
31
|
module.exports = templateSchema;
|
|
32
32
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badPrimitiveTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badPrimitiveTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,QAAQ;aACrB;SACJ;QACD,QAAQ,EAAE,kCAAkC;KAC/C,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'r',\n 'typeid': 'Float32'
|
|
1
|
+
{"version":3,"file":"badPrimitiveTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badPrimitiveTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,QAAQ;aACrB;SACJ;QACD,QAAQ,EAAE,kCAAkC;KAC/C,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'r',\n 'typeid': 'Float32',\n },\n {\n 'id': 'g',\n 'typeid': 'Float32',\n },\n {\n 'id': 'b',\n 'typeid': 'Flob32',\n },\n ],\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',\n };\n module.exports = templateSchema;\n})();\n"]}
|
|
@@ -17,31 +17,31 @@
|
|
|
17
17
|
'id': 'position',
|
|
18
18
|
'properties': [{
|
|
19
19
|
'id': 'x',
|
|
20
|
-
'typeid': 'Float32'
|
|
20
|
+
'typeid': 'Float32',
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
'id': 'y',
|
|
24
|
-
'typeid': 'Float32'
|
|
24
|
+
'typeid': 'Float32',
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
'id': 'z',
|
|
28
|
-
'typeid': 'Float32'
|
|
29
|
-
}
|
|
30
|
-
]
|
|
28
|
+
'typeid': 'Float32',
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
'id': 'color',
|
|
34
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.0.0'
|
|
34
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
'id': 'normal',
|
|
38
38
|
'typeid': 'Float32',
|
|
39
39
|
'context': 'array',
|
|
40
|
-
'length': 3
|
|
41
|
-
}
|
|
40
|
+
'length': 3,
|
|
41
|
+
},
|
|
42
42
|
],
|
|
43
43
|
'_comment': 'typeid is missing',
|
|
44
|
-
'typeid': 'Int32'
|
|
44
|
+
'typeid': 'Int32',
|
|
45
45
|
};
|
|
46
46
|
module.exports = templateSchema;
|
|
47
47
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badVersionedTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badVersionedTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,UAAU;gBAChB,YAAY,EAAE,CAAC;wBACP,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;iBACJ;aACJ;YACD;gBACI,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,kCAAkC;aAC/C;YACD;gBACI,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,SAAS;gBACnB,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,CAAC;aACd;SACJ;QACD,UAAU,EAAE,mBAAmB;QAC/B,QAAQ,EAAE,OAAO;KACpB,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'position',\n 'properties': [{\n 'id': 'x',\n 'typeid': 'Float32'
|
|
1
|
+
{"version":3,"file":"badVersionedTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badVersionedTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,UAAU;gBAChB,YAAY,EAAE,CAAC;wBACP,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;iBACJ;aACJ;YACD;gBACI,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,kCAAkC;aAC/C;YACD;gBACI,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,SAAS;gBACnB,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,CAAC;aACd;SACJ;QACD,UAAU,EAAE,mBAAmB;QAC/B,QAAQ,EAAE,OAAO;KACpB,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'position',\n 'properties': [{\n 'id': 'x',\n 'typeid': 'Float32',\n },\n {\n 'id': 'y',\n 'typeid': 'Float32',\n },\n {\n 'id': 'z',\n 'typeid': 'Float32',\n },\n ],\n },\n {\n 'id': 'color',\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',\n },\n {\n 'id': 'normal',\n 'typeid': 'Float32',\n 'context': 'array',\n 'length': 3,\n },\n ],\n '_comment': 'typeid is missing',\n 'typeid': 'Int32',\n };\n module.exports = templateSchema;\n})();\n"]}
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
'typeid': 'Adsk.Library:Colors.ColorPalette-1.0.0',
|
|
17
17
|
'properties': [
|
|
18
18
|
{ 'id': 'colors', 'typeid': 'Reference<Adsk.Core:Math.Color-1.0.0>', 'context': 'map' },
|
|
19
|
-
{ 'id': 'testref', 'typeid': 'Reference', 'context': 'map' }
|
|
20
|
-
]
|
|
19
|
+
{ 'id': 'testref', 'typeid': 'Reference', 'context': 'map' },
|
|
20
|
+
],
|
|
21
21
|
};
|
|
22
22
|
module.exports = templateSchema;
|
|
23
23
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goodColorPalette.js","sourceRoot":"","sources":["../../../src/test/schemas/goodColorPalette.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,QAAQ,EAAE,wCAAwC;QAClD,YAAY,EAAE;YACV,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,uCAAuC,EAAE,SAAS,EAAE,KAAK,EAAE;YACvF,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE;SAC/D;KACJ,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'typeid': 'Adsk.Library:Colors.ColorPalette-1.0.0',\n 'properties': [\n { 'id': 'colors', 'typeid': 'Reference<Adsk.Core:Math.Color-1.0.0>', 'context': 'map' },\n { 'id': 'testref', 'typeid': 'Reference', 'context': 'map' }
|
|
1
|
+
{"version":3,"file":"goodColorPalette.js","sourceRoot":"","sources":["../../../src/test/schemas/goodColorPalette.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,QAAQ,EAAE,wCAAwC;QAClD,YAAY,EAAE;YACV,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,uCAAuC,EAAE,SAAS,EAAE,KAAK,EAAE;YACvF,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE;SAC/D;KACJ,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'typeid': 'Adsk.Library:Colors.ColorPalette-1.0.0',\n 'properties': [\n { 'id': 'colors', 'typeid': 'Reference<Adsk.Core:Math.Color-1.0.0>', 'context': 'map' },\n { 'id': 'testref', 'typeid': 'Reference', 'context': 'map' },\n ],\n };\n module.exports = templateSchema;\n})();\n"]}
|