-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Changed Euler Copy Clone on change test implementation. #13607
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
Conversation
Because the previous implementation gave inconsistent behavior due to QUnit step behavior.
By using verifySteps instead of expected steps from qunit.
|
Make sure you use hard tabs 😇 |
|
Whoops 😅, fixed using hard tabs! |
|
I still don't understand why i don't have these fails on my machine (macOS). Neither in the browser (Chrome, FF) nor with node.js (v6.2.2). |
|
@Mugen87 I wonder about this as well. There are some minor differences between our setups. I run windows 10, node.js 6.10.2. and have run the QUnit through the console with |
|
I'm using qunit 2.4.0 see like defined in Line 59 in 87f4134
|
|
Oops sorry, I meant |
|
Strange 🤔 . I think the feedback of other developers might be useful here. Whoever reads this: Please execute |
# pass 637
# skip 0
# todo 1101
# fail 0Run # pass 634
# skip 0
# todo 1101
# fail 3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test: `npm run build-test && qunit test/unit/three.source.unit.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\looee\AppData\Roaming\npm-cache\_logs\2018-03-17T01_41_54_945Z-debug.logThe failing tests give messages similar to not ok 1738 # TODO Source > Textures > VideoTexture > isVideoTexture
---
message: "everything's gonna be alright"
severity: todo
actual: false
expected: true
stack: at Object.QUnit.todo (D:\Web\three.js\test\unit\three.source.unit.js:69559:12)
at runTest (D:\Web\three.js\node_modules\qunit\qunit\qunit.js:1478:30)
at Test.run (D:\Web\three.js\node_modules\qunit\qunit\qunit.js:1464:6)
at D:\Web\three.js\node_modules\qunit\qunit\qunit.js:1676:12
at Timeout.advance [as _onTimeout] (D:\Web\three.js\node_modules\qunit\qunit\qunit.js:1116:26)
at ontimeout (timers.js:478:11)
... |
|
When i upgrade to @looeee You have also three fails like me. The last screenshot is not actually a fail. Since the test is marked as a @mrdoob Since the PR is compatible with |
|
Thanks! |
The previous implementation of the Euler Copy/Clone, FromArray and Set/Get property tests gave inconsistent behavior due to the QUnit step behavior. This test is rewritten to successfully test the behavior. It is related to this issue: #13606