diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mime-detection/list | 2 | ||||
-rw-r--r-- | tests/mime-detection/test.gltf | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 1efb647a..cca1a83f 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -667,6 +667,8 @@ cube.igs model/iges cube.wrl model/vrml # Copied from https://github.com/KhronosGroup/glTF-Sample-Models/blob/master/2.0/BoxInterleaved/glTF-Binary/BoxInterleaved.glb test.glb model/gltf-binary +# Copied from https://github.com/KhronosGroup/glTF-Sample-Models/blob/master/2.0/TriangleWithoutIndices/glTF/TriangleWithoutIndices.gltf +test.gltf model/gltf+json ox # other text.pdf application/pdf diff --git a/tests/mime-detection/test.gltf b/tests/mime-detection/test.gltf new file mode 100644 index 00000000..4bbb6007 --- /dev/null +++ b/tests/mime-detection/test.gltf @@ -0,0 +1,55 @@ +{
+ "scene" : 0,
+ "scenes" : [
+ {
+ "nodes" : [ 0 ]
+ }
+ ],
+
+ "nodes" : [
+ {
+ "mesh" : 0
+ }
+ ],
+
+ "meshes" : [
+ {
+ "primitives" : [ {
+ "attributes" : {
+ "POSITION" : 0
+ }
+ } ]
+ }
+ ],
+
+ "buffers" : [
+ {
+ "uri" : "triangleWithoutIndices.bin",
+ "byteLength" : 36
+ }
+ ],
+ "bufferViews" : [
+ {
+ "buffer" : 0,
+ "byteOffset" : 0,
+ "byteLength" : 36,
+ "target" : 34962
+ }
+ ],
+ "accessors" : [
+ {
+ "bufferView" : 0,
+ "byteOffset" : 0,
+ "componentType" : 5126,
+ "count" : 3,
+ "type" : "VEC3",
+ "max" : [ 1.0, 1.0, 0.0 ],
+ "min" : [ 0.0, 0.0, 0.0 ]
+ }
+ ],
+
+ "asset" : {
+ "version" : "2.0"
+ }
+}
+
|