Ash Wilson
|
405304d449
|
🎨 formatting tweak
|
2019-04-23 11:19:01 -04:00 |
|
Ash Wilson
|
213f3b28b3
|
Rework and test IPC events that create windows
|
2019-04-23 11:18:53 -04:00 |
|
Ash Wilson
|
ab490a064a
|
Test for restoring windows over directories and files
|
2019-04-19 18:07:18 -04:00 |
|
Ash Wilson
|
c719dc8aa2
|
Test empty command-line cases
|
2019-04-19 17:37:23 -04:00 |
|
Ash Wilson
|
96e6403573
|
Remove unused forceAddToWindow
|
2019-04-19 17:36:33 -04:00 |
|
Ash Wilson
|
8126a136cd
|
Read hasOpenFiles to determine whether or not the initial editor should open
|
2019-04-19 15:50:24 -04:00 |
|
Ash Wilson
|
cc1ddf1011
|
Use hasOpenFiles to flag a window that will receive openLocations()
|
2019-04-19 15:50:03 -04:00 |
|
Ash Wilson
|
190875873e
|
📝 Document the LaunchScenario stuff
|
2019-04-19 15:07:33 -04:00 |
|
Ash Wilson
|
28116828a1
|
Consistently operate on result.pathToOpen
|
2019-04-19 14:37:26 -04:00 |
|
Ash Wilson
|
d3bb28f1a4
|
File under "how did this ever work"
|
2019-04-19 14:33:22 -04:00 |
|
Ash Wilson
|
53188eb19d
|
Distinct test names
|
2019-04-19 14:33:00 -04:00 |
|
Ash Wilson
|
1a123c06ef
|
Line separators are hard okay
|
2019-04-19 13:59:30 -04:00 |
|
Ash Wilson
|
97c4038906
|
Fix problems with _dimensions being modified in-place
|
2019-04-19 13:10:17 -04:00 |
|
Ash Wilson
|
e8cc4aa421
|
Call removeWindow() explicitly to simulate a window close
|
2019-04-19 12:55:03 -04:00 |
|
Ash Wilson
|
b9268c703c
|
URL pathnames use /, not path.sep
|
2019-04-19 12:53:30 -04:00 |
|
Ash Wilson
|
c4f3b519d3
|
Replace the AtomApplication test suite
|
2019-04-19 12:07:21 -04:00 |
|
Ash Wilson
|
3645cef518
|
More marking stuff covered
|
2019-04-19 12:06:09 -04:00 |
|
Ash Wilson
|
a3a44006be
|
Tests for URL handling, no-window actions on macOS, and app re-use
|
2019-04-19 12:06:01 -04:00 |
|
Ash Wilson
|
37e471b315
|
Omit missing windows from the shorthand assertion summary
|
2019-04-19 12:05:16 -04:00 |
|
Ash Wilson
|
91dce7faba
|
Track created windows in the createWindow stub
|
2019-04-19 12:04:51 -04:00 |
|
Ash Wilson
|
af28d3c248
|
Pass atom:// URL arguments through directly
|
2019-04-19 12:04:17 -04:00 |
|
Ash Wilson
|
1ba571becd
|
Create and restore ATOM_HOME for the socket stuff
|
2019-04-19 12:03:58 -04:00 |
|
Ash Wilson
|
ad2b431c5c
|
Stub trivial isSpecWindow method
|
2019-04-19 12:03:22 -04:00 |
|
Ash Wilson
|
18ec08735e
|
Don't require locationsToOpen in load settings
|
2019-04-19 12:03:04 -04:00 |
|
Ash Wilson
|
a303e31c1b
|
Consistently return an AtomWindow from openPackageUriHandler
|
2019-04-19 12:02:36 -04:00 |
|
Ash Wilson
|
a1e3598648
|
Default devMode, safeMode, and window to predictable false values
|
2019-04-19 12:02:11 -04:00 |
|
Ash Wilson
|
9d8ae2aa82
|
Return a Promise that resolves once the server has started listening
|
2019-04-19 12:01:51 -04:00 |
|
Ash Wilson
|
8b1827bea7
|
Return an all-Promise for windows opened by urlsToOpen
|
2019-04-19 12:01:22 -04:00 |
|
Ash Wilson
|
ca2f8db022
|
Inject an application creation function to AtomApplication::open
This lets me call open() and create properly stubbed-out AtomApplication
instances.
|
2019-04-19 12:01:03 -04:00 |
|
Ash Wilson
|
e0b495c36a
|
Marking off the test cases I've covered in the new suite
|
2019-04-18 22:58:17 -04:00 |
|
Ash Wilson
|
6f888484f0
|
Left in a console 👀
|
2019-04-18 22:58:00 -04:00 |
|
Ash Wilson
|
3f942f83de
|
Port over a bunch of AtomApplication tests
|
2019-04-18 22:57:27 -04:00 |
|
Ash Wilson
|
ab1bc2e173
|
Save window options when opening a window
|
2019-04-18 22:56:57 -04:00 |
|
Ash Wilson
|
40c2f5b073
|
'did-change-paths' is never broadcast
This event is handled by AtomWindow::setProjectRoots() now.
|
2019-04-18 22:56:46 -04:00 |
|
Ash Wilson
|
b903dc2506
|
Save .projectRoots, not .initialProjectRoots which is undefined
|
2019-04-18 22:56:12 -04:00 |
|
Ash Wilson
|
525d8b710c
|
Touch up core.openEmptyEditorOnStart tests
|
2019-04-18 21:23:10 -04:00 |
|
Ash Wilson
|
b0f4477986
|
Test behavior for collapsing new paths into restored ones
|
2019-04-18 21:13:56 -04:00 |
|
Ash Wilson
|
b1d6e42aa9
|
Add preserveFocus flag to keep main process tests from stealing focus
|
2019-04-18 21:10:41 -04:00 |
|
Ash Wilson
|
e782cea2bf
|
Test for window restoration on launch, not open
|
2019-04-18 17:13:03 -04:00 |
|
Ash Wilson
|
c6652e1b29
|
Don't restore state when --new-window is passed and other paths
|
2019-04-18 17:09:55 -04:00 |
|
Ash Wilson
|
c0a39e04e2
|
Tests for restoration of previous window state
|
2019-04-18 17:06:42 -04:00 |
|
Ash Wilson
|
2914b1c58e
|
Don't append launch options to the deserialized ones??
|
2019-04-18 17:06:20 -04:00 |
|
Ash Wilson
|
80f8d92565
|
Don't require urlsToOpen
|
2019-04-18 17:05:56 -04:00 |
|
Ash Wilson
|
e35510e928
|
Stub the storage folder application.json read
|
2019-04-18 17:05:41 -04:00 |
|
Ash Wilson
|
1a48b987ca
|
Allow LaunchScenario::launch() to accept an existing app
|
2019-04-18 17:05:25 -04:00 |
|
Ash Wilson
|
b854a698f7
|
Dump a shorthand description of the actual windows on assert failure
|
2019-04-18 17:05:08 -04:00 |
|
Ash Wilson
|
109fb1116b
|
Make the stubbed openLocations() sync for simplicity
|
2019-04-18 17:04:37 -04:00 |
|
Ash Wilson
|
9eb259ce20
|
Guarantee the window opening order
|
2019-04-18 17:03:43 -04:00 |
|
Ash Wilson
|
097906c23f
|
AtomWindow tests
|
2019-04-18 16:20:26 -04:00 |
|
Ash Wilson
|
6d4ba52454
|
Update AtomEnvironment specs with new location keys
|
2019-04-18 16:20:08 -04:00 |
|