Skip to content

Instantly share code, notes, and snippets.

@fjakobs
Created April 27, 2011 15:23
Show Gist options
  • Save fjakobs/944457 to your computer and use it in GitHub Desktop.
Save fjakobs/944457 to your computer and use it in GitHub Desktop.
ace unit test output after diet merge
telefonmann:ace fjakobs$ node lib/ace/test/all.js
[4/1] test: toggle comment lines should not do anything OK
[4/2] test: lines should keep indentation OK
[4/3] test: new line after { should increase indent OK
[4/4] test: no indent increase after { in a comment OK
[5/1] test: tokenize pixel number OK
[5/2] test: tokenize hex3 color OK
[5/3] test: tokenize hex6 color OK
[5/4] test: tokenize parens OK
[5/5] test for last rule in ruleset to catch capturing group bugs OK
[2/1] test: toggle comment lines should not do anything OK
[2/2] test: next line indent should be the same as the current line indent OK
[3/1] test: tokenize embedded script OK
[3/2] test: tokenize multiline attribute value with double quotes OK
[3/3] test: tokenize multiline attribute value with single quotes OK
[15/1] test: getTokenizer() (smoke test) OK
[15/2] test: toggle comment lines should prepend '//' to each line OK
[15/3] test: toggle comment on commented lines should remove leading '//' chars OK
[15/4] test: toggle comment lines twice should return the original text OK
[15/5] test: toggle comment on multiple lines with one commented line prepend '//' to each line OK
[15/6] test: toggle comment on a comment line with leading white space OK
[15/7] test: auto indent after opening brace OK
[15/8] test: no auto indent after opening brace in multi line comment OK
[15/9] test: no auto indent after opening brace in single line comment OK
[15/10] test: no auto indent should add to existing indent OK
[15/11] test: special indent in doc comments OK
[15/12] test: no indent after doc comments OK
[15/13] test: trigger outdent if line is space and new text starts with closing brace OK
[15/14] test: auto outdent should indent the line with the same indent as the line with the matching opening brace OK
[15/15] test: no auto outdent if no matching brace is found OK
[6/1] test: tokenize1 OK
[6/2] test: tokenize doc comment OK
[6/3] test: tokenize doc comment with tag OK
[6/4] test: tokenize parens OK
[6/5] test for last rule in ruleset to catch capturing group bugs OK
[6/6] test tokenize regular expressions FAIL
AssertionError: 2 == 5
at Object.test tokenize regular expressions (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/mode/javascript_tokenizer_test.js:109:16)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[1/1] test: toggle comment lines should not do anything OK
[3/1] test: getTokenizer() (smoke test) OK
[3/2] test: toggle comment lines should not do anything OK
[3/3] test: next line indent should be the same as the current line indent OK
[1/1] test: tokenize1 OK
[2/1] test: dispatch event with no data OK
[2/2] test: single dispatch OK
[15/1] test create anchor OK
[15/2] test insert text in same row before cursor should move anchor column OK
[15/3] test insert lines before cursor should move anchor row OK
[15/4] test insert new line before cursor should move anchor column OK
[15/5] test insert new line in anchor line before anchor should move anchor column and row OK
[15/6] test delete text in anchor line before anchor should move anchor column OK
[15/7] test remove range which contains the anchor should move the anchor to the start of the range OK
[15/8] test delete character before the anchor should have no effect OK
[15/9] test delete lines in anchor line before anchor should move anchor row OK
[15/10] test remove new line before the cursor OK
[15/11] test delete range which contains the anchor should move anchor to the end of the range OK
[15/12] test delete line which contains the anchor should move anchor to the end of the range OK
[15/13] test remove after the anchor should have no effect OK
[15/14] test anchor changes triggered by document changes should emit change event OK
[15/15] test only fire change event if position changes OK
[20/1] test: find matching opening bracket OK
[20/2] test: find matching closing bracket OK
[20/3] test: match different bracket types OK
[20/4] test: move lines down OK
[20/5] test: move lines up OK
[20/6] test: duplicate lines OK
[20/7] test: duplicate last line OK
[20/8] test: duplicate first line OK
[20/9] test: convert document to screen coordinates OK
[20/10] test: convert document to screen coordinates with leading tabs OK
[20/11] test: documentToScreen with soft wrap and multibyte characters OK
[20/12] test: convert screen to document coordinates OK
[20/13] test: screenToDocument with soft wrap and multi byte characters OK
[20/14] test: wrapLine split function OK
[20/15] test get longest line OK
[20/16] test getDisplayString OK
[20/17] test issue 83 FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.test issue 83 (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/edit_session_test.js:319:22)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[20/18] test wrapMode init has to create wrapData array FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.test wrapMode init has to create wrapData array (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/edit_session_test.js:331:22)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[20/19] test first line blank with wrap OK
[20/20] test first line blank with wrap 2 OK
[7/1] test: change document FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_change_document_test.js:57:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[7/2] test: only changes to the new document should have effect FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_change_document_test.js:57:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[7/3] test: should use cursor of new document FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_change_document_test.js:57:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[7/4] test: only changing the cursor of the new doc should not have an effect FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_change_document_test.js:57:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[7/5] test: should use selection of new document FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_change_document_test.js:57:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[7/6] test: only changing the selection of the new doc should not have an effect FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_change_document_test.js:57:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[7/7] test: should use mode of new document FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_change_document_test.js:57:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[11/1] test: highlight selected words by default FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_highlight_selected_word_test.js:76:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[11/2] test: highlight a word FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_highlight_selected_word_test.js:76:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[11/3] test: highlight a word and clear highlight FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_highlight_selected_word_test.js:76:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[11/4] test: highlight another word FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_highlight_selected_word_test.js:76:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[11/5] test: no selection, no highlight FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_highlight_selected_word_test.js:76:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[11/6] test: select a word, no highlight FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_highlight_selected_word_test.js:76:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[11/7] test: select a word with no matches FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_highlight_selected_word_test.js:76:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[11/8] test: partial word selection 1 FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_highlight_selected_word_test.js:76:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[11/9] test: partial word selection 2 FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_highlight_selected_word_test.js:76:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[11/10] test: partial word selection 3 FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_highlight_selected_word_test.js:76:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[11/11] test: select last word FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.setUp (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_highlight_selected_word_test.js:76:23)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[6/1] test: navigate to end of file should scroll the last line into view FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.test: navigate to end of file should scroll the last line into view (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_navigation_test.js:59:22)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[6/2] test: navigate to start of file should scroll the first row into view FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.test: navigate to start of file should scroll the first row into view (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_navigation_test.js:70:22)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[6/3] test: goto hidden line should scroll the line into the middle of the viewport FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.test: goto hidden line should scroll the line into the middle of the viewport (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_navigation_test.js:79:22)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[6/4] test: goto visible line should only move the cursor and not scroll FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.test: goto visible line should only move the cursor and not scroll (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_navigation_test.js:113:22)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[6/5] test: navigate from the end of a long line down to a short line and back should maintain the curser column FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.test: navigate from the end of a long line down to a short line and back should maintain the curser column (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_navigation_test.js:127:22)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[6/6] test: reset desired column on navigate left or right FAIL
TypeError: Object #<CommandAssignment> has no method 'addEventListener'
at new Requisition (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/support/cockpit/lib/gcli/cli.js:401:28)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/keyboard/keybinding.js:57:25)
at new <anonymous> (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor.js:64:23)
at Object.test: reset desired column on navigate left or right (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_navigation_test.js:140:22)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
testCli.testAll Completed
[29/1] test: delete line from the middle OK
[29/2] test: delete multiple selected lines OK
[29/3] test: delete first line OK
[29/4] test: delete last OK
[29/5] test: indent block OK
[29/6] test: indent selected lines OK
Command not found: undefined
[29/7] test: no auto indent if cursor is before the { FAIL
AssertionError: "{" == "\n{"
at Object.test: no auto indent if cursor is before the { (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_text_edit_test.js:148:16)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[29/8] test: outdent block OK
[29/9] test: outent without a selection should update cursor OK
[29/10] test: comment lines should perserve selection OK
[29/11] test: uncomment lines should perserve selection OK
[29/12] test: toggle comment lines twice should return the original text OK
[29/13] test: comment lines - if the selection end is at the line start it should stay there OK
[29/14] test: move lines down should select moved lines OK
[29/15] test: move lines up should select moved lines OK
[29/16] test: move line without active selection should move cursor to start of the moved line OK
[29/17] test: copy lines down should select lines and place cursor at the selection start OK
[29/18] test: copy lines up should select lines and place cursor at the selection start OK
Command not found: undefined
[29/19] test: input a tab with soft tab should convert it to spaces FAIL
AssertionError: " " == ""
at Object.test: input a tab with soft tab should convert it to spaces (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_text_edit_test.js:358:16)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
Command not found: undefined
[29/20] test: input tab without soft tabs should keep the tab character FAIL
AssertionError: "\t" == ""
at Object.test: input tab without soft tabs should keep the tab character (/Users/fjakobs/Desktop/EclipseWorkspaces/ajax.org/cloud9infra/support/cloud9/support/ace/lib/ace/editor_text_edit_test.js:372:16)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at Object.<anonymous> (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:433:28)
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:226:16
at /Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:35:21
at Timer.callback (/Users/fjakobs/.node_libraries/.npm/asyncjs/0.0.5/package/lib/async.js:149:25)
[29/21] test: undo/redo for delete line OK
[29/22] test: remove left should remove character left of the cursor OK
[29/23] test: remove left should remove line break if cursor is at line start OK
[29/24] test: remove left should remove tabsize spaces if cursor is on a tab stop and preceeded by spaces OK
[29/25] test: transpose at line start should be a noop OK
[29/26] test: transpose in line should swap the charaters before and after the cursor OK
[29/27] test: transpose at line end should swap the last two characters OK
[29/28] test: transpose with non empty selection should be a noop OK
[29/29] test: transpose should move the cursor behind the last swapped character OK
[10/1] ACE range.js: test: create range OK
[10/2] ACE range.js: test: create from points OK
[10/3] ACE range.js: test: clip to rows OK
[10/4] ACE range.js: test: isEmpty OK
[10/5] ACE range.js: test: is multi line OK
[10/6] ACE range.js: test: clone OK
[10/7] ACE range.js: test: contains for multi line ranges OK
[10/8] ACE range.js: test: contains for single line ranges OK
[10/9] ACE range.js: test: extend range OK
[10/10] ACE range.js: test: collapse rows OK
[24/1] test: configure the search object OK
[24/2] test: find simple text in document OK
[24/3] test: find simple text in next line OK
[24/4] test: find text starting at cursor position OK
[24/5] test: wrap search is off by default OK
[24/6] test: wrap search should wrap at file end OK
[24/7] test: wrap search with no match should return 'null' OK
[24/8] test: case sensitive is by default off OK
[24/9] test: case sensitive search OK
[24/10] test: whole word search should not match inside of words OK
[24/11] test: find backwards OK
[24/12] test: find in selection OK
[24/13] test: find backwards in selection OK
[24/14] test: edge case - match directly before the cursor OK
[24/15] test: edge case - match backwards directly after the cursor OK
[24/16] test: find using a regular expression OK
[24/17] test: find using a regular expression and whole word OK
[24/18] test: use regular expressions with capture groups OK
[24/19] test: find all matches in selection OK
[24/20] test: replace() should return the replacement if the input matches the needle OK
[24/21] test: replace with a RegExp search OK
[24/22] test: replace with RegExp match and capture groups OK
[24/23] test: find all matches in a line OK
[24/24] test: find all matches in a line backwards OK
[17/1] test: move cursor to end of file should place the cursor on last row and column OK
[17/2] test: moveCursor to start of file should place the cursor on the first row and column OK
[17/3] test: move selection lead to end of file OK
[17/4] test: move selection lead to start of file OK
[17/5] test: move cursor word right OK
[17/6] test: select word right if cursor in word OK
[17/7] test: moveCursor word left OK
[17/8] test: select word left if cursor in word OK
[17/9] test: select word right and select OK
[17/10] test: select word left and select OK
[17/11] test: select word with cursor in word should select the word OK
[17/12] test: select word with cursor betwen white space and word should select the word OK
[17/13] test: select word with cursor in white space should select white space OK
[17/14] test: moving cursor should fire a 'changeCursor' event OK
[17/15] test: calling setCursor with the same position should not fire an event OK
[17/16] test: moveWordLeft should move past || and [ OK
[17/17] test: moveWordRight should move past || and [ OK
Skipping test: This test only runs in the browser
[1/1] test: screen2text the column should be rounded to the next character edge OK
Summary:
Total number of tests: 182
Passed tests: 152
Failed tests: 30
telefonmann:ace fjakobs$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment