Cheng Zhao
c186d70bec
Also use require('electron') in specs
2015-12-11 10:03:20 +08:00
Cheng Zhao
f6e889aeb2
Merge branch 'master' into wl-electron-35
2015-12-11 09:32:32 +08:00
joshaber
976fe0f2cf
Linter
2015-12-10 20:19:58 -05:00
joshaber
81d4f06802
And that's why we write tests.
2015-12-10 20:00:37 -05:00
joshaber
35768f8595
Merge branch 'master' into dh-async-repo
2015-12-10 17:57:38 -05:00
Nathan Sobo
85c6139579
Don’t force DOM updates in LinesYardstick
...
Instead, determine the need for a DOM update in the component before
measuring with the lines yardstick, and break `updateSync` into two
explicit pre- and post-measurement phases.
2015-12-10 14:47:05 -07:00
joshaber
5302fb84a9
Better test name.
2015-12-10 16:44:51 -05:00
joshaber
0794ea365d
Tinker tailor soldier spy.
2015-12-10 16:43:25 -05:00
joshaber
bc14c28f11
Use the usual name.
2015-12-10 16:42:11 -05:00
joshaber
1a04c5a9c2
Be more specific in our error names.
2015-12-10 16:41:38 -05:00
joshaber
47606507f7
We want the booleans.
2015-12-10 16:31:36 -05:00
Nathan Sobo
3937312936
Merge pull request #9796 from atom/as-native-key-bindings
...
Use CommandRegistry to listen for native-key-bindings
2015-12-10 10:49:11 -08:00
joshaber
e867b68eab
Match the ordering of the GitRepository spec.
2015-12-10 10:38:15 -05:00
joshaber
86e39a22ff
Test .destroy().
2015-12-10 10:35:53 -05:00
joshaber
4711d03675
Tests for .checkoutHeadForEditor.
2015-12-10 10:35:07 -05:00
joshaber
f0a9c5d9f0
Just use the repo declared above.
2015-12-10 10:33:56 -05:00
Antonio Scandurra
c22cae451b
Wrap line at boundary if it includes a CJK character
2015-12-10 10:18:24 +01:00
Antonio Scandurra
3253c0d5cd
Don't rely on spaces to test korean characters' width behavior
2015-12-10 10:07:46 +01:00
Antonio Scandurra
9a2c3a49e7
Expose a isCjkCharacter text utility
2015-12-10 10:01:03 +01:00
joshaber
f3cfb5d069
Merge branch 'master' into dh-async-repo
2015-12-09 15:44:45 -05:00
joshaber
538ff83448
Merge branch 'master' into dh-async-repo
2015-12-09 15:39:26 -05:00
Antonio Scandurra
769b7bcd89
Merge branch 'master' into as-deserialize-untitled-editors
...
# Conflicts:
# package.json
2015-12-09 08:48:04 +01:00
Nathan Sobo
3567d47790
Merge pull request #9878 from atom/ns-mb-fix-prepare-stack-trace-recursion
...
Avoid infinite recursion in Error.prepareStackTrace
2015-12-08 14:22:07 -07:00
Nathan Sobo
7718d5cb56
Merge pull request #9773 from atom/mb-ns-prepare-stack-trace-fixes
...
Allow Error.prepareStackTrace to be temporarily reassigned
2015-12-08 14:21:47 -07:00
Max Brunsfeld
d835ac0ac8
Add spec for re-registering schema after unloading package
2015-12-08 11:27:20 -08:00
Max Brunsfeld
03a2846eb5
Remove redundant unloadPackage call in spec
2015-12-07 17:24:34 -08:00
Antonio Scandurra
1f955f0aab
🔥 💚 Remove outdated spec
...
This made the build fail because we were checking that a TextEditor couldn't
have been serialized when the path didn't exist. This is exactly the opposite we
want to do for restoring untitled editors, therefore I think it's safe to delete
this test.
/cc: @nathansobo for extra 👀
2015-12-07 22:03:28 +01:00
Max Brunsfeld
5825fb51b5
Merge pull request #9948 from dirk-thomas/order_config_cson
...
save config.cson in alphabetic order
2015-12-07 11:19:56 -08:00
Antonio Scandurra
a8a9581ef4
🎨 Use only id
2015-12-07 19:57:30 +01:00
Antonio Scandurra
e0bb800dd3
✅ Write integration spec
2015-12-07 15:54:22 +01:00
Antonio Scandurra
f7a4ef4a84
Deserialize also untitled buffers
2015-12-07 14:47:23 +01:00
Dirk Thomas
6e2061c076
✅ add spec for ordered config.cson
2015-12-06 17:15:13 -08:00
Antonio Scandurra
1c5c973823
Merge branch 'master' into as-user-keybindings-priority
...
# Conflicts:
# spec/package-manager-spec.coffee
2015-12-04 16:18:56 +01:00
Antonio Scandurra
c578f221bf
✅ Test ::invalidateBlockDecorationDimensions
2015-12-04 15:42:49 +01:00
Antonio Scandurra
b77c45859c
Merge branch 'master' into as-block-decorations
...
# Conflicts:
# spec/text-editor-presenter-spec.coffee
2015-12-04 14:44:19 +01:00
Antonio Scandurra
7554f71f74
Make sure screen row is set correctly on <content>
2015-12-04 14:21:23 +01:00
Antonio Scandurra
14d8ecefdd
💚 Fix LinesYardstick specs
2015-12-04 12:54:20 +01:00
Antonio Scandurra
16525047f1
💚 Fix component and presenter specs
2015-12-04 12:49:59 +01:00
joshaber
0adf251321
Merge branch 'master' into dh-async-repo
2015-12-03 21:14:12 -05:00
Kevin Sawicki
1fac3cb4e2
Merge pull request #9620 from DouweM/window-title
...
Use em-dash in window title and exclude app name on OS X
2015-12-03 16:23:43 -08:00
Wliu
2b694bb4b1
Merge pull request #9921 from atom/wl-update-for-js-scope-changes
...
Update specs for language-javascript changes
2015-12-03 17:26:17 -05:00
joshaber
4fbbcac3bc
Added .getLineDiffs
2015-12-03 15:34:58 -05:00
Max Brunsfeld
fe5b1b70e8
Fix paragraph motions in the presence of CRLF line endings
2015-12-03 12:07:15 -08:00
Max Brunsfeld
76b6ca5043
Make CRLF word-movement tests pass
2015-12-03 11:52:45 -08:00
joshaber
53be0cf965
Added .checkoutReference
2015-12-03 14:07:12 -05:00
Max Brunsfeld
71d2761c1a
Merge pull request #9763 from dranzerashi/patch-1
2015-12-03 10:30:48 -08:00
joshaber
74a0528bef
Added .getConfigValue
2015-12-03 12:18:00 -05:00
Antonio Scandurra
f2a0221519
Make sure block decorations are always in the right spot
2015-12-03 18:16:10 +01:00
joshaber
70601772d0
Added .getReferenceTarget
2015-12-03 11:54:55 -05:00
joshaber
c1e511927b
Added .getReferences
2015-12-03 11:44:31 -05:00