Skip to content
New issue

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

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

Already on GitHub? # to your account

Improved test coverage #31

Merged
merged 34 commits into from
May 22, 2012
Merged

Improved test coverage #31

merged 34 commits into from
May 22, 2012

Conversation

kristiancalhoun
Copy link
Contributor

Improved test coverage for a variety of types.
Replaced all applicable instances of toBeTruthy() with the stricter toEqual(true) and did likewise for toBeFalsy().

TextureAtlasSpec
UniformDatatype
OrthographicFrustum, and PerspectiveFrustum.
Fixed a faulty test in CompositePrimitiveSpec.
PolygonPipeline
TextureAtlas
Camera2DController
CameraColumbusViewController
CameraControllerCollection
CameraEventHandler
CameraFreeLookController
Camera
Polyline
Conflicts:
	Specs/Core/AxisAlignedBoundingBoxSpec.js
	Specs/Core/AxisAlignedBoundingRectangleSpec.js
	Specs/Core/BoundingSphereSpec.js
	Specs/Core/Cartesian3Spec.js
	Specs/Core/Cartesian4Spec.js
	Specs/Core/EllipsoidSpec.js
	Specs/Core/Matrix2Spec.js
	Specs/Core/Matrix3Spec.js
	Specs/Core/Matrix4Spec.js
	Specs/Core/PolygonPipelineSpec.js
	Specs/Core/QuaternionSpec.js
	Specs/Core/SunPositionSpec.js
	Specs/Core/TransformsSpec.js
	Specs/Core/pointInsideTriangle2DSpec.js
	Specs/Scene/BillboardCollectionSpec.js
	Specs/Scene/CameraSpindleControllerSpec.js
	Specs/Scene/LabelCollectionSpec.js

Merged test coverage changes with immutable property changes.
@@ -0,0 +1,79 @@
defineSuite([
'Renderer/UniformDataType'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This causes require.js to fail when I try to run the tests. It should be 'Renderer/UniformDatatype'.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. Fixed this in the latest commit.

@pjcozzi
Copy link
Contributor

pjcozzi commented May 21, 2012

@bagnell Did you look at all the camera tests? Are you happy with them?

@pjcozzi
Copy link
Contributor

pjcozzi commented May 21, 2012

Looks good overall. I'll merge this pending my minor comments and any additional ones from @bagnell.

@pjcozzi
Copy link
Contributor

pjcozzi commented May 21, 2012

Also, does this include all the test coverage changes that were accidentally included in pull request #23? Did you merge those changes into this branch?

@kristiancalhoun
Copy link
Contributor Author

Yes, all those changes are included.

@bagnell
Copy link
Contributor

bagnell commented May 21, 2012

I have looked at the camera tests and they look good to me.

@pjcozzi
Copy link
Contributor

pjcozzi commented May 22, 2012

@kristiancalhoun Let's just clean up the tipsify logic, and then I'll merge this. 84 to 88% code coverage is pretty good. We'll go beyond 90% as we flush out and test streaming imagery.

pjcozzi added a commit that referenced this pull request May 22, 2012
@pjcozzi pjcozzi merged commit 9ba7283 into master May 22, 2012
pjcozzi added a commit that referenced this pull request Feb 11, 2014
Fix missing module require in SensorVolumePortionToDisplay
oterral pushed a commit to oterral/cesium that referenced this pull request Jul 27, 2017
kring added a commit that referenced this pull request Jul 6, 2018
Update Cesium master to latest from AnalyticalGraphics
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants