فهرست منبع

reducing the amount of tests
All tests configurations are still there, in allTests instead of tests.
This is done since tests fail randomally, probably because of the amount of data transfered between browserstack and travis

Raanan Weber 7 سال پیش
والد
کامیت
37da305e85
1فایلهای تغییر یافته به همراه44 افزوده شده و 0 حذف شده
  1. 44 0
      Viewer/tests/validation/config.json

+ 44 - 0
Viewer/tests/validation/config.json

@@ -10,6 +10,50 @@
             "referenceImage": "ControlDefault.png"
         },
         {
+            "title": "Diffuse",
+            "createMesh": true,
+            "createMaterial": true,
+            "configuration": {
+                "extends": "extended",
+                "castShadow": true,
+                "model": {
+                    "material": {
+                        "albedoColor": {
+                            "r": 0,
+                            "g": 0,
+                            "b": 1
+                        },
+                        "reflectivityColor": {
+                            "r": 0,
+                            "g": 0,
+                            "b": 0
+                        },
+                        "microSurface": 0
+                    }
+                }
+            },
+            "referenceImage": "Diffuse.png"
+        },
+        {
+            "title": "BrainStem Environment",
+            "configuration": {
+                "extends": "extended"
+            },
+            "model": "/dist/assets/BrainStem/BrainStem.gltf",
+            "referenceImage": "BrainStemEnv.png",
+            "enableEnvironment": true
+        }
+    ],
+    "allTests": [
+        {
+            "title": "Control Default",
+            "createMesh": true,
+            "configuration": {
+                "extends": "minimal"
+            },
+            "referenceImage": "ControlDefault.png"
+        },
+        {
             "title": "Control",
             "createMesh": true,
             "configuration": {