Commit Graph

39 Commits

Author SHA1 Message Date
Kevin Sawicki
512a14d2ed Show the window synchronously in specs
Showing it asynchronously was causing specs to fail that relied on a mini
editor having focus in the very first spec run.
2014-02-18 09:01:44 -08:00
Matt Colyer
e7f63b7c62 Merge branch 'master' into win32-specs 2013-12-17 18:22:08 -08:00
Matt Colyer
20df9f4666 Add --log-file option for redirecting output 2013-12-17 16:31:13 -08:00
Nathan Sobo
e67e8ff0f5 Restore Atom::getLoadSettings and spy on it in window spec
I initially ripped out Atom::getLoadSettings in favor of a mutable
property because window spec was making an assumption that such a
property existed anyway. Since load settings need to be available from
class methods, the instance method just delegates to the class method.
But that means there's no ::loadSettings property to mutate in that
spec. I replaced the former approach with a spy which has the added
advantage of not polluting windowSettings for subsequent specs.
2013-12-13 12:02:48 -08:00
Nathan Sobo
a564cc66f6 Replace Atom::getLoadSettings with a ::loadSettings property
We assign a value into ::loadSettings anyway in a spec, so there's not
much point leaving it a method. Eventually I'd like to pass all these
settings in when constructing the Atom object and eliminate awareness
of the loadSettings altogether from the Atom global.
2013-12-12 16:33:30 -08:00
Nathan Sobo
23957d7f66 WIP: Make atom global a telepath model
Specs seem to be green but hang on what I'm assuming to be a long GC
pause near the end. I need to investigate what's going on memory wise.
2013-12-12 14:33:50 -08:00
Cheng Zhao
b4099ba66f Use the new breakpad crash reporter in both browser and renderer. 2013-12-03 12:45:44 +08:00
Kevin Sawicki
5619f81c89 Log error before exiting 2013-10-17 15:38:47 -07:00
Kevin Sawicki
0254e64762 Remove window handling in catch block
The catch block in index.html takes care of this
2013-10-16 13:35:11 -07:00
Matt Colyer
d8b173b86e Merge pull request #919 from atom/test-without-window
Test without window
2013-10-03 10:57:40 -07:00
Matt Colyer
de9ab2d163 Prevent showing the window via spec-bootstrap.coffee 2013-10-02 16:47:27 -07:00
Kevin Sawicki
3d5f1c6c90 Show dev tools when error is thrown bootstrapping specs 2013-10-02 15:48:58 -07:00
Kevin Sawicki
bdddb4eb52 Require atom after window 2013-10-02 13:40:34 -07:00
Kevin Sawicki
dc8fae12b6 Create new Atom class in spec/benchmark bootstraps 2013-10-02 13:40:33 -07:00
Kevin Sawicki
3c94ca4b9e Use relative paths in spec requires 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
Corey Johnson & Kevin Sawicki
bcc16fbefe Remove hash params from url
Load settings are now stored on the browser window.
2013-06-11 11:17:16 -07:00
Kevin Sawicki
d58ec4d3f6 Show window from bootstrap script 2013-06-03 13:23:16 -07:00
probablycorey
09ab319328 Atom.show no longer used
The window is shown automatically when it is created.
2013-05-16 14:19:53 -07:00
Kevin Sawicki
07b40265fb Log error when no stack exists 2013-04-02 14:40:30 -07:00
probablycorey
187263173b Only exit specs on exceptions when exitWhenDone is true 2013-03-26 14:57:03 -07:00
probablycorey
60189c0135 exit(1) when spec-bootstrap throws an error 2013-03-26 14:20:03 -07:00
Kevin Sawicki
60f25d7069 Call atom.show() in spec bootstrap 2013-01-17 16:50:26 -08:00
Nathan Sobo
714a260f32 Require atom.coffee in spec-bootstrap and benchmark-bootstrap 2012-08-30 11:26:31 -06:00
Corey Johnson & Nathan Sobo
12b06ddf0c Get spec suite running (lots of failures) 2012-08-27 17:36:36 -05:00
Nathan Sobo
c2c8724ad0 Initial commit 2012-08-10 13:32:19 -06:00
Nathan Sobo
2baf374937 Newline at end of file 💄 2012-06-01 14:01:00 -06:00
Corey Johnson
a559e52352 Extract jasmine code into jasmine-helper 2012-03-15 10:46:40 -07:00
Corey Johnson
6b4f3b0386 Use --headless arg to enable console reporter and exit on finish. 2012-03-15 10:24:57 -07:00
Corey Johnson
80641636f9 rake tasks use console reporter 2012-03-15 10:15:06 -07:00
Corey Johnson
ef9673a145 jasmine-atom-reporter doesn't output any console data 2012-03-15 08:55:09 -07:00
Corey Johnson
117d9287e0 Allow AtomReporter to output text to console. 2012-03-14 10:48:53 -07:00
Corey Johnson
638c0c625b Rename TrivialReporter AtomReporter 2012-03-14 09:59:31 -07:00
Corey Johnson
8e97fbd5ed document.title is set as the window title 2012-03-09 11:02:08 -08:00
Nathan Sobo
bb640dd342 Use $$ -> to render ad-hoc document fragments
Also eliminate stdlib/template directory which held code related to
SpacePen's precursor framework.
2012-02-06 16:19:43 -07:00
Nathan Sobo
f1a5368eb3 Remove Coffeekup and Handlebars 2012-02-06 12:11:45 -07:00
Nathan Sobo
5b7a80f707 fdescribe / fit can be used to focus specs manually 2011-12-23 15:38:22 -06:00
Corey Johnson & Nathan Sobo
71d9dfb147 Rename jasmine_content to jasmine-content. 2011-12-15 14:09:40 -08:00
Corey Johnson
fbb3efacf4 wii - gettings specs on App.open. Window closing not working quite right. 2011-12-14 16:24:30 -08:00