ソースを参照

REmoved canvas2d tests

David Catuhe 8 年 前
コミット
fe7bc7e66c

+ 0 - 1
.gitignore

@@ -21,7 +21,6 @@ loaders/src/**/*.js
 materialsLibrary/src/**/*.js
 proceduralTexturesLibrary/src/**/*.js
 postProcessLibrary/src/**/*.js
-canvas2D/src/**/*.js
 inspector/src/**/*.js
 serializers/src/**/*.js
 gui/src/**/*.js

+ 0 - 114
tests/Canvas2d/Jasmine/DataBindingTest.js

@@ -1,114 +0,0 @@
-/// <reference path="../../../src/canvas2d/babylon.smartpropertyprim.ts" />
-/// <reference path="testclasses.ts" />
-describe("GUI - Data Binding", function () {
-    it("target update, no indirection", function () {
-        // Create a customer, set its age
-        var c = new BABYLON.Customer();
-        c.age = 18;
-        // Create a View Model and a binding
-        var vm = new BABYLON.CustomerViewModel();
-        vm.createSimpleDataBinding(BABYLON.CustomerViewModel.ageProperty, "age");
-        // Setting a dataSource should setup vm.age with the binding source value
-        vm.dataSource = c;
-        // Check it's ok
-        expect(vm.age).toBe(18);
-        // Change the source value, check the target is updated
-        c.age = 19;
-        expect(vm.age).toBe(19);
-    });
-    it("target update, with indirection", function () {
-        // Create a customer, set its city
-        var c = new BABYLON.Customer();
-        c.mainAddress.city = "Pontault Combault";
-        // Create a View Model and a binding with an indirection
-        var vm = new BABYLON.CustomerViewModel();
-        vm.createSimpleDataBinding(BABYLON.CustomerViewModel.cityProperty, "mainAddress.city");
-        // Setting a dataSource should update the targets
-        vm.dataSource = c;
-        // Check it's ok
-        expect(vm.city).toBe("Pontault Combault", "setting a new dataSource didn't immediately update the target");
-        // Change the source value, check the target is updated
-        c.mainAddress.city = "Paris";
-        expect(vm.city).toBe("Paris", "changing source property didn't update the target property");
-        // Change the address object, target should be updated
-        var address = new BABYLON.Address();
-        address.city = "Seattle";
-        var oldAddress = c.mainAddress;
-        c.mainAddress = address;
-        expect(vm.city).toBe("Seattle", "changing intermediate object (the address) didn't update the target");
-        // Check that if we change again inside Address, it still works
-        c.mainAddress.city = "Redmond";
-        expect(vm.city).toBe("Redmond", "changing final source property didn't change the target");
-        // Now checks that changing the oldAddress city doesn't change the target
-        oldAddress.city = "Berlin";
-        expect(vm.city).not.toBe("Berlin", "Changed old address changed the target, which should not");
-    });
-    it("target, one time update", function () {
-        var c = new BABYLON.Customer();
-        c.firstName = "Loic Baumann";
-        // Create a View Model and a binding with an indirection
-        var vm = new BABYLON.CustomerViewModel();
-        vm.createSimpleDataBinding(BABYLON.CustomerViewModel.firstNameProperty, "firstName");
-        // Setting a dataSource should update the targets
-        vm.dataSource = c;
-        // Check it's ok
-        expect(vm.firstName).toBe("Loic Baumann", "setting a new dataSource didn't immediately update the target with one time binding");
-        // A change of the source shouldn't update the target
-        c.firstName = "Nockawa";
-        expect(vm.firstName).not.toBe("Nockawa", "Changing source property of a One Time binding updated the target, which should not");
-        // A change of dataSource should update the target
-        var c2 = new BABYLON.Customer();
-        c2.firstName = "John";
-        vm.dataSource = c2;
-        expect(vm.firstName).toBe("John", "setting a new dataSource again didn't immediately update the target with one time binding");
-    });
-    it("binding Format", function () {
-        var c = new BABYLON.Customer();
-        c.firstName = "Loic Baumann";
-        c.age = 40;
-        // Create a View Model and a binding with an indirection
-        var vm = new BABYLON.CustomerViewModel();
-        // Setting a dataSource should setup vm.age with the binding source value
-        vm.dataSource = c;
-        // Create the binding and set it up
-        var b = new BABYLON.Binding();
-        b.propertyPathName = "firstName";
-        b.stringFormat = function (v) { return ("My Name is " + v); };
-        vm.createDataBinding(BABYLON.CustomerViewModel.firstNameProperty, b);
-        // Check it's ok
-        expect(vm.firstName).toBe("My Name is Loic Baumann", "binding string format doesn't work");
-        // Bind age to city with "Age: $value" format
-        b = new BABYLON.Binding();
-        b.propertyPathName = "age";
-        b.stringFormat = function (v) { return ("Age: " + v); };
-        vm.createDataBinding(BABYLON.CustomerViewModel.cityProperty, b);
-        // Check it's ok
-        expect(vm.city).toBe("Age: 40", "binding string format doesn't work on non string source type");
-    });
-    it("binding custom source", function () {
-        var c1 = new BABYLON.Customer();
-        c1.firstName = "Loic Baumann";
-        c1.age = 40;
-        var c2 = new BABYLON.Customer();
-        c2.firstName = "John Doe";
-        c2.age = 20;
-        // Create a View Model and a binding with an indirection
-        var vm = new BABYLON.CustomerViewModel();
-        // Setting a dataSource should setup vm.age with the binding source value
-        vm.dataSource = c1;
-        // Create the binding and set it up
-        var b = new BABYLON.Binding();
-        b.propertyPathName = "firstName";
-        vm.createDataBinding(BABYLON.CustomerViewModel.firstNameProperty, b);
-        // Bind age with a custom source
-        b = new BABYLON.Binding();
-        b.propertyPathName = "age";
-        b.dataSource = c2;
-        vm.createDataBinding(BABYLON.CustomerViewModel.ageProperty, b);
-        // Check it's ok
-        expect(vm.firstName).toBe("Loic Baumann", "binding string format doesn't work");
-        // Check it's ok
-        expect(vm.age).toBe(20, "binding string format doesn't work on non string source type");
-    });
-});
-//# sourceMappingURL=DataBindingTest.js.map

+ 0 - 162
tests/Canvas2d/Jasmine/DataBindingTest.ts

@@ -1,162 +0,0 @@
-/// <reference path="testclasses.ts" />
-
-
-describe("GUI - Data Binding", () => {
-
-    it("target update, no indirection",
-        () => {
-
-            // Create a customer, set its age
-            let c = new BABYLON.Customer();
-            c.age = 18;
-
-            // Create a View Model and a binding
-            let vm = new BABYLON.CustomerViewModel();
-            vm.createSimpleDataBinding(BABYLON.CustomerViewModel.ageProperty, "age");
-
-            // Setting a dataSource should setup vm.age with the binding source value
-            vm.dataSource = c;
-
-            // Check it's ok
-            expect(vm.age).toBe(18);
-
-            // Change the source value, check the target is updated
-            c.age = 19;
-            expect(vm.age).toBe(19);
-        }
-    );
-
-    it("target update, with indirection",
-        () => {
-
-            // Create a customer, set its city
-            let c = new BABYLON.Customer();
-            c.mainAddress.city = "Pontault Combault";
-
-            // Create a View Model and a binding with an indirection
-            let vm = new BABYLON.CustomerViewModel();
-            vm.createSimpleDataBinding(BABYLON.CustomerViewModel.cityProperty, "mainAddress.city");
-
-            // Setting a dataSource should update the targets
-            vm.dataSource = c;
-
-            // Check it's ok
-            expect(vm.city).toBe("Pontault Combault", "setting a new dataSource didn't immediately update the target");
-
-            // Change the source value, check the target is updated
-            c.mainAddress.city = "Paris";
-            expect(vm.city).toBe("Paris", "changing source property didn't update the target property");
-
-            // Change the address object, target should be updated
-            let address = new BABYLON.Address();
-            address.city = "Seattle";
-
-            let oldAddress = c.mainAddress;
-            c.mainAddress = address;
-            expect(vm.city).toBe("Seattle", "changing intermediate object (the address) didn't update the target");
-
-            // Check that if we change again inside Address, it still works
-            c.mainAddress.city = "Redmond";
-            expect(vm.city).toBe("Redmond", "changing final source property didn't change the target");
-
-            // Now checks that changing the oldAddress city doesn't change the target
-            oldAddress.city = "Berlin";
-            expect(vm.city).not.toBe("Berlin", "Changed old address changed the target, which should not");
-        }
-    );
-
-    it("target, one time update",
-        () => {
-            let c = new BABYLON.Customer();
-            c.firstName = "Loic Baumann";
-
-            // Create a View Model and a binding with an indirection
-            let vm = new BABYLON.CustomerViewModel();
-            vm.createSimpleDataBinding(BABYLON.CustomerViewModel.firstNameProperty, "firstName");
-
-            // Setting a dataSource should update the targets
-            vm.dataSource = c;
-
-            // Check it's ok
-            expect(vm.firstName).toBe("Loic Baumann", "setting a new dataSource didn't immediately update the target with one time binding");
-
-            // A change of the source shouldn't update the target
-            c.firstName = "Nockawa";
-            expect(vm.firstName).not.toBe("Nockawa", "Changing source property of a One Time binding updated the target, which should not");
-
-            // A change of dataSource should update the target
-            let c2 = new BABYLON.Customer();
-            c2.firstName = "John";
-
-            vm.dataSource = c2;
-            expect(vm.firstName).toBe("John", "setting a new dataSource again didn't immediately update the target with one time binding");
-        }
-    );
-
-    it("binding Format", () => {
-        let c = new BABYLON.Customer();
-        c.firstName = "Loic Baumann";
-        c.age = 40;
-
-        // Create a View Model and a binding with an indirection
-        let vm = new BABYLON.CustomerViewModel();
-
-        // Setting a dataSource should setup vm.age with the binding source value
-        vm.dataSource = c;
-
-        // Create the binding and set it up
-        let b = new BABYLON.DataBinding();
-        b.propertyPathName = "firstName";
-        b.stringFormat = v => `My Name is ${v}`;
-        vm.createDataBinding(BABYLON.CustomerViewModel.firstNameProperty, b);
-
-        // Check it's ok
-        expect(vm.firstName).toBe("My Name is Loic Baumann", "binding string format doesn't work");
-
-        // Bind age to city with "Age: $value" format
-        b = new BABYLON.DataBinding();
-        b.propertyPathName = "age";
-        b.stringFormat = v => `Age: ${v}`;
-        vm.createDataBinding(BABYLON.CustomerViewModel.cityProperty, b);
-
-        // Check it's ok
-        expect(vm.city).toBe("Age: 40", "binding string format doesn't work on non string source type");
-    });
-
-    it("binding custom source", () => {
-        let c1 = new BABYLON.Customer();
-        c1.firstName = "Loic Baumann";
-        c1.age = 40;
-
-        let c2 = new BABYLON.Customer();
-        c2.firstName = "John Doe";
-        c2.age = 20;
-
-        // Create a View Model and a binding with an indirection
-        let vm = new BABYLON.CustomerViewModel();
-
-        // Setting a dataSource should setup vm.age with the binding source value
-        vm.dataSource = c1;
-
-        // Create the binding and set it up
-        let b = new BABYLON.DataBinding();
-        b.propertyPathName = "firstName";
-        vm.createDataBinding(BABYLON.CustomerViewModel.firstNameProperty, b);
-
-        // Bind age with a custom source
-        b = new BABYLON.DataBinding();
-        b.propertyPathName = "age";
-        b.dataSource = c2;
-        vm.createDataBinding(BABYLON.CustomerViewModel.ageProperty, b);
-
-
-        // Check it's ok
-        expect(vm.firstName).toBe("Loic Baumann", "binding string format doesn't work");
-
-
-        // Check it's ok
-        expect(vm.age).toBe(20, "binding string format doesn't work on non string source type");
-    });
-
-});
-

+ 0 - 173
tests/Canvas2d/Jasmine/TestClasses.ts

@@ -1,173 +0,0 @@
-module BABYLON {
-
-    @className("Address")
-    export class Address extends PropertyChangedBase {
-
-        public get street(): string {
-            return this._street;
-        }
-
-        public set street(value: string) {
-            if (value === this._street) {
-                return;
-            }
-
-            let old = this._street;
-            this._street = value;
-            this.onPropertyChanged("street", old, value);
-        }
-
-        public get city(): string {
-            return this._city;
-        }
-
-        public set city(value: string) {
-            if (value === this._city) {
-                return;
-            }
-
-            let old = this._city;
-            this._city = value;
-            this.onPropertyChanged("city", old, value);
-        }
-
-
-        public get postalCode(): string {
-            return this._postalCode;
-        }
-
-        public set postalCode(value: string) {
-            if (value === this._postalCode) {
-                return;
-            }
-
-            let old = this._postalCode;
-            this._postalCode = value;
-            this.onPropertyChanged("postalCode", old, value);
-        }
-
-        private _street: string;
-        private _city: string;
-        private _postalCode: string;
-    }
-
-    @className("Customer")
-    export class Customer extends PropertyChangedBase {
-
-        /**
-            * Customer First Name
-        **/
-        public get firstName(): string {
-            return this._firstName;
-        }
-
-        public set firstName(value: string) {
-            if (value === this._firstName) {
-                return;
-            }
-
-            let old = this._firstName;
-            this._firstName = value;
-            this.onPropertyChanged("firstName", old, value);
-        }
-
-        /**
-            * Customer Last Name
-        **/
-        public get lastName(): string {
-            return this._lastName;
-        }
-
-        public set lastName(value: string) {
-            if (value === this._lastName) {
-                return;
-            }
-
-            let old = this._lastName;
-            this._lastName = value;
-            this.onPropertyChanged("lastName", old, value);
-        }
-
-        /**
-            * Customer Main Address
-        **/
-        public get mainAddress(): Address {
-            if (!this._mainAddress) {
-                this._mainAddress = new Address();
-            }
-            return this._mainAddress;
-        }
-
-        public set mainAddress(value: Address) {
-            if (value === this._mainAddress) {
-                return;
-            }
-
-            let old = this._mainAddress;
-            this._mainAddress = value;
-            this.onPropertyChanged("mainAddress", old, value);
-        }
-
-        public get age(): number {
-            return this._age;
-        }
-
-        public set age(value: number) {
-            if (value === this._age) {
-                return;
-            }
-
-            let old = this._age;
-            this._age = value;
-            this.onPropertyChanged("age", old, value);
-        }
-
-        private _firstName: string;
-        private _lastName: string;
-        private _mainAddress: Address;
-        private _age: number;
-    }
-
-    @className("CustomerViewModel")
-    export class CustomerViewModel extends SmartPropertyBase {
-        public static firstNameProperty: Prim2DPropInfo;
-        public static ageProperty: Prim2DPropInfo;
-        public static cityProperty: Prim2DPropInfo;
-
-        constructor() {
-            super();
-        }
-
-        @BABYLON.dependencyProperty(0, pi => CustomerViewModel.ageProperty = pi)
-        public get age(): number {
-            return this._age;
-        }
-
-        public set age(value: number) {
-            this._age = value;
-        }
-
-        @BABYLON.dependencyProperty(1, pi => CustomerViewModel.cityProperty = pi)
-        public get city(): string {
-            return this._city;
-        }
-
-        public set city(value: string) {
-            this._city = value;
-        }
-
-        @BABYLON.dependencyProperty(2, pi => CustomerViewModel.firstNameProperty = pi, DataBinding.MODE_ONETIME)
-        public get firstName(): string {
-            return this._firstName;
-        }
-
-        public set firstName(value: string) {
-            this._firstName = value;
-        }
-
-        private _age: number;
-        private _city: string;
-        private _firstName: string;
-    }
-
-}

+ 0 - 215
tests/Canvas2d/Jasmine/chutzpah.json

@@ -1,215 +0,0 @@
-{
-    "Compile": {
-        "Mode": "External",
-        "Extensions": [ ".ts" ],
-        "ExtensionsWithNoOutput": [ ".d.ts" ]
-    },
-    "References": [
-
-        { "Path": "../../../src/Math/babylon.math.js" },
-        { "Path": "../../../src/Math/babylon.math.simd.js" },
-        { "Path": "../../../src/Tools/babylon.decorators.js" },
-        { "Path": "../../../src/Tools/babylon.observable.js" },
-        { "Path": "../../../src/Tools/babylon.database.js" },
-        { "Path": "../../../src/Tools/babylon.tools.tga.js" },
-        { "Path": "../../../src/Tools/babylon.tools.dds.js" },
-        { "Path": "../../../src/Tools/babylon.stringDictionary.js" },
-        { "Path": "../../../src/Tools/babylon.smartArray.js" },
-        { "Path": "../../../src/Tools/babylon.dynamicFloatArray.js" },
-        { "Path": "../../../src/Tools/babylon.rectPackingMap.js" },
-        { "Path": "../../../src/Tools/babylon.tools.js" },
-        { "Path": "../../../src/states/babylon.alphaCullingState.js" },
-        { "Path": "../../../src/states/babylon.depthCullingState.js" },
-        { "Path": "../../../src/states/babylon.stencilState.js" },
-        { "Path": "../../../src/babylon.engine.js" },
-        { "Path": "../../../src/babylon.node.js" },
-        { "Path": "../../../src/Tools/babylon.filesInput.js" },
-        { "Path": "../../../src/Collisions/babylon.pickingInfo.js" },
-        { "Path": "../../../src/Culling/babylon.boundingSphere.js" },
-        { "Path": "../../../src/Culling/babylon.boundingBox.js" },
-        { "Path": "../../../src/Culling/babylon.boundingInfo.js" },
-        { "Path": "../../../src/Culling/babylon.ray.js" },
-        { "Path": "../../../src/Mesh/babylon.abstractMesh.js" },
-        { "Path": "../../../src/Lights/babylon.light.js" },
-        { "Path": "../../../src/Lights/babylon.pointLight.js" },
-        { "Path": "../../../src/Lights/babylon.spotLight.js" },
-        { "Path": "../../../src/Lights/babylon.hemisphericLight.js" },
-        { "Path": "../../../src/Lights/babylon.directionalLight.js" },
-        { "Path": "../../../src/Lights/Shadows/babylon.shadowGenerator.js" },
-        { "Path": "../../../src/Collisions/babylon.collider.js" },
-        { "Path": "../../../src/Collisions/babylon.collisionCoordinator.js" },
-        { "Path": "../../../src/Collisions/babylon.collisionWorker.js" },
-        { "Path": "../../../src/Cameras/babylon.camera.js" },
-        { "Path": "../../../src/Cameras/babylon.camerainputsmanager.js" },
-        { "Path": "../../../src/cameras/inputs/babylon.freecamera.input.mouse.js" },
-        { "Path": "../../../src/cameras/inputs/babylon.freecamera.input.keyboard.js" },
-        { "Path": "../../../src/cameras/inputs/babylon.freecamera.input.touch.js" },
-        { "Path": "../../../src/cameras/inputs/babylon.freecamera.input.deviceorientation.js" },
-        { "Path": "../../../src/cameras/inputs/babylon.freecamera.input.gamepad.js" },
-        { "Path": "../../../src/cameras/inputs/babylon.freecamera.input.virtualjoystick.js" },
-        { "Path": "../../../src/cameras/inputs/babylon.arcrotatecamera.input.keyboard.js" },
-        { "Path": "../../../src/cameras/inputs/babylon.arcrotatecamera.input.mousewheel.js" },
-        { "Path": "../../../src/cameras/inputs/babylon.arcrotatecamera.input.pointers.js" },
-        { "Path": "../../../src/cameras/inputs/babylon.arcrotatecamera.input.gamepad.js" },
-        { "Path": "../../../src/cameras/inputs/babylon.arcrotatecamera.input.vrdeviceorientation.js" },
-        { "Path": "../../../src/Cameras/babylon.targetCamera.js" },
-        { "Path": "../../../src/Cameras/babylon.followCamera.js" },
-        { "Path": "../../../src/Cameras/babylon.freeCamera.js" },
-        { "Path": "../../../src/Cameras/babylon.freeCameraInputsManager.js" },
-        { "Path": "../../../src/Cameras/babylon.touchCamera.js" },
-        { "Path": "../../../src/Cameras/babylon.arcRotateCamera.js" },
-        { "Path": "../../../src/Cameras/babylon.arcRotateCameraInputsManager.js" },
-        { "Path": "../../../src/Cameras/babylon.universalCamera.js" },
-        { "Path": "../../../src/Cameras/babylon.deviceOrientationCamera.js" },
-        { "Path": "../../../src/Tools/babylon.gamepads.js" },
-        { "Path": "../../../src/Cameras/babylon.gamepadCamera.js" },
-        { "Path": "../../../src/Rendering/babylon.renderingManager.js" },
-        { "Path": "../../../src/Rendering/babylon.renderingGroup.js" },
-        { "Path": "../../../src/babylon.scene.js" },
-        { "Path": "../../../src/Mesh/babylon.buffer.js" },
-        { "Path": "../../../src/Mesh/babylon.vertexBuffer.js" },
-        { "Path": "../../../src/Mesh/babylon.instancedMesh.js" },
-        { "Path": "../../../src/Mesh/babylon.mesh.js" },
-        { "Path": "../../../src/Mesh/babylon.meshBuilder.js" },
-        { "Path": "../../../src/Mesh/babylon.groundMesh.js" },
-        { "Path": "../../../src/Mesh/babylon.subMesh.js" },
-        { "Path": "../../../src/Materials/textures/babylon.baseTexture.js" },
-        { "Path": "../../../src/Materials/textures/babylon.texture.js" },
-        { "Path": "../../../src/Materials/textures/babylon.cubeTexture.js" },
-        { "Path": "../../../src/Materials/textures/babylon.renderTargetTexture.js" },
-        { "Path": "../../../src/Materials/textures/procedurals/babylon.proceduralTexture.js" },
-        { "Path": "../../../src/Materials/textures/procedurals/babylon.customProceduralTexture.js" },
-        { "Path": "../../../src/Materials/textures/babylon.mirrorTexture.js" },
-        { "Path": "../../../src/Materials/textures/babylon.refractionTexture.js" },
-        { "Path": "../../../src/Materials/textures/babylon.dynamicTexture.js" },
-        { "Path": "../../../src/Materials/textures/babylon.videoTexture.js" },
-        { "Path": "../../../src/Materials/textures/babylon.mapTexture.js" },
-        { "Path": "../../../src/Materials/babylon.effect.js" },
-        { "Path": "../../../src/Materials/babylon.materialHelper.js" },
-        { "Path": "../../../src/Materials/babylon.fresnelParameters.js" },
-        { "Path": "../../../src/Materials/babylon.material.js" },
-        { "Path": "../../../src/Materials/babylon.standardMaterial.js" },
-        { "Path": "../../../src/Materials/babylon.pbrMaterial.js" },
-        { "Path": "../../../src/Materials/babylon.multiMaterial.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.fontTexture.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.bounding2d.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.primitiveCollisionManager.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.canvas2dLayoutEngine.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.brushes2d.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.smartPropertyPrim.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.prim2dBase.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.modelRenderCache.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.renderablePrim2d.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.shape2d.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.group2d.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.wireFrame2d.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.rectangle2d.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.sprite2d.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.text2d.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.canvas2d.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.ellipse2d.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.lines2d.js" },
-        { "Path": "../../../canvas2d/src/Engine/babylon.worldspacecanvas2dNode.js" },
-        { "Path": "../../../src/GUI/babylon.gui.UIElement.js" },
-        { "Path": "../../../src/GUI/babylon.gui.control.js" },
-        { "Path": "../../../src/GUI/babylon.gui.label.js" },
-        { "Path": "../../../src/GUI/babylon.gui.window.js" },
-        { "Path": "../../../src/GUI/babylon.gui.button.js" },
-        { "Path": "../../../src/Loading/babylon.sceneLoader.js" },
-        { "Path": "../../../src/Loading/Plugins/babylon.babylonFileLoader.js" },
-        { "Path": "../../../src/Sprites/babylon.spriteManager.js" },
-        { "Path": "../../../src/Sprites/babylon.sprite.js" },
-        { "Path": "../../../src/Layer/babylon.layer.js" },
-        { "Path": "../../../src/Particles/babylon.particle.js" },
-        { "Path": "../../../src/Particles/babylon.particleSystem.js" },
-        { "Path": "../../../src/Particles/babylon.solidParticle.js" },
-        { "Path": "../../../src/Particles/babylon.solidParticleSystem.js" },
-        { "Path": "../../../src/Animations/babylon.animation.js" },
-        { "Path": "../../../src/Animations/babylon.animatable.js" },
-        { "Path": "../../../src/Animations/babylon.easing.js" },
-        { "Path": "../../../src/Culling/Octrees/babylon.octree.js" },
-        { "Path": "../../../src/Culling/Octrees/babylon.octreeBlock.js" },
-        { "Path": "../../../src/Bones/babylon.bone.js" },
-        { "Path": "../../../src/Bones/babylon.skeleton.js" },
-        { "Path": "../../../src/PostProcess/babylon.postProcess.js" },
-        { "Path": "../../../src/PostProcess/babylon.postProcessManager.js" },
-        { "Path": "../../../src/PostProcess/babylon.passPostProcess.js" },
-        { "Path": "../../../src/PostProcess/babylon.blurPostProcess.js" },
-        { "Path": "../../../src/PostProcess/babylon.refractionPostProcess.js" },
-        { "Path": "../../../src/PostProcess/babylon.blackAndWhitePostProcess.js" },
-        { "Path": "../../../src/PostProcess/babylon.convolutionPostProcess.js" },
-        { "Path": "../../../src/PostProcess/babylon.filterPostProcess.js" },
-        { "Path": "../../../src/PostProcess/babylon.fxaaPostProcess.js" },
-        { "Path": "../../../src/LensFlare/babylon.lensFlare.js" },
-        { "Path": "../../../src/LensFlare/babylon.lensFlareSystem.js" },
-        { "Path": "../../../src/Physics/Plugins/babylon.cannonJSPlugin.js" },
-        { "Path": "../../../src/Physics/Plugins/babylon.oimoJSPlugin.js" },
-        { "Path": "../../../src/Physics/babylon.physicsImpostor.js" },
-        { "Path": "../../../src/Physics/babylon.physicsEngine.js" },
-        { "Path": "../../../src/Physics/babylon.physicsJoint.js" },
-        { "Path": "../../../src/Tools/babylon.sceneSerializer.js" },
-        { "Path": "../../../src/Mesh/babylon.csg.js" },
-        { "Path": "../../../src/PostProcess/babylon.vrDistortionCorrectionPostProcess.js" },
-        { "Path": "../../../src/Tools/babylon.virtualJoystick.js" },
-        { "Path": "../../../src/Cameras/babylon.virtualJoysticksCamera.js" },
-        { "Path": "../../../src/Materials/babylon.shaderMaterial.js" },
-        { "Path": "../../../src/Mesh/babylon.mesh.vertexData.js" },
-        { "Path": "../../../src/PostProcess/babylon.anaglyphPostProcess.js" },
-        { "Path": "../../../src/Tools/babylon.tags.js" },
-        { "Path": "../../../src/Tools/babylon.andOrNotEvaluator.js" },
-        { "Path": "../../../src/PostProcess/RenderPipeline/babylon.postProcessRenderPass.js" },
-        { "Path": "../../../src/PostProcess/RenderPipeline/babylon.postProcessRenderEffect.js" },
-        { "Path": "../../../src/PostProcess/RenderPipeline/babylon.postProcessRenderPipeline.js" },
-        { "Path": "../../../src/PostProcess/RenderPipeline/babylon.postProcessRenderPipelineManager.js" },
-        { "Path": "../../../src/PostProcess/babylon.displayPassPostProcess.js" },
-        { "Path": "../../../src/Rendering/babylon.boundingBoxRenderer.js" },
-        { "Path": "../../../src/Actions/babylon.condition.js" },
-        { "Path": "../../../src/Actions/babylon.action.js" },
-        { "Path": "../../../src/Actions/babylon.actionManager.js" },
-        { "Path": "../../../src/Actions/babylon.interpolateValueAction.js" },
-        { "Path": "../../../src/Actions/babylon.directActions.js" },
-        { "Path": "../../../src/Mesh/babylon.geometry.js" },
-        { "Path": "../../../src/Mesh/babylon.linesMesh.js" },
-        { "Path": "../../../src/Rendering/babylon.outlineRenderer.js" },
-        { "Path": "../../../src/Tools/babylon.assetsManager.js" },
-        { "Path": "../../../src/Cameras/VR/babylon.vrCameraMetrics.js" },
-        { "Path": "../../../src/Cameras/VR/babylon.vrDeviceOrientationCamera.js" },
-        { "Path": "../../../src/Cameras/VR/babylon.webVRCamera.js" },
-        { "Path": "../../../src/Tools/babylon.sceneOptimizer.js" },
-        { "Path": "../../../src/Tools/babylon.earcut.js" },
-        { "Path": "../../../src/Mesh/babylon.meshLODLevel.js" },
-        { "Path": "../../../src/Audio/babylon.audioEngine.js" },
-        { "Path": "../../../src/Audio/babylon.sound.js" },
-        { "Path": "../../../src/Audio/babylon.soundtrack.js" },
-        { "Path": "../../../src/Debug/babylon.skeletonViewer.js" },
-        { "Path": "../../../src/Debug/babylon.debugLayer.js" },
-        { "Path": "../../../src/Materials/Textures/babylon.rawTexture.js" },
-        { "Path": "../../../src/Mesh/babylon.polygonMesh.js" },
-        { "Path": "../../../src/Mesh/babylon.meshSimplification.js" },
-        { "Path": "../../../src/Audio/babylon.analyser.js" },
-        { "Path": "../../../src/Rendering/babylon.depthRenderer.js" },
-        { "Path": "../../../src/PostProcess/babylon.ssaoRenderingPipeline.js" },
-        { "Path": "../../../src/PostProcess/babylon.volumetricLightScatteringPostProcess.js" },
-        { "Path": "../../../src/PostProcess/babylon.lensRenderingPipeline.js" },
-        { "Path": "../../../src/PostProcess/babylon.colorCorrectionPostProcess.js" },
-        { "Path": "../../../src/PostProcess/babylon.stereoscopicInterlacePostProcess.js" },
-        { "Path": "../../../src/Cameras/babylon.stereoscopicCameras.js" },
-        { "Path": "../../../src/PostProcess/babylon.hdrRenderingPipeline.js" },
-        { "Path": "../../../src/Rendering/babylon.edgesRenderer.js" },
-        { "Path": "../../../src/Tools/babylon.loadingScreen.js" },
-        { "Path": "../../../src/Probes/babylon.reflectionProbe.js" },
-        { "Path": "../../../src/tools/hdr/babylon.tools.pmremGenerator.js" },
-        { "Path": "../../../src/tools/hdr/babylon.tools.cubemapToSphericalPolynomial.js" },
-        { "Path": "../../../src/tools/hdr/babylon.tools.panoramaToCubemap.js" },
-        { "Path": "../../../src/tools/hdr/babylon.tools.hdr.js" },
-        { "Path": "../../../src/materials/textures/babylon.hdrCubeTexture.js" },
-        { "Path": "../../../src/Materials/Textures/babylon.colorGradingTexture.js" },
-        { "Path": "../../../src/Materials/babylon.colorcurves.js" },
-        { "Path": "./TestClasses.js" }
-    ],
-    "Tests": [
-        {
-            "Includes": [ "*.ts" ]
-        }
-    ]
-}

+ 0 - 204
tests/Canvas2d/Jasmine/testclasses.js

@@ -1,204 +0,0 @@
-var __extends = (this && this.__extends) || function (d, b) {
-    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
-    function __() { this.constructor = d; }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-};
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var BABYLON;
-(function (BABYLON) {
-    var Address = (function (_super) {
-        __extends(Address, _super);
-        function Address() {
-            _super.apply(this, arguments);
-        }
-        Object.defineProperty(Address.prototype, "street", {
-            get: function () {
-                return this._street;
-            },
-            set: function (value) {
-                if (value === this._street) {
-                    return;
-                }
-                var old = this._street;
-                this._street = value;
-                this.onPropertyChanged("street", old, value);
-            },
-            enumerable: true,
-            configurable: true
-        });
-        Object.defineProperty(Address.prototype, "city", {
-            get: function () {
-                return this._city;
-            },
-            set: function (value) {
-                if (value === this._city) {
-                    return;
-                }
-                var old = this._city;
-                this._city = value;
-                this.onPropertyChanged("city", old, value);
-            },
-            enumerable: true,
-            configurable: true
-        });
-        Object.defineProperty(Address.prototype, "postalCode", {
-            get: function () {
-                return this._postalCode;
-            },
-            set: function (value) {
-                if (value === this._postalCode) {
-                    return;
-                }
-                var old = this._postalCode;
-                this._postalCode = value;
-                this.onPropertyChanged("postalCode", old, value);
-            },
-            enumerable: true,
-            configurable: true
-        });
-        Address = __decorate([
-            BABYLON.className("Address")
-        ], Address);
-        return Address;
-    }(BABYLON.PropertyChangedBase));
-    BABYLON.Address = Address;
-    var Customer = (function (_super) {
-        __extends(Customer, _super);
-        function Customer() {
-            _super.apply(this, arguments);
-        }
-        Object.defineProperty(Customer.prototype, "firstName", {
-            /**
-                * Customer First Name
-            **/
-            get: function () {
-                return this._firstName;
-            },
-            set: function (value) {
-                if (value === this._firstName) {
-                    return;
-                }
-                var old = this._firstName;
-                this._firstName = value;
-                this.onPropertyChanged("firstName", old, value);
-            },
-            enumerable: true,
-            configurable: true
-        });
-        Object.defineProperty(Customer.prototype, "lastName", {
-            /**
-                * Customer Last Name
-            **/
-            get: function () {
-                return this._lastName;
-            },
-            set: function (value) {
-                if (value === this._lastName) {
-                    return;
-                }
-                var old = this._lastName;
-                this._lastName = value;
-                this.onPropertyChanged("lastName", old, value);
-            },
-            enumerable: true,
-            configurable: true
-        });
-        Object.defineProperty(Customer.prototype, "mainAddress", {
-            /**
-                * Customer Main Address
-            **/
-            get: function () {
-                if (!this._mainAddress) {
-                    this._mainAddress = new Address();
-                }
-                return this._mainAddress;
-            },
-            set: function (value) {
-                if (value === this._mainAddress) {
-                    return;
-                }
-                var old = this._mainAddress;
-                this._mainAddress = value;
-                this.onPropertyChanged("mainAddress", old, value);
-            },
-            enumerable: true,
-            configurable: true
-        });
-        Object.defineProperty(Customer.prototype, "age", {
-            get: function () {
-                return this._age;
-            },
-            set: function (value) {
-                if (value === this._age) {
-                    return;
-                }
-                var old = this._age;
-                this._age = value;
-                this.onPropertyChanged("age", old, value);
-            },
-            enumerable: true,
-            configurable: true
-        });
-        Customer = __decorate([
-            BABYLON.className("Customer")
-        ], Customer);
-        return Customer;
-    }(BABYLON.PropertyChangedBase));
-    BABYLON.Customer = Customer;
-    var CustomerViewModel = (function (_super) {
-        __extends(CustomerViewModel, _super);
-        function CustomerViewModel() {
-            _super.call(this);
-        }
-        Object.defineProperty(CustomerViewModel.prototype, "age", {
-            get: function () {
-                return this._age;
-            },
-            set: function (value) {
-                this._age = value;
-            },
-            enumerable: true,
-            configurable: true
-        });
-        Object.defineProperty(CustomerViewModel.prototype, "city", {
-            get: function () {
-                return this._city;
-            },
-            set: function (value) {
-                this._city = value;
-            },
-            enumerable: true,
-            configurable: true
-        });
-        Object.defineProperty(CustomerViewModel.prototype, "firstName", {
-            get: function () {
-                return this._firstName;
-            },
-            set: function (value) {
-                this._firstName = value;
-            },
-            enumerable: true,
-            configurable: true
-        });
-        __decorate([
-            BABYLON.dependencyProperty(0, function (pi) { return CustomerViewModel.ageProperty = pi; })
-        ], CustomerViewModel.prototype, "age", null);
-        __decorate([
-            BABYLON.dependencyProperty(1, function (pi) { return CustomerViewModel.cityProperty = pi; })
-        ], CustomerViewModel.prototype, "city", null);
-        __decorate([
-            BABYLON.dependencyProperty(2, function (pi) { return CustomerViewModel.firstNameProperty = pi; }, BABYLON.Binding.MODE_ONETIME)
-        ], CustomerViewModel.prototype, "firstName", null);
-        CustomerViewModel = __decorate([
-            BABYLON.className("CustomerViewModel")
-        ], CustomerViewModel);
-        return CustomerViewModel;
-    }(BABYLON.SmartPropertyBase));
-    BABYLON.CustomerViewModel = CustomerViewModel;
-})(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=testclasses.js.map