| OLD | NEW |
| 1 This test verifies Ctrl-D functionality, which selects next occurrence of word. | 1 This test verifies Ctrl-D functionality, which selects next occurrence of word,
and Ctrl-U functionality, which undos the last selection. |
| 2 | 2 |
| 3 function wordData() { | 3 function wordData() { |
| 4 return { | 4 return { |
| 5 original: $(".entry.original > .input").text(), | 5 original: $(".entry.original > .input").text(), |
| 6 translation: $(".entry.translation > .input").text(), | 6 translation: $(".entry.translation > .input").text(), |
| 7 tags: $(".active-tags > .tagcloud > .tag").toArray().map(function(value)
{ return value.textContent; }) | 7 tags: $(".active-tags > .tagcloud > .tag").toArray().map(function(value)
{ return value.textContent; }) |
| 8 }; | 8 }; |
| 9 } | 9 } |
| 10 | 10 |
| 11 function submitWord(url) { | 11 function submitWord(url) { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 Running: testCaseSensitive | 32 Running: testCaseSensitive |
| 33 'word': 2 | 33 'word': 2 |
| 34 | 34 |
| 35 Running: testOccurrencesOnTheSameLine | 35 Running: testOccurrencesOnTheSameLine |
| 36 'original': 3 | 36 'original': 3 |
| 37 | 37 |
| 38 Running: testUndoLastAddedSelection | 38 Running: testUndoLastAddedSelection |
| 39 'original': 2 | 39 'original': 2 |
| 40 | 40 |
| 41 Running: testUndoAllAddedSelections |
| 42 <Empty string>: 1 |
| 43 |
| 44 Running: testUndoToPreviousSelectionGroup |
| 45 'original': 1 |
| 46 |
| 41 Running: testUndoSelectionPreservesFullWordState | 47 Running: testUndoSelectionPreservesFullWordState |
| 42 'text': 3 | 48 'text': 3 |
| 43 Last selection: {"startLine":17,"startColumn":42,"endLine":17,"endColumn":46} | 49 Last selection: {"startLine":17,"startColumn":42,"endLine":17,"endColumn":46} |
| 44 | 50 |
| 45 Running: testUndoSelectionPreservesPartialSelection | 51 Running: testUndoSelectionPreservesPartialSelection |
| 46 'text': 3 | 52 'text': 3 |
| 47 Last selection: {"startLine":4,"startColumn":96,"endLine":4,"endColumn":100} | 53 Last selection: {"startLine":4,"startColumn":96,"endLine":4,"endColumn":100} |
| 48 | 54 |
| 49 Running: testTwoCloseWords | 55 Running: testTwoCloseWords |
| 50 'text': 4 | 56 'text': 4 |
| 51 | 57 |
| 58 Running: testReadOnlyIsPreserved |
| 59 'original': 2 |
| 60 |
| OLD | NEW |