Kevin Sawicki & Nathan Sobo
d55c09c9d3
Nuke documentation threshold specs
...
We're going to make it a lint task that's run via grunt.
2013-06-28 04:39:30 -06:00
Kevin Sawicki & Nathan Sobo
8a7c57994d
Remove parens from require
2013-06-28 04:39:26 -06:00
probablycorey
e72c48607b
Fix doc specs
2013-06-20 17:15:52 -07:00
Corey Johnson & Kevin Sawicki
0c8f200d45
Always load bundle preferences
...
Previously the scoped properties would not load if there weren't
any grammars in the bundle or if listing the grammars directory
failed.
Closes #570
2013-06-11 13:52:40 -07:00
Kevin Sawicki
5a691a1b1e
Merge branch 'master' into atom-shell
2013-05-29 13:23:23 -07:00
Corey Johnson & Kevin Sawicki
f8f059d3fe
Use correct textmate package names
2013-05-29 11:01:59 -07:00
Cheng Zhao
47410c54e5
Remove 'modal dialogs' spec.
...
The main purpose of this spec is to test whether the simulation of modal
dialogs works, since the dialogs of atom-shell are real blocking modal
dialogs, there is no need to check whether the dialogs are presented as
modal dialogs correctly any more.
2013-05-25 00:20:54 +08:00
Cheng Zhao
e430002951
atom.getVersion returns plain string, not string object.
2013-05-25 00:19:50 +08:00
Cheng Zhao
0dd823aa38
Merge branch 'master' into atom-shell
2013-05-24 19:12:47 +08:00
probablycorey
2746d72731
Ignoring 'modal native dialogs' spec
...
/cc @zcbenz since we don't use sendMessageToBrowserProcess anymore
these specs aren't mocked correctly. Is there a method that we can
mock when calling remote objects?
2013-05-22 15:34:48 -07:00
probablycorey
7f083acdc4
Update atom specs
2013-05-22 15:31:59 -07:00
Kevin Sawicki
1fe576752b
Unload package when uninstalled
2013-05-22 15:29:35 -07:00
Kevin Sawicki
6622e7369d
Decrease coverage to 75%
2013-05-22 15:29:35 -07:00
Nathan Sobo
4a56cc3693
Kick docs threshold down again because I removed public methods
2013-05-10 13:20:42 -06:00
Nathan Sobo
ebfd8ca4c3
Give docs errors a better failure message
2013-05-03 17:34:48 -06:00
Nathan Sobo
3b52cd018b
Reduce documentation threshold
...
I deleted a bunch of documented methods. I haven't added any new
undocumented methods, but now there are fewer overall documented
methods, which is breaking the docs threshold spec. I don't think it
makes sense to start documenting non-related methods in this branch
right now.
2013-04-29 21:01:48 -06:00
Nathan Sobo
8980a97895
Add atom.activatePackageConfig, which is called in config windows
...
This calls an optional `activateConfig` method on the package's main
module, which allows it to add a configuration interface to the
`configView`.
2013-04-26 15:32:47 -07:00
Kevin Sawicki
4b48e07f83
Specify cwd instead of cd'ing
2013-04-18 20:41:17 -07:00
Kevin Sawicki
b5474790cb
Remove unused imports
2013-04-18 20:18:37 -07:00
Garen Torikian
42290e87f8
80 is good.
2013-04-18 18:51:46 -07:00
Garen Torikian
cabee75f8a
💄
2013-04-18 15:02:22 -07:00
Garen Torikian
0acccc383e
Remove test for folder not documented
2013-04-18 13:24:55 -07:00
Garen Torikian
e0e4936756
Update spec
2013-04-11 02:14:24 -05:00
Garen Torikian
1142ae89aa
Update spec
2013-04-10 18:02:13 -05:00
Garen Torikian
756bb5604f
Add API doc spec
2013-04-09 18:03:29 -05:00
Corey Johnson & Nathan Sobo
d136837c79
Fix version spec
2013-04-03 15:28:43 -07: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
probablycorey
05336dc38c
Fix atom.version spec
2013-03-29 15:24:27 -07:00
Nathan Sobo
d3fa24be57
Remove scoped-properties when deactivating a TextMate package
2013-03-26 17:35:45 -06:00
Nathan Sobo
6a5ca3805e
Spec loading of scoped properties when activating TextMate packages
2013-03-26 17:35:44 -06:00
Nathan Sobo
eef13e7db8
Test that deferred packages don't require their main module
...
As opposed to asserting that the main module isn't present, which
might not be true if a previous spec required it.
2013-03-26 17:35:44 -06:00
Nathan Sobo
a07cd87c2c
Move testing of deferred deserializers to atom-spec
2013-03-26 17:35:44 -06:00
Nathan Sobo
2fe057bd9b
Move deferred activation specs to atom-spec
2013-03-26 17:35:44 -06:00
Corey Johnson & Nathan Sobo
81d4b764b8
Remove a package's scoped-properties when it is deactivated
...
Also: don't add the properties until `activate` is called. Previously
we were still adding the properties in the `load` method, which was
wrong.
2013-03-26 17:35:44 -06:00
Corey Johnson & Nathan Sobo
368e10a9f5
Move spec for scoped property loading to atom-spec
2013-03-26 17:35:44 -06:00
Corey Johnson & Nathan Sobo
3c561ef208
💄
2013-03-26 17:35:44 -06:00
Corey Johnson & Nathan Sobo
c8b9622bf4
Move specs for loading config defaults to atom-spec
2013-03-26 17:35:44 -06:00
Corey Johnson & Nathan Sobo
5d822b7305
Remove a package's stylesheets when it is deactivated
2013-03-26 17:35:43 -06:00
Corey Johnson & Nathan Sobo
1e51750b6c
Remove a package's keymaps when it is deactivated
2013-03-26 17:35:43 -06:00
Corey Johnson & Nathan Sobo
772787121c
Remove atom package grammars on deactivate
2013-03-26 17:35:43 -06:00
Corey Johnson & Nathan Sobo
d37fbd43f1
Test that atom packages load their grammars
2013-03-26 17:35:43 -06:00
Corey Johnson & Nathan Sobo
de7d9bfcb1
Get deactivatePackage specs passing w/ new fixture data
2013-03-26 17:35:43 -06:00
Corey Johnson & Nathan Sobo
8c1f5658be
Allow packages to have stylesheet manifests
2013-03-26 17:35:43 -06:00
Corey Johnson & Nathan Sobo
b846a4db98
wip: cleanup package lifecycle specs
2013-03-26 17:35:43 -06:00
Corey Johnson
da016114b6
Add specs for activating and deactivating TextMate packages
2013-03-26 17:35:43 -06:00
Nathan Sobo
f5774972e9
Add atom.deactivatePackage(id)
...
It serializes the package state to the atom.packageStates hash when
the package is deactivated, which means we will be able to test
package serialization independent of the overall window lifecycle by
just deactivating and re-activating the package.
2013-03-26 17:35:42 -06:00
Nathan Sobo
58ef6c6582
Use atom.activatePackage directly in specs
2013-03-26 17:35:42 -06:00
Nathan Sobo
ab934cfbfb
Replace LoadTextMatePackagesTask with async grammar loading
2013-03-22 15:29:07 -06:00
Kevin Sawicki & Nathan Sobo
501dc9b76c
Merge remote-tracking branch 'origin/master' into cefode
...
Conflicts:
native/v8_extensions/native.mm
spec/app/config-spec.coffee
spec/app/window-spec.coffee
spec/spec-helper.coffee
spec/stdlib/fs-utils-spec.coffee
src/app/atom-package.coffee
src/app/config.coffee
src/app/window.coffee
src/packages/fuzzy-finder/lib/load-paths-handler.coffee
src/packages/markdown-preview/lib/markdown-preview-view.coffee
src/packages/tree-view/spec/tree-view-spec.coffee
src/stdlib/require.coffee
2013-03-20 10:46:50 -06:00
Kevin Sawicki & Nathan Sobo
051decc08c
Use fs.resolveOnLoadPath() instead of require.resolve()
2013-03-12 14:42:24 -07:00