three.source.unit.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. /**
  2. * @author TristanVALCKE / https://github.com/Itee
  3. */
  4. import './unit/qunit-utils.js';
  5. //src
  6. import './unit/src/constants.tests';
  7. import './unit/src/polyfills.tests';
  8. import './unit/src/utils.tests';
  9. //src/animation
  10. import './unit/src/animation/AnimationAction.tests';
  11. import './unit/src/animation/AnimationClip.tests';
  12. import './unit/src/animation/AnimationMixer.tests';
  13. import './unit/src/animation/AnimationObjectGroup.tests';
  14. import './unit/src/animation/AnimationUtils.tests';
  15. import './unit/src/animation/KeyframeTrack.tests';
  16. import './unit/src/animation/PropertyBinding.tests';
  17. import './unit/src/animation/PropertyMixer.tests';
  18. //src/animation/tracks
  19. import './unit/src/animation/tracks/BooleanKeyframeTrack.tests';
  20. import './unit/src/animation/tracks/ColorKeyframeTrack.tests';
  21. import './unit/src/animation/tracks/NumberKeyframeTrack.tests';
  22. import './unit/src/animation/tracks/QuaternionKeyframeTrack.tests';
  23. import './unit/src/animation/tracks/StringKeyframeTrack.tests';
  24. import './unit/src/animation/tracks/VectorKeyframeTrack.tests';
  25. //src/audio
  26. import './unit/src/audio/Audio.tests';
  27. import './unit/src/audio/AudioAnalyser.tests';
  28. import './unit/src/audio/AudioContext.tests';
  29. import './unit/src/audio/AudioListener.tests';
  30. import './unit/src/audio/PositionalAudio.tests';
  31. //src/cameras
  32. import './unit/src/cameras/ArrayCamera.tests';
  33. import './unit/src/cameras/Camera.tests';
  34. import './unit/src/cameras/CubeCamera.tests';
  35. import './unit/src/cameras/OrthographicCamera.tests';
  36. import './unit/src/cameras/PerspectiveCamera.tests';
  37. import './unit/src/cameras/StereoCamera.tests';
  38. //src/core
  39. import './unit/src/core/BufferAttribute.tests';
  40. import './unit/src/core/BufferGeometry.tests';
  41. import './unit/src/core/Clock.tests';
  42. import './unit/src/core/DirectGeometry.tests';
  43. import './unit/src/core/EventDispatcher.tests';
  44. import './unit/src/core/Face3.tests';
  45. import './unit/src/core/Geometry.tests';
  46. import './unit/src/core/InstancedBufferAttribute.tests';
  47. import './unit/src/core/InstancedBufferGeometry.tests';
  48. import './unit/src/core/InstancedInterleavedBuffer.tests';
  49. import './unit/src/core/InterleavedBuffer.tests';
  50. import './unit/src/core/InterleavedBufferAttribute.tests';
  51. import './unit/src/core/Layers.tests';
  52. import './unit/src/core/Object3D.tests';
  53. import './unit/src/core/Raycaster.tests';
  54. import './unit/src/core/Uniform.tests';
  55. //src/extras
  56. import './unit/src/extras/ShapeUtils.tests';
  57. //src/extras/core
  58. import './unit/src/extras/core/Curve.tests';
  59. import './unit/src/extras/core/CurvePath.tests';
  60. import './unit/src/extras/core/Font.tests';
  61. import './unit/src/extras/core/Interpolations.tests';
  62. import './unit/src/extras/core/Path.tests';
  63. import './unit/src/extras/core/Shape.tests';
  64. import './unit/src/extras/core/ShapePath.tests';
  65. //src/extras/curves
  66. import './unit/src/extras/curves/ArcCurve.tests';
  67. import './unit/src/extras/curves/CatmullRomCurve3.tests';
  68. import './unit/src/extras/curves/CubicBezierCurve.tests';
  69. import './unit/src/extras/curves/CubicBezierCurve3.tests';
  70. import './unit/src/extras/curves/EllipseCurve.tests';
  71. import './unit/src/extras/curves/LineCurve.tests';
  72. import './unit/src/extras/curves/LineCurve3.tests';
  73. import './unit/src/extras/curves/QuadraticBezierCurve.tests';
  74. import './unit/src/extras/curves/QuadraticBezierCurve3.tests';
  75. import './unit/src/extras/curves/SplineCurve.tests';
  76. //src/extras/objects
  77. import './unit/src/extras/objects/ImmediateRenderObject.tests';
  78. //src/geometries
  79. import './unit/src/geometries/BoxGeometry.tests';
  80. import './unit/src/geometries/CircleGeometry.tests';
  81. import './unit/src/geometries/ConeGeometry.tests';
  82. import './unit/src/geometries/CylinderGeometry.tests';
  83. import './unit/src/geometries/DodecahedronGeometry.tests';
  84. import './unit/src/geometries/EdgesGeometry.tests';
  85. import './unit/src/geometries/ExtrudeGeometry.tests';
  86. import './unit/src/geometries/IcosahedronGeometry.tests';
  87. import './unit/src/geometries/LatheGeometry.tests';
  88. import './unit/src/geometries/OctahedronGeometry.tests';
  89. import './unit/src/geometries/ParametricGeometry.tests';
  90. import './unit/src/geometries/PlaneGeometry.tests';
  91. import './unit/src/geometries/PolyhedronGeometry.tests';
  92. import './unit/src/geometries/RingGeometry.tests';
  93. import './unit/src/geometries/ShapeGeometry.tests';
  94. import './unit/src/geometries/SphereGeometry.tests';
  95. import './unit/src/geometries/TetrahedronGeometry.tests';
  96. import './unit/src/geometries/TextGeometry.tests';
  97. import './unit/src/geometries/TorusGeometry.tests';
  98. import './unit/src/geometries/TorusKnotGeometry.tests';
  99. import './unit/src/geometries/TubeGeometry.tests';
  100. import './unit/src/geometries/WireframeGeometry.tests';
  101. //src/helpers
  102. import './unit/src/helpers/ArrowHelper.tests';
  103. import './unit/src/helpers/AxesHelper.tests';
  104. import './unit/src/helpers/Box3Helper.tests';
  105. import './unit/src/helpers/BoxHelper.tests';
  106. import './unit/src/helpers/CameraHelper.tests';
  107. import './unit/src/helpers/DirectionalLightHelper.tests';
  108. import './unit/src/helpers/GridHelper.tests';
  109. import './unit/src/helpers/HemisphereLightHelper.tests';
  110. import './unit/src/helpers/PlaneHelper.tests';
  111. import './unit/src/helpers/PointLightHelper.tests';
  112. import './unit/src/helpers/PolarGridHelper.tests';
  113. import './unit/src/helpers/SkeletonHelper.tests';
  114. import './unit/src/helpers/SpotLightHelper.tests';
  115. //src/lights
  116. import './unit/src/lights/AmbientLight.tests';
  117. import './unit/src/lights/DirectionalLight.tests';
  118. import './unit/src/lights/DirectionalLightShadow.tests';
  119. import './unit/src/lights/HemisphereLight.tests';
  120. import './unit/src/lights/Light.tests';
  121. import './unit/src/lights/LightShadow.tests';
  122. import './unit/src/lights/PointLight.tests';
  123. import './unit/src/lights/RectAreaLight.tests';
  124. import './unit/src/lights/SpotLight.tests';
  125. import './unit/src/lights/SpotLightShadow.tests';
  126. //src/loaders
  127. import './unit/src/loaders/AnimationLoader.tests';
  128. import './unit/src/loaders/AudioLoader.tests';
  129. import './unit/src/loaders/BufferGeometryLoader.tests';
  130. import './unit/src/loaders/Cache.tests';
  131. import './unit/src/loaders/CompressedTextureLoader.tests';
  132. import './unit/src/loaders/CubeTextureLoader.tests';
  133. import './unit/src/loaders/DataTextureLoader.tests';
  134. import './unit/src/loaders/FileLoader.tests';
  135. import './unit/src/loaders/FontLoader.tests';
  136. import './unit/src/loaders/ImageLoader.tests';
  137. import './unit/src/loaders/Loader.tests';
  138. import './unit/src/loaders/LoaderUtils.tests';
  139. import './unit/src/loaders/LoadingManager.tests';
  140. import './unit/src/loaders/MaterialLoader.tests';
  141. import './unit/src/loaders/ObjectLoader.tests';
  142. import './unit/src/loaders/TextureLoader.tests';
  143. //src/materials
  144. import './unit/src/materials/LineBasicMaterial.tests';
  145. import './unit/src/materials/LineDashedMaterial.tests';
  146. import './unit/src/materials/Material.tests';
  147. import './unit/src/materials/MeshBasicMaterial.tests';
  148. import './unit/src/materials/MeshDepthMaterial.tests';
  149. import './unit/src/materials/MeshDistanceMaterial.tests';
  150. import './unit/src/materials/MeshLambertMaterial.tests';
  151. import './unit/src/materials/MeshNormalMaterial.tests';
  152. import './unit/src/materials/MeshPhongMaterial.tests';
  153. import './unit/src/materials/MeshPhysicalMaterial.tests';
  154. import './unit/src/materials/MeshStandardMaterial.tests';
  155. import './unit/src/materials/MeshToonMaterial.tests';
  156. import './unit/src/materials/PointsMaterial.tests';
  157. import './unit/src/materials/RawShaderMaterial.tests';
  158. import './unit/src/materials/ShaderMaterial.tests';
  159. import './unit/src/materials/ShadowMaterial.tests';
  160. import './unit/src/materials/SpriteMaterial.tests';
  161. //src/math
  162. import './unit/src/math/Box2.tests';
  163. import './unit/src/math/Box3.tests';
  164. import './unit/src/math/Color.tests';
  165. import './unit/src/math/Cylindrical.tests';
  166. import './unit/src/math/Euler.tests';
  167. import './unit/src/math/Frustum.tests';
  168. import './unit/src/math/Interpolant.tests';
  169. import './unit/src/math/Line3.tests';
  170. import './unit/src/math/MathUtils.tests';
  171. import './unit/src/math/Matrix3.tests';
  172. import './unit/src/math/Matrix4.tests';
  173. import './unit/src/math/Plane.tests';
  174. import './unit/src/math/Quaternion.tests';
  175. import './unit/src/math/Ray.tests';
  176. import './unit/src/math/Sphere.tests';
  177. import './unit/src/math/Spherical.tests';
  178. import './unit/src/math/Triangle.tests';
  179. import './unit/src/math/Vector2.tests';
  180. import './unit/src/math/Vector3.tests';
  181. import './unit/src/math/Vector4.tests';
  182. //src/math/interpolants
  183. import './unit/src/math/interpolants/CubicInterpolant.tests';
  184. import './unit/src/math/interpolants/DiscreteInterpolant.tests';
  185. import './unit/src/math/interpolants/LinearInterpolant.tests';
  186. import './unit/src/math/interpolants/QuaternionLinearInterpolant.tests';
  187. //src/objects
  188. import './unit/src/objects/Bone.tests';
  189. import './unit/src/objects/Group.tests';
  190. import './unit/src/objects/Line.tests';
  191. import './unit/src/objects/LineLoop.tests';
  192. import './unit/src/objects/LineSegments.tests';
  193. import './unit/src/objects/LOD.tests';
  194. import './unit/src/objects/Mesh.tests';
  195. import './unit/src/objects/Points.tests';
  196. import './unit/src/objects/Skeleton.tests';
  197. import './unit/src/objects/SkinnedMesh.tests';
  198. import './unit/src/objects/Sprite.tests';
  199. //src/renderers
  200. import './unit/src/renderers/WebGLRenderer.tests';
  201. import './unit/src/renderers/WebGLRenderTarget.tests';
  202. import './unit/src/renderers/WebGLCubeRenderTarget.tests';
  203. //src/renderers/shaders
  204. import './unit/src/renderers/shaders/ShaderChunk.tests';
  205. import './unit/src/renderers/shaders/ShaderLib.tests';
  206. import './unit/src/renderers/shaders/UniformsLib.tests';
  207. import './unit/src/renderers/shaders/UniformsUtils.tests';
  208. //src/renderers/webgl
  209. import './unit/src/renderers/webgl/WebGLAttributes.tests';
  210. import './unit/src/renderers/webgl/WebGLBackground.tests';
  211. import './unit/src/renderers/webgl/WebGLBufferRenderer.tests';
  212. import './unit/src/renderers/webgl/WebGLCapabilities.tests';
  213. import './unit/src/renderers/webgl/WebGLClipping.tests';
  214. import './unit/src/renderers/webgl/WebGLExtensions.tests';
  215. import './unit/src/renderers/webgl/WebGLGeometries.tests';
  216. import './unit/src/renderers/webgl/WebGLIndexedBufferRenderer.tests';
  217. import './unit/src/renderers/webgl/WebGLLights.tests';
  218. import './unit/src/renderers/webgl/WebGLMorphtargets.tests';
  219. import './unit/src/renderers/webgl/WebGLObjects.tests';
  220. import './unit/src/renderers/webgl/WebGLProgram.tests';
  221. import './unit/src/renderers/webgl/WebGLPrograms.tests';
  222. import './unit/src/renderers/webgl/WebGLProperties.tests';
  223. import './unit/src/renderers/webgl/WebGLRenderLists.tests';
  224. import './unit/src/renderers/webgl/WebGLShader.tests';
  225. import './unit/src/renderers/webgl/WebGLShadowMap.tests';
  226. import './unit/src/renderers/webgl/WebGLState.tests';
  227. import './unit/src/renderers/webgl/WebGLTextures.tests';
  228. import './unit/src/renderers/webgl/WebGLUniforms.tests';
  229. import './unit/src/renderers/webgl/WebGLUtils.tests';
  230. //src/scenes
  231. import './unit/src/scenes/Fog.tests';
  232. import './unit/src/scenes/FogExp2.tests';
  233. import './unit/src/scenes/Scene.tests';
  234. //src/textures
  235. import './unit/src/textures/CanvasTexture.tests';
  236. import './unit/src/textures/CompressedTexture.tests';
  237. import './unit/src/textures/CubeTexture.tests';
  238. import './unit/src/textures/DataTexture.tests';
  239. import './unit/src/textures/DepthTexture.tests';
  240. import './unit/src/textures/Texture.tests';
  241. import './unit/src/textures/VideoTexture.tests';