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 Core #25402

Merged
merged 15 commits into from
Feb 2, 2023
Merged

Tests: Unit Tests for Core #25402

merged 15 commits into from
Feb 2, 2023

Conversation

epreston
Copy link
Contributor

@epreston epreston commented Feb 2, 2023

Related issue: none.

Description

This cleans up the unit tests for Core.
Adds missing unit test files, fills in some unit tests, populates the missing member tests with stubs. Explicit block scope for variables used in tests.

UniformsGroup extends from EventDispatcher
UniformsGroup.isUniformsGroup should be true
GLBufferAttribute.isGLBufferAttribute should be true
Object3D extends from EventDispatcher
Stub missing member tests.
Explicit block scope for variables used in tests.
BufferAttribute.isBufferAttribute should be true
Stub missing member tests.
Explicit block scope for variables used in tests.
Int8BufferAttribute extends from BufferAttribute
Uint8BufferAttribute extends from BufferAttribute
Uint8ClampedBufferAttribute extends from BufferAttribute
Int16BufferAttribute extends from BufferAttribute
Uint16BufferAttribute extends from BufferAttribute
Int32BufferAttribute extends from BufferAttribute
Uint32BufferAttribute extends from BufferAttribute
Float16BufferAttribute extends from BufferAttribute
Float32BufferAttribute extends from BufferAttribute
Float64BufferAttribute extends from BufferAttribute
BufferGeometry extends from EventDispatcher
BufferGeometry.type should be BufferGeometry
Stub missing member tests.
Explicit block scope for variables used in tests.
Stub missing member tests.
Explicit block scope for variables used in tests.
Explicit block scope for variables used in tests.
BufferAttribute extends from BufferAttribute
InstancedBufferAttribute.isInstancedBufferAttribute should be true
Explicit block scope for variables used in tests.
Stub missing member tests.
InstancedBufferGeometry extends from BufferGeometry
InstancedBufferGeometry.type should be InstancedBufferGeometry
InstancedBufferGeometry.isInstancedBufferGeometry should be true
Explicit block scope for variables used in tests.
Stub missing member tests.
InstancedInterleavedBuffer extends from InterleavedBuffer
InstancedInterleavedBuffer.isInstancedInterleavedBuffer should be true
Explicit block scope for variables used in tests.
Stub missing member tests.
InterleavedBuffer.isInterleavedBuffer should be true
Stub missing member tests.
Explicit block scope for variables used in tests.
InterleavedBufferAttribute.isInterleavedBufferAttribute should be true
Explicit block scope for variables used in tests.
Stub missing member tests.
Explicit block scope for variables used in tests.
Stub missing member tests.
Explicit block scope for variables used in tests.
Stub missing member tests.
Explicit block scope for variables used in tests.
Stub missing member test.
@mrdoob mrdoob added this to the r150 milestone Feb 2, 2023
@mrdoob mrdoob merged commit 16ac865 into mrdoob:dev Feb 2, 2023
@epreston epreston deleted the tests-core-cleanup branch February 2, 2023 12:41
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