Commit Graph

6294 Commits

Author SHA1 Message Date
Max Brunsfeld
c268b4e050 Remove unused stylesheet cleanup in spec-helper 2015-10-08 13:11:58 -07:00
Max Brunsfeld
fb2a1284f6 Clear notifications and context menus in AtomEnvironment::reset 2015-10-08 12:41:07 -07:00
Max Brunsfeld
9a4cbb9e16 Wait for async service consumption in project spec 2015-10-08 12:40:23 -07:00
Max Brunsfeld
9664d34750 Reset MenuManager in AtomEnvironment::reset 2015-10-08 11:56:12 -07:00
Max Brunsfeld
19b07dbd97 Rename atom-spec -> atom-environment-spec 2015-10-08 11:54:54 -07:00
Antonio Scandurra
9ac4034135 🔥 Drop --spec-directory 2015-10-08 14:04:23 +02:00
Nathan Sobo
4808c9f9e8 Eliminate config and confirm global references in Pane 2015-10-07 16:32:47 -05:00
Nathan Sobo
4c51d29868 Merge remote-tracking branch 'origin/master' into ns-alternative-test-env 2015-10-07 16:10:29 -05:00
Nathan Sobo
ca0dda77b6 Don’t bind window:close in spec helper 2015-10-07 15:25:07 -05:00
Nathan Sobo
0f4558c448 Don’t load key bindings in spec helper 2015-10-07 15:25:06 -05:00
Nathan Sobo
499272dfa1 Remove unused locals in spec-helper 2015-10-07 15:25:06 -05:00
Nathan Sobo
a9a6f38858 Don’t clear document requests in spec helper; happens in reset 2015-10-07 15:25:06 -05:00
Nathan Sobo
aa682d5b19 Restore initial styles in AtomEnvironment::reset 2015-10-07 15:25:06 -05:00
Nathan Sobo
dc7a4a8168 Increase wait time in spec
This kinda sucks, but it’s not the end of the world.
2015-10-07 15:25:06 -05:00
Thomas Johansen
d878092794 🎨 Replace unnecessary fat arrow 2015-10-07 15:25:06 -05:00
Thomas Johansen
669eff5d20 🔥 Remove duplicate keys 2015-10-07 15:25:06 -05:00
Thomas Johansen
a28a42b610 🔥 Remove duplicate key 2015-10-07 15:25:05 -05:00
Max Brunsfeld
5aee514ef5 🔥 debuggers 2015-10-07 15:25:05 -05:00
Max Brunsfeld
9924288a6f Use atom environment argument to deserialize in Pane, PaneAxis 2015-10-07 15:25:05 -05:00
Antonio Scandurra
a3a6db7f68 Don't use atom.{config,confirm} global in GitRepository 2015-10-07 15:25:05 -05:00
Antonio Scandurra
b2d178f641 💚 Avoid resetting atom.grammars
...because it messes up subsequent tests that hit code paths that make use of
atom.grammars.

/cc: @nathansobo @maxbrunsfeld
2015-10-07 15:25:05 -05:00
Antonio Scandurra
4108939201 Don't use atom.{themes,menu,contextMenu} global in Package 2015-10-07 15:25:05 -05:00
Antonio Scandurra
7b25af5ad4 Remove more globals from Package
🔥 atom.{notifications,keymaps,commands,grammars,inDevMode}
2015-10-07 15:25:05 -05:00
Antonio Scandurra
c192004b06 Don't use atom.{config,styles} global in Package 2015-10-07 15:25:05 -05:00
Nathan Sobo
b7d6dd5e8c Reset view registry in AtomEnvironment::reset 2015-10-07 15:25:02 -05:00
Antonio Scandurra
464cfd4474 Don't use atom.confirm in Workspace 2015-10-07 15:25:02 -05:00
Antonio Scandurra
cb950b65b0 💚 Adapt specs to pass atom.views in ctors 2015-10-07 15:25:02 -05:00
Antonio Scandurra
df2d73a8df Don't use atom globals in TokenizedBuffer 2015-10-07 15:25:02 -05:00
Antonio Scandurra
2532a9cd59 Don't use atom globals in StylesElement 2015-10-07 15:25:02 -05:00
Antonio Scandurra
fa06124bb2 Don't use atom globals in PaneElement 2015-10-07 15:25:01 -05:00
Antonio Scandurra
721c5a1679 Don't use atom globals in PaneAxisElement 2015-10-07 15:25:01 -05:00
Antonio Scandurra
b65bfc408e Don't use atom globals in PanelContainerElement 2015-10-07 15:25:01 -05:00
Antonio Scandurra
112ee01bd9 Don't use atom globals in TextEditorElement
...except when the element is instantiated via HTML
2015-10-07 15:25:01 -05:00
Nathan Sobo
e1c9f3332d Reset commands in AtomEnvironment::reset 2015-10-07 15:25:01 -05:00
Nathan Sobo
c4cfbab408 Reset key bindings in AtomEnvironment::reset 2015-10-07 15:25:00 -05:00
Nathan Sobo
dcb1d8296f Pass buildAtomEnvironment function to test runner
Don’t build an AtomEnvironment or assign it to the atom global until
this function is called by the runner.
2015-10-07 15:25:00 -05:00
Antonio Scandurra
e9cda3ea5c Don't use atom.views global in PanelElement 2015-10-07 15:25:00 -05:00
Nathan Sobo
122bf72c75 Don’t use atom.packages global in TokenizedBuffer 2015-10-07 15:25:00 -05:00
Nathan Sobo
b2359f44a6 Don’t use atom.grammars global in TokenizedBuffer 2015-10-07 15:25:00 -05:00
Nathan Sobo
4f65452902 Don’t use atom.config global in TokenizedBuffer 2015-10-07 15:24:59 -05:00
Nathan Sobo
dc0709ef9e Don’t use atom.assert global in DisplayBuffer 2015-10-07 15:24:59 -05:00
Nathan Sobo
edd666b845 Don’t use atom.config global in DisplayBuffer 2015-10-07 15:24:59 -05:00
Nathan Sobo
d15d9be9eb Construct Workspace with all dependencies in specs 2015-10-07 15:24:59 -05:00
Nathan Sobo
8d7a08d07f Parameterize view registry on TextEditor 2015-10-07 15:24:59 -05:00
Nathan Sobo
e803801145 Parameterize clipboard on TextEditor 2015-10-07 15:24:59 -05:00
Nathan Sobo
51abab930d Parameterize config on editor instead of using global atom.config 2015-10-07 15:24:58 -05:00
Nathan Sobo
eb2ace37b4 Move TextEditor construction to Workspace
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-07 15:24:56 -05:00
Max Brunsfeld
77825e9d41 Wait for async service consumption in workspace spec
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-10-07 15:24:56 -05:00
Max Brunsfeld
eb68c9135e Don't use atom global in default commands
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-10-07 15:24:55 -05:00
Nathan Sobo
156cdfaf31 Move Workspace.deserialize to an instance method
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-07 15:24:55 -05:00