Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: Unit Tests for Objects #25378

Merged
merged 14 commits into from
Jan 31, 2023
Merged

Tests: Unit Tests for Objects #25378

merged 14 commits into from
Jan 31, 2023

Conversation

epreston
Copy link
Contributor

Related issue: none.

Description

This cleans up the unit tests for Objects.
Adds missing unit test file, fills in some unit tests, populates the missing member tests with stubs.

Bone.isBone should be true.
Group.type should be Group.
Group.isGroup should be true.
Bone.type should be Bone
Add unit tests for InstancedMesh
Line.type should be Line.
Line.isLine should be true.
Add missing member test stubs.
LineLoop.type should be LineLoop
LineLoop.isLineLoop should be true
Add missing member test stubs.
LineSegments.type should be LineSegments
LineSegments.isLineSegments should be true
Add missing member test stubs.
LOD.type should be LOD
Add missing member test stubs.
Mesh.type should be Mesh.
Mesh.isMesh should be true.
Add missing member test stubs.
Clone is defined by parent class and not redefined here.
Points.type should be Points.
Points.isPoints should be true.
Add missing member test stubs.
Clone is defined by parent class and not redefined here.
Add missing member test stubs.
SkinnedMesh.type should be SkinnedMesh.
SkinnedMesh.bindMode should be attached.
SkinnedMesh.isSkinnedMesh should be true.
Add missing member test stubs.
Clone is defined by a  parent class and not redefined here.
Sprite.type should be Sprite.
Sprite.isSprite should be true.
Add missing member test stubs.
Clone is defined by parent class and not redefined here.
Add InstancedMesh to list of unit tests.
@mrdoob mrdoob added this to the r150 milestone Jan 31, 2023
@mrdoob mrdoob merged commit 45ce26d into mrdoob:dev Jan 31, 2023
@epreston epreston deleted the tests-objects-cleanup branch January 31, 2023 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants