Community
Participate
Working Groups
Using Chrome: [failed] test TextMateStyler style one line (0.018s) AssertionError: 4 regions - expected: [4], actual: [5]. Stack Trace: Error at new AssertionError (http://localhost:8080/js/assert.js:25:13) at Object.equal (http://localhost:8080/js/assert.js:73:10) at http://localhost:8080/js-tests/textMateStyler/testcase.js:105:10 at http://localhost:8080/js-tests/textMateStyler/testcase.js:40:5 at _run (http://localhost:8080/js/test.js:67:25) at Object.run (http://localhost:8080/js/test.js:219:11) at http://localhost:8080/js-tests/textMateStyler/test.html:22:14 test.js:260 [failed] test TextMateStyler style multiple lines (0.02s) AssertionError: line0 has 1 region - expected: [1], actual: [2]. Stack Trace: Error at new AssertionError (http://localhost:8080/js/assert.js:25:13) at Object.equal (http://localhost:8080/js/assert.js:73:10) at http://localhost:8080/js-tests/textMateStyler/testcase.js:124:10 at http://localhost:8080/js-tests/textMateStyler/testcase.js:40:5 at _run (http://localhost:8080/js/test.js:67:25) at Object.run (http://localhost:8080/js/test.js:219:11) at http://localhost:8080/js-tests/textMateStyler/test.html:22:14
The styler test case was poking at the editor DOM nodes. It broke due to a recent editor fix (Bug 334910 or Bug 342973 ?) that added more DOM nodes. Changed to not rely on the editor internals, so it should be less brittle now. http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/commit/?id=6326e642f594fea53c2af6155a3e8652bfe7ae5b