Antonio Scandurra
d83304cbdd
Exercise more features in the randomized test
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2017-10-05 19:41:28 +02:00
Antonio Scandurra
ec14125ecb
🎨
2017-10-05 13:51:26 +02:00
Antonio Scandurra
ae57cd268e
Delete unnecessary test code
2017-10-05 13:51:26 +02:00
Antonio Scandurra
1ca49d8f17
Move random-seed into script/package.json
...
...so that it doesn't get included in the final application bundle.
2017-10-05 13:51:26 +02:00
Antonio Scandurra
6e3b8cb9f8
Introduce randomized test for TextEditorComponent
2017-10-05 13:05:52 +02:00
Max Brunsfeld
c46140946e
Merge pull request #15798 from atom/mb-prompt-to-save-in-conflict
...
Prompt to save when unloading if editor is in conflict
2017-10-03 12:36:43 -07:00
Nathan Sobo
f317a458ea
Merge pull request #15800 from atom/ns-fix-soft-wrap-rendering-bug
...
Fix rendering bug when folds cause the vertical scrollbar to disappear with soft wrapping enabled
2017-10-03 13:22:15 -06:00
Max Brunsfeld
4d057a16d6
Prompt to save when unloading if editor is in conflict
2017-10-03 11:09:33 -07:00
Max Brunsfeld
44d6868855
Preserve indentation when toggling comments on whitespace-only lines
2017-10-03 10:14:45 -07:00
Nathan Sobo
293b52d797
Fix rendering bug when folds hide the vertical scrollbar w/ soft wrap on
2017-10-03 11:09:44 -06:00
Max Brunsfeld
a778d5e09c
🎨
2017-09-28 17:09:55 -07:00
Max Brunsfeld
1d0dfe2213
Use async/await in package-manager-spec
2017-09-28 17:04:46 -07:00
Max Brunsfeld
a7db6ce7b1
Convert package-manager-spec to JS
2017-09-28 16:25:34 -07:00
Max Brunsfeld
969cb7a0f5
Merge pull request #15692 from UziTech/pane-onDidChangePath
...
Pane on did change path
2017-09-28 11:51:12 -07:00
Max Brunsfeld
6a86a1c7bf
Wait for repo to refresh in test
2017-09-27 14:19:05 -07:00
Max Brunsfeld
c12a5b23b4
Convert git-repository-provider-spec to JS
2017-09-27 12:18:17 -07:00
Max Brunsfeld
345e236d86
Fix toggleLineCommentsForBufferRows
2017-09-25 09:52:15 -07:00
Max Brunsfeld
090b753d84
Move toggleLineCommentsForBufferRows to TokenizedBuffer
2017-09-24 10:34:34 -07:00
Max Brunsfeld
cd1a265dd3
Move .suggestedIndentForBufferRow tests to tokenized-buffer-spec
2017-09-24 09:54:06 -07:00
Max Brunsfeld
274a699272
Remove unused method TokenizedBuffer.indentLevelForRow
2017-09-22 16:20:10 -07:00
Max Brunsfeld
62e94f7b96
Rename language-mode-spec.js to text-editor-spec.js
...
This gets the ball rolling toward converting the text editor specs to JS
2017-09-22 14:40:34 -07:00
Max Brunsfeld
0884546d3c
Move everything but auto-indent out of LanguageMode
2017-09-22 14:33:02 -07:00
Max Brunsfeld
6c1356cae3
Move folding logic from LanguageMode to TokenizedBuffer
...
* Restate the folding logic to not *use* the TextEditor, but instead to
*return* ranges which can be folded by the editor.
* Convert the LanguageMode spec to JS
2017-09-22 12:04:51 -07:00
Max Brunsfeld
b1a3460ad9
Fix scope name in TokenizedBuffer test
2017-09-21 15:52:07 -07:00
Max Brunsfeld
4c2680e68a
Organize TokenizedBuffer test
2017-09-21 14:31:13 -07:00
Max Brunsfeld
15a5728751
Use async/await in TokenizedBuffer test
2017-09-21 14:27:52 -07:00
Max Brunsfeld
1ca1c545ba
Convert TokenizedBuffer spec to JS
2017-09-21 14:06:05 -07:00
Wliu
129c0cc0e3
Fix tokenized buffer spec
2017-09-21 20:57:15 +02:00
Ash Wilson
880188b4b9
👕 Unnecessary fat arrows
2017-09-20 10:52:33 -04:00
Ash Wilson
99feb7f264
Spelling
2017-09-20 10:51:30 -04:00
Ash Wilson
1a53ad5722
Deserialize TextBuffers that have never been saved to disk
2017-09-20 10:51:30 -04:00
Ash Wilson
0782f0f4d0
"Retire" buffer IDs when the buffer can't be deserialized
2017-09-20 10:51:30 -04:00
Ash Wilson
868d9393de
Deserialize the exact serialized project paths, never a parent dir
2017-09-20 10:51:29 -04:00
Ash Wilson
7d62f8b6eb
Test for omitting deleted files
2017-09-20 10:51:29 -04:00
Ash Wilson
bdc503a795
Report deserialization errors from the project
2017-09-20 10:51:29 -04:00
Ash Wilson
48c1fb0f3c
.deserialize() is async
2017-09-20 10:51:29 -04:00
Ash Wilson
928a3e2854
Expect the deserialization promise to reject with inaccessible dirs
2017-09-20 10:51:29 -04:00
Ash Wilson
3d51ed9766
Support {mustExist} option in setPaths
2017-09-20 10:51:29 -04:00
Ash Wilson
156cd02953
Optionally throw an error when attempting to open a non-existent dir
2017-09-20 10:51:29 -04:00
Tony Brix
1e72a7f0e5
fix tests
2017-09-19 15:30:25 -05:00
Tony Brix
abeebd51ef
add test dispose
2017-09-19 14:37:30 -05:00
Tony Brix
8b67b7037c
add specs
2017-09-19 14:37:29 -05:00
Max Brunsfeld
9bdf4b01d0
Merge pull request #15643 from atom/mb-async-onWillDestroyPaneItem
...
Wait for async PaneContainer.onWillDestroyPaneItem listeners
2017-09-19 11:21:54 -07:00
Max Brunsfeld
666adb2f0e
Convert pane-container-spec to JS
2017-09-18 17:02:48 -07:00
Jason Rudolph
0054e3f796
:skull: ☕ Decaffeinate spec/notification-manager-spec.coffee
2017-09-16 21:03:04 -04:00
Jason Rudolph
45c3770293
:skull: ☕ Decaffeinate spec/notification-spec.coffee
2017-09-16 21:03:01 -04:00
Max Brunsfeld
19e56b5b3b
Wait for async onWillDestroyPaneItem listeners
2017-09-13 13:31:33 -07:00
Max Brunsfeld
2374077a6e
Wait for async onWillDestroyItem handlers before destroying item
2017-09-12 15:04:37 -07:00
Ash Wilson
8632e73d07
Merge pull request #15440 from atom/ku-reload-config-when-created
...
Replace pathwatcher w/ bundled watcher to catch created & rename events
2017-09-12 15:23:19 -04:00
Ash Wilson
fb4d7ee5e5
Clean the pending operations too
2017-09-12 14:39:17 -04:00