X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/build/tests/indexes.json diff --git a/build/tests/indexes.json b/build/tests/indexes.json new file mode 100644 index 00000000..9d458300 --- /dev/null +++ b/build/tests/indexes.json @@ -0,0 +1,117 @@ +[{ + title: 'Ext 4 + Core + Platform', + tpl: 'tests/ext4.tpl', + destination: '../test/unit/index.html', + sources: 'sdk.jsb3', + srcReplace: ['', '../'], + packages: [ + 'Foundation', + 'Extras', + 'DOM', + 'Classes' + ], + specPaths: [ + '../../platform/core/test/unit/spec', + '../../platform/test/unit/spec', + '../test/unit/spec' + ], + excludes: ['../../platform/core/test/unit/spec/env/Environment.js'], + prepare: {}, + overrides: { + '../../platform/core/src/class/Loader.js' : '{ type: "js", src: "resources/BlockLoader.js" },\n' + } +},{ + title: 'Ext 4 Only', + tpl: 'tests/ext4.tpl', + destination: '../test/unit/ext4.html', + sources: 'sdk.jsb3', + srcReplace: ['', '../'], + packages: [ + 'Foundation', + 'Extras', + 'DOM', + 'Classes' + ], + specPaths: [ + '../../extjs/test/unit/spec' + ], + excludes: [], + prepare: {}, + overrides: { + '../../platform/core/src/class/Loader.js' : '{ type: "js", src: "resources/BlockLoader.js" },\n' + } +},{ + title: 'Core Only', + tpl: 'tests/core.tpl', + destination: '../../platform/core/test/unit/index.html', + sources: 'sdk.jsb3', + srcReplace: [/(platform\/core\/)|(\.\.\/test\/unit\/)/,''], + packages: [ + 'Foundation', + 'Extras', + 'DOM' + ], + specPaths: [ + '../../platform/core/test/unit/spec', + ], + excludes: ['../../platform/core/test/unit/spec/env/Environment.js'], + prepare: {}, + overrides: { + '../../platform/core/src/class/Loader.js' : '{ type: "js", src: "resources/BlockLoader.js" },\n' + } +},{ + title: 'Core + Platform', + tpl: 'tests/platform.tpl', + destination: '../../platform/test/unit/index.html', + sources: 'sdk.jsb3', + srcReplace: [/(platform\/)|(\.\.\/test\/unit\/)/,''], + srcMustMatch: 'platform', + packages: [ + 'Foundation', + 'Extras', + 'DOM', + 'Classes' + ], + specPaths: [ + '../../platform/core/test/unit/spec', + '../../platform/test/unit/spec' + ], + excludes: ['../../platform/core/test/unit/spec/env/Environment.js'], + prepare: { + '../../platform/src/AbstractComponent.js': '{ type: "js", src: "resources/MockUtilAnimate.js" },\n', + }, + overrides: { + '../../platform/core/src/class/Loader.js' : '{ type: "js", src: "resources/BlockLoader.js" },\n', + '../../platform/src/AbstractComponent.js': '{ type: "js", src: "resources/MockComponent.js" },\n', + '../../platform/src/container/AbstractContainer.js': '{ type: "js", src: "resources/MockContainer.js" },\n', + '../../platform/src/panel/AbstractPanel.js': '{ type: "js", src: "resources/MockPanel.js" },\n', + '../../platform/src/layout/container/AbstractContainer.js': '{ type: "js", src: "resources/MockContainerLayout.js" },\n' + } +},{ + title: 'Platform Only', + tpl: 'tests/platform.tpl', + destination: '../../platform/test/unit/platform.html', + sources: 'sdk.jsb3', + srcReplace: [/(platform\/)|(\.\.\/test\/unit\/)/,''], + srcMustMatch: 'platform', + packages: [ + 'Foundation', + 'Extras', + 'DOM', + 'Classes' + ], + specPaths: [ + '../../platform/test/unit/spec' + ], + excludes: ['../../platform/core/test/unit/spec/env/Environment.js'], + prepare: { + '../../platform/src/AbstractComponent.js': '{ type: "js", src: "resources/MockUtilAnimate.js" },\n', + }, + overrides: { + '../../platform/core/src/class/Loader.js' : '{ type: "js", src: "resources/BlockLoader.js" },\n', + '../../platform/src/AbstractComponent.js': '{ type: "js", src: "resources/MockComponent.js" },\n', + '../../platform/src/container/AbstractContainer.js': '{ type: "js", src: "resources/MockContainer.js" },\n', + '../../platform/src/panel/AbstractPanel.js': '{ type: "js", src: "resources/MockPanel.js" },\n', + '../../platform/src/layout/container/AbstractContainer.js': '{ type: "js", src: "resources/MockContainerLayout.js" },\n' + } +}] \ No newline at end of file