Matt Colyer
12b42bf459
Initialize AtomPackage attributes earlier
...
This should make our package loading process a bit more robust.
2013-10-11 12:49:31 -07:00
Matt Colyer
abd8bd1253
Handle errors in package.json gracefully
2013-10-11 12:49:31 -07:00
Matt Colyer
ffdfe63a4e
Add specs
2013-10-08 16:23:34 -07:00
Kevin Sawicki
0033c9659f
💉 directory dependencies into Config
2013-10-07 16:12:00 -07:00
Kevin Sawicki
db47d02c3c
Add fixture packages to atom.packages.packageDirPaths
2013-10-07 16:11:59 -07:00
Kevin Sawicki
5895da3d6f
Store dimensions when spec window is unloaded
...
Refs #918
2013-10-02 17:16:19 -07:00
Kevin Sawicki
80cfcb799e
Destroy rootView/project on both window and atom globals
2013-10-02 15:51:11 -07:00
Kevin Sawicki
3591b921fd
Update atom and window globals in beforEach
2013-10-02 13:40:35 -07:00
Kevin Sawicki
1e108aa0d1
Reference packageStates via atom.packages
2013-10-02 13:40:34 -07:00
Kevin Sawicki
22f2d4c1c5
Update packageDirPaths on new config instance
2013-10-02 13:40:34 -07:00
Kevin Sawicki
c808630ba1
Move all stylesheet globals to ThemeManager
2013-10-02 13:40:32 -07:00
Kevin Sawicki
643e32043b
🐎 Set spec directory once
...
Prevents an IPC call on each beforeEach getting the load settings
2013-09-26 12:20:32 -07:00
Kevin Sawicki
869fe71f73
Accept timeout option to waitsForPromise
2013-09-23 16:44:59 -07:00
Kevin Sawicki & Matt Colyer
de341a7f4c
Use correct binding sets by first keystroke variable name
2013-09-20 16:24:25 -07:00
Kevin Sawicki
d46891caf0
Rename atom-api require to atom
2013-09-20 10:03:02 -07:00
Kevin Sawicki
3c94ca4b9e
Use relative paths in spec requires
2013-09-20 10:02:20 -07:00
Kevin Sawicki
fd85acd3eb
Remove unused require
2013-09-20 10:02:20 -07:00
Kevin Sawicki
c7a0a4bcd9
Use relative require paths in specs
2013-09-20 10:02:19 -07:00
Kevin Sawicki
b84df9ff29
Use relative require path to jasmine stylesheet
2013-09-20 10:02:19 -07:00
Kevin Sawicki
52abb4afc9
Remove nakedLoad and use standard require for jasmine
2013-09-20 10:02:18 -07:00
probablycorey
ae6f0c40e6
Fix default project path in specs
2013-09-13 11:34:47 -07:00
Corey Johnson
2bba50bdd0
Use a packages fixtures directory as the default project directory
2013-09-13 09:01:22 -07:00
Corey Johnson
c90eb7fc73
Add better errors to .toHaveLength spec exception
...
Returns a helpful error when the actual object does not have a length
var.
2013-09-09 09:28:36 -07:00
Kevin Sawicki
aba6958e55
Load base stylesheets in spec-helper
...
This fixes the editor specs not working when focused.
2013-09-04 13:33:39 -07:00
Kevin Sawicki
7b2429851c
Load bootstrap stylsheets in spec helper
2013-09-04 12:48:58 -07:00
Kevin Sawicki
c6d1409151
Merge branch 'master' into summit
...
Conflicts:
.pairs
package.json
spec/app/tokenized-buffer-spec.coffee
src/app/edit-session.coffee
src/app/project.coffee
src/app/window.coffee
src/atom-application.coffee
static/root-view.less
2013-08-14 14:05:35 -07:00
probablycorey
69eace6292
Remove references to windowed config panel
2013-08-05 13:54:37 -07:00
Kevin Sawicki
40d76d2db9
Replace git global with project.getRepo()
2013-07-23 19:31:32 -07:00
Kevin Sawicki
17cecda23e
Use atom-shell 23dd5b4da8
...
The release past this build is causing issues with async callbacks
not firing.
2013-07-16 09:48:15 -07:00
Kevin Sawicki
9d733a2da9
Don't grab native window focus
...
Call $(window) instead of atom.focus() so the native window
doesn't regain focus on each spec run preventing it from running
in the background.
2013-07-15 13:56:21 -07:00
Kevin Sawicki
6bbcc58542
Call atom.focus() in the root beforeEach
...
Async events are not currently firing in specs and this
appears to cause them fire.
2013-07-15 13:40:53 -07:00
Kevin Sawicki
f766bbbb38
Remove Point and Range classes now provided by telepath
2013-07-05 12:53:50 -07:00
Nathan Sobo
b66431e3a6
Delete atom.windowState in global afterEach
...
It seems like the windowState was getting saved to disk, causing weird
window state to be loaded on the next test run and a spec to fail.
2013-06-28 04:39:31 -06:00
Kevin Sawicki
8561bb34a8
Save and restore spec window dimensions
...
Closes #597
2013-06-28 04:39:30 -06:00
Kevin Sawicki & Nathan Sobo
390b03647e
Don't clear #jasmine-content when window.debugContent is true
2013-06-28 04:39:30 -06:00
Kevin Sawicki & Nathan Sobo
8b0a68dd4a
Return this
from $.fn.attachToDom
spec helper
2013-06-28 04:39:29 -06:00
Kevin Sawicki
1049a677bf
Set dimension of spec window
2013-06-28 04:39:29 -06:00
Kevin Sawicki & Nathan Sobo
0851b4d011
Replicate pane splitting and removal
...
We're using Peer.js to stream changes to shared telepath documents
between participants.
We're replacing the rootView of joiners in a somewhat hacky way,
but replication of pane splits and items is fully tested.
2013-06-28 04:39:26 -06:00
Kevin Sawicki & Nathan Sobo
6480e956af
Keep resident window state object
2013-06-28 04:39:26 -06:00
Cheng Zhao
b1e8a45fbe
Remove some dead code.
2013-05-29 12:20:56 +08:00
Cheng Zhao
0cc86b024d
Unspy atom.setWindowState after each spec.
...
Spec window needs to call it to save window dimenses.
2013-05-29 12:20:55 +08:00
Cheng Zhao
22d77af409
Also restore dimensions for spec window.
2013-05-24 22:09:44 +08:00
Cheng Zhao
a3b7df7b25
Fix window spec.
...
The windowStatePath now requires atom.windowMode, without setting it the
deserializeEditorWindow would create the wrong window.project.
2013-05-24 21:10:40 +08:00
probablycorey
102068f9e5
Remove calls to $native
...
And now some specs pass!
2013-05-22 11:57:31 -07:00
probablycorey
f23cb1aa79
Window state works now
...
The state is now stored in ~/.atom/.storage/SHA-OF-PATH. It is written
to every time it is set.
2013-05-21 14:12:15 -07:00
Nathan Sobo
b70ff1b164
Don't assign window.jQuery in jasmine-jquery.js
helper
...
I wrap it in a function wrapper to ensure that the assignment
`var jQuery` doesn't end up assigning a window global.
2013-04-26 15:36:13 -07:00
Nathan Sobo
6c43fd5c9d
Set up dev tools event handler when binding default keys
2013-04-26 15:32:47 -07:00
Nathan Sobo
ab1b90804e
Add specs for successful calls to .loadUserConfig
2013-04-26 15:31:18 -07:00
Cheng Zhao
e0865e8c38
Use node-pathwatcher.
2013-04-07 16:35:35 +08:00
Nathan Sobo
f03b6207de
Make all requires of 'fs-utils' assign to fsUtils var instead of fs
2013-04-03 12:01:37 -06:00