# Class test.robot.test3d.TriangleMeshValidationTest

13 tests | 13 failures | 0 ignored | 29.031s duration
| 0% successful

- Failed tests
- Tests
- Standard error

## Failed tests

### testDegeneratedMeshUpdateFaces

    junit.framework.AssertionFailedError: expected:rgba(255,0,0,255) but was:rgba(255,255,255,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testDegeneratedMeshUpdateFaces$29(TriangleMeshValidationTest.java:547)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

### testDegeneratedMeshUpdatePoints

    junit.framework.AssertionFailedError: expected:rgba(255,0,0,255) but was:rgba(219,219,219,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testDegeneratedMeshUpdatePoints$32(TriangleMeshValidationTest.java:599)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

### testEmptyMesh

    junit.framework.AssertionFailedError: expected:rgba(10,10,40,255) but was:rgba(255,255,255,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testEmptyMesh$1(TriangleMeshValidationTest.java:84)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

### testFaceLengthChange

    junit.framework.AssertionFailedError: expected:rgba(255,0,0,255) but was:rgba(255,255,255,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testFaceLengthChange$19(TriangleMeshValidationTest.java:386)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

### testInvalidFaceSmoothingGroupsLength

    junit.framework.AssertionFailedError: expected:rgba(10,10,40,255) but was:rgba(255,255,255,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testInvalidFaceSmoothingGroupsLength$11(TriangleMeshValidationTest.java:270)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

### testInvalidFacesIndex

    junit.framework.AssertionFailedError: expected:rgba(10,10,40,255) but was:rgba(255,255,255,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testInvalidFacesIndex$9(TriangleMeshValidationTest.java:239)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

### testInvalidFacesLength

    junit.framework.AssertionFailedError: expected:rgba(10,10,40,255) but was:rgba(255,255,255,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testInvalidFacesLength$7(TriangleMeshValidationTest.java:198)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

### testInvalidPointsLength

    junit.framework.AssertionFailedError: expected:rgba(10,10,40,255) but was:rgba(64,63,61,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testInvalidPointsLength$3(TriangleMeshValidationTest.java:122)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

### testInvalidTexCoordLength

    junit.framework.AssertionFailedError: expected:rgba(10,10,40,255) but was:rgba(255,255,255,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testInvalidTexCoordLength$5(TriangleMeshValidationTest.java:156)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

### testPointsLengthChange

    junit.framework.AssertionFailedError: expected:rgba(255,0,0,255) but was:rgba(255,255,255,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testPointsLengthChange$13(TriangleMeshValidationTest.java:298)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

### testResetFaceSmoothingGroup

    junit.framework.AssertionFailedError: expected:rgba(255,0,0,255) but was:rgba(255,255,255,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testResetFaceSmoothingGroup$23(TriangleMeshValidationTest.java:446)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

### testTexCoordsLengthChange

    junit.framework.AssertionFailedError: expected:rgba(255,0,0,255) but was:rgba(219,219,219,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testTexCoordsLengthChange$16(TriangleMeshValidationTest.java:342)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

### testUpdateMesh

    junit.framework.AssertionFailedError: expected:rgba(255,0,0,255) but was:rgba(255,255,255,255)
    	at test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:177)
    	at test.robot.test3d.TriangleMeshValidationTest.lambda$testUpdateMesh$26(TriangleMeshValidationTest.java:489)
    	at test.util.Util.lambda$submit$0(Util.java:88)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
    	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
    	at java.base/java.lang.Thread.run(Thread.java:844)

## Tests

Test | Duration | Result
--- | --- | ---
testDegeneratedMeshUpdateFaces | 2.101s | failed
testDegeneratedMeshUpdatePoints | 2.110s | failed
testEmptyMesh | 2.099s | failed
testFaceLengthChange | 2.109s | failed
testInvalidFaceSmoothingGroupsLength | 3.800s | failed
testInvalidFacesIndex | 2.107s | failed
testInvalidFacesLength | 2.096s | failed
testInvalidPointsLength | 2.096s | failed
testInvalidTexCoordLength | 2.110s | failed
testPointsLengthChange | 2.096s | failed
testResetFaceSmoothingGroup | 2.093s | failed
testTexCoordsLengthChange | 2.113s | failed
testUpdateMesh | 2.101s | failed

## Standard error

    Mar 21, 2017 5:54:41 PM javafx.scene.shape.TriangleMesh validateFaceSmoothingGroups
    WARNING: faceSmoothingGroups.size() has to equal to number of faces.
    Mar 21, 2017 5:54:50 PM javafx.scene.shape.TriangleMesh validateFaces
    WARNING: faces.size() has to be divisible by getFaceElementSize().
    Mar 21, 2017 5:55:01 PM javafx.scene.shape.TriangleMesh validatePoints
    WARNING: points.size() has to be divisible by getPointElementSize(). It is to store multiple x, y, and z coordinates of this mesh
    Mar 21, 2017 5:55:03 PM javafx.scene.shape.TriangleMesh validateTexCoords
    WARNING: texCoords.size() has to be divisible by getTexCoordElementSize(). It is to store multiple u and v texture coordinates of this mesh
    Mar 21, 2017 5:55:05 PM javafx.scene.shape.TriangleMesh validateFaces
    WARNING: The values in the faces array must be within the range of the number of vertices in the points array (0 to points.length / 3 - 1) for the point indices and within the range of the number of the vertices in the texCoords array (0 to texCoords.length / 2 - 1) for the texture coordinate indices.