Bryant Ung
06207e0d0e
remove test to see if build passes
2017-12-08 14:47:07 -08:00
Bryant Ung
77f021a24f
Remove unneeded newline
2017-12-07 15:26:15 -08:00
ungb
d1caf26ab5
Add test for storing window dimension on close.
2017-12-07 15:25:26 -08:00
Max Brunsfeld
607ed74e7b
Rename TokenizedBuffer to TextMateLanguageMode
2017-11-28 16:57:06 -08:00
Max Brunsfeld
74a2609216
Ensure stateStore isConnected for .shouldPromptToSave tests
2017-11-28 12:13:09 -08:00
Max Brunsfeld
61ac366491
Replace TokenizedBuffer.setVisible with simpler .startTokenizing
...
We will still wait to tokenize a buffer until it is visible in *some*
tab, but we no longer enable and disable tokenization as different
editors become visible.
2017-11-28 12:12:40 -08:00
Max Brunsfeld
e08091f193
Make assignLanguageMode take a language id instead of a language name
2017-11-28 11:14:29 -08:00
Max Brunsfeld
afc4245971
Make TokenizedBuffer behave consistently when tokenizeInBackground is mocked
2017-11-22 15:30:28 -08:00
Max Brunsfeld
4810d13094
Fix memory leak in .maintainLanguageMode
2017-11-22 11:41:55 -08:00
Max Brunsfeld
bd4cc42daf
Set the visible state on newly-assigned language modes
2017-11-22 09:35:39 -08:00
Max Brunsfeld
578b4f0281
Merge branch 'master' into mb-use-language-mode-api
2017-11-21 15:00:22 -08:00
Max Brunsfeld
be3010e8f7
Use atom's null grammar when assignLanguageMode is called w/ null
2017-11-21 14:59:42 -08:00
Wliu
ebf23ec3e1
Do not clobber recent project history when running specs
2017-11-21 21:19:05 +01:00
Max Brunsfeld
218eb57f3a
Avoid duplicate attachToDOM call
2017-11-21 12:00:54 -08:00
Max Brunsfeld
cbd55cd921
Fix incorrectly written async test
2017-11-21 11:57:57 -08:00
Max Brunsfeld
aa1f5dde83
Fix TextEditor tests
2017-11-20 16:49:56 -08:00
Max Brunsfeld
6bf32b5ce8
Fix Workspace spec
2017-11-20 16:45:05 -08:00
Max Brunsfeld
cb89562f63
Avoid TokenizedBuffer.setGrammar in TokenIterator test
2017-11-20 16:34:44 -08:00
Max Brunsfeld
d52c4bc33b
Serialize the grammar registry
2017-11-20 14:50:00 -08:00
Max Brunsfeld
b2fcb0cbe2
Integrate the 2 grammar registry specs
2017-11-20 13:53:19 -08:00
Max Brunsfeld
8a52fd1237
Get TokenizedBuffer tests passing
2017-11-20 13:33:09 -08:00
Max Brunsfeld
20bf705000
Destroy editors after text editor component specs
...
This only now became necessary because TokenizedBuffer now *always*
receives a reference to the Atom config on construction, and always
tries to read from it when isFoldableAtRow is called, which can happen
after test cleanup due to resize observers.
2017-11-20 11:59:21 -08:00
Max Brunsfeld
f6c2e0eba4
Allow setting the null language mode w/ assignLanguageMode(buffer, null)
2017-11-20 09:48:00 -08:00
Max Brunsfeld
3d5cc6993c
Merge branch 'master' into mb-use-language-mode-api
2017-11-17 14:03:37 -08:00
Michelle Tilley
cb1d529d64
Merge remote-tracking branch 'origin/master' into wl-async-context-menu
2017-11-17 10:16:30 -08:00
Max Brunsfeld
91d4f53b28
Use assignLanguageMode in TextEditorComponent spec
2017-11-15 17:15:32 -08:00
Max Brunsfeld
653ecd7f52
Merge branch 'master' into mb-use-language-mode-api
2017-11-15 12:52:36 -08:00
Wliu
a59913f51c
Update specs
2017-11-15 21:49:43 +01:00
Michelle Tilley
fdf0478a77
Merge pull request #16191 from atom/Xapphire13-tests
...
Fix merge conflicts for #15415 (Adding option to skip main process tests. Cleaning up resources in tests)
2017-11-15 09:42:16 -08:00
Michelle Tilley
e77ed412b7
Merge branch 'tests' of https://github.com/Xapphire13/atom into Xapphire13-tests
2017-11-15 00:14:44 -08:00
Nathan Sobo
ad1328db5a
Revert "Merge pull request #16092 from atom/autoscroll-after-fold-or-unfold"
...
This reverts commit 6227ecebed
, reversing
changes made to 311055c575
.
2017-11-14 12:17:50 -07:00
Nathan Sobo
e21c757682
Merge pull request #16114 from atom/b3-scroll-linux
...
Use wheelDelta instead of delta in the scroll handler
2017-11-14 06:45:48 -07:00
Ash Wilson
9a0ad46739
Ensure app windows launch in the order we assert they do
2017-11-13 09:51:23 -05:00
Jason Rudolph
dd8173fc35
Merge pull request #16144 from atom/fix-jquery-handling-in-tooltip-manager-add-method
...
Fix handling of jQuery objects in `TooltipManager.add` method
2017-11-09 11:05:47 -05:00
Max Brunsfeld
6c99872040
Merge pull request #16141 from atom/mb-decaf-atom-environment
...
Convert AtomEnvironment to JS
2017-11-08 22:33:01 -08:00
Max Brunsfeld
bc774773f7
Convert AtomEnvironment to JS
2017-11-08 16:44:46 -08:00
Jason Rudolph
fb74992454
Enhance test to catch bug reported in #16135
...
Enhance the fake jQuery object to more closely match a real jQuery
object. With this change, the test fails, thus allowing us to reproduce
the regression reported in #16135 .
2017-11-08 17:44:32 -05:00
Max Brunsfeld
ff8ecf1a49
Fix errors when passing subword regex to native find methods
2017-11-08 14:00:00 -08:00
Max Brunsfeld
7bae4e7324
Use dedent for multiline template strings in text-editor-spec
2017-11-08 11:57:04 -08:00
Nathan Sobo
6227ecebed
Merge pull request #16092 from atom/autoscroll-after-fold-or-unfold
...
Autoscroll to cursor position after folding or unfolding
2017-11-07 11:33:22 -07:00
Jason Rudolph
311055c575
Merge pull request #16091 from atom/decaf-text-utils
...
☠☕ Decaffeinate text-utils
2017-11-07 08:12:59 -05:00
Max Brunsfeld
786f8b6a93
Use await instead of waitsForPromise in atom-environment-spec
2017-11-06 17:51:49 -08:00
Max Brunsfeld
31eafc4622
Convert atom-environment-spec to JS
2017-11-06 17:32:29 -08:00
Max Brunsfeld
20b0fc688d
Use assignLanguageMode in TextEditor spec
2017-11-06 17:18:53 -08:00
Max Brunsfeld
fe6b385c97
Move largeFileMode logic to TokenizedBuffer
2017-11-06 17:07:23 -08:00
Max Brunsfeld
3d36455885
Make getNonWordCharacters take a position
2017-11-06 17:07:23 -08:00
Linus Eriksson
9f83c4b15b
And don't focus the test
2017-11-06 23:55:24 +01:00
Linus Eriksson
bea8094765
Make the tests pass
2017-11-06 23:53:55 +01:00
Max Brunsfeld
4ec1d85aad
Merge branch 'master' into mb-use-language-mode-api
2017-11-06 11:32:52 -08:00
Max Brunsfeld
6e0b629389
Use async and await in git-repository-spec
2017-11-06 10:57:46 -08:00