330 Commits

Author SHA1 Message Date
mathematicalcoffee
4019e537f0 @constant: added tests 2013-02-15 13:16:28 +10:00
mathematicalcoffee
d869c99c3d @classdesc: added test 2013-02-15 13:07:42 +10:00
mathematicalcoffee
0e8e1664f7 @mixes and @mixin tests added 2013-02-15 13:04:57 +10:00
mathematicalcoffee
896f1bd909 @alias tag - added test that doc.alias is populated (further tests already in documentation/alias.js) 2013-02-15 12:53:05 +10:00
mathematicalcoffee
e4c90b2fee @augments tests - add test that you can @augment multiple doclets 2013-02-15 12:52:33 +10:00
mathematicalcoffee
cd1fb6c96a @author tests - test that you can have multiple authors 2013-02-15 12:52:06 +10:00
mathematicalcoffee
2ca61c1beb existing tags tests: toEqual -> toBe where appropriate 2013-02-15 12:25:41 +10:00
mathematicalcoffee
52528958da @returns: fixed typo in test description 2013-02-15 12:15:59 +10:00
mathematicalcoffee
8e9e06b3e4 filled out setTutorials and toTutorial links 2013-02-14 17:37:34 +10:00
mathematicalcoffee
096f1dd9d1 BUGFIX (tutorial/resolver, util/templateHelper): be careful when tutorial names are reserved JS keywords (e.g. 'constructor')) 2013-02-14 16:48:49 +10:00
mathematicalcoffee
338e129edc test improvements: toEquals vs toBe, instanceof Array vs Array.isArray, .indexOf(X).not.toEqual(-1) vs .contains(X) 2013-02-14 15:44:33 +10:00
mathematicalcoffee
c37e801291 BUGFIX: linkto and toLink should use hasOwnProp to avoid errors from linking to reserved keywords, e.g. {@link constructor} or linkto('constructor') 2013-02-14 15:41:57 +10:00
mathematicalcoffee
c6314a107a Merge branch 'master' of github.com:mathematicalcoffee/jsdoc into tests-util 2013-02-14 15:29:33 +10:00
mathematicalcoffee
59e821aeae test alterations: some toEqual->toBe, instanceof Array -> Array.isArray, .indexOf() -> .toContain 2013-02-14 15:28:41 +10:00
mathematicalcoffee
8e52d6baad Merge branch 'master' of git://github.com/jsdoc3/jsdoc into tests-tag 2013-02-14 15:20:21 +10:00
Jeff Williams
d517c47ef5 Merge pull request #335 from mathematicalcoffee/tests-tutorial
added tests for Tutorial class.
2013-02-13 08:22:59 -08:00
mathematicalcoffee
bf4e356ee5 fixed typo in test, also Array.isArray instead of instanceof Array 2013-02-13 12:02:33 +10:00
mathematicalcoffee
7765d5bb9b test improvements: expect(X instanceof Array) --> Array.isArray(X), some toEqual -> toBe, .indexOf(X).not.toEqual(-1) --> .toContain(X) 2013-02-13 11:55:48 +10:00
mathematicalcoffee
dad08be08a FEATURE/FIX: jsdoc/util/templateHelper.getAncestorLinks: direct parents punctuation should be part of the link text. <a href="">Parent~</a> vs <a href="">Parent</a>~ 2013-02-12 16:51:35 +10:00
mathematicalcoffee
9183a90aa5 jsdoc/util/templateHelper: added getSignatureReturns, registerLink, resolveAuthorLinks, getAncestorLinks tests 2013-02-12 16:40:48 +10:00
mathematicalcoffee
d985da693e BUGFIX: '@param [foo]' should have the 'optional' property set (tags with no type but implied properties in the name should have those properties set on the tag) 2013-02-12 13:55:20 +10:00
mathematicalcoffee
c3f04020ef templateHelper.js: longnameToUrl, getSignatureParams, getSignatureType tests added 2013-02-12 13:20:16 +10:00
mathematicalcoffee
d93e85c096 added tests for getAttribs and scopeToPunc 2013-02-11 16:57:46 +10:00
mathematicalcoffee
0bc2d0b78f added tests for jsdoc/util/doop 2013-02-11 15:16:19 +10:00
mathematicalcoffee
ed6de4a5d9 added tests for jsdoc/tag/type/closerCompilerType 2013-02-08 13:59:21 +10:00
mathematicalcoffee
1c52170c09 FIX: in Tag constructor, we should look up the tag definition using the trimmed (and lowercased) title 2013-02-08 13:52:12 +10:00
mathematicalcoffee
2161359eeb added tests for jsdoc/tag. 2013-02-08 13:41:30 +10:00
mathematicalcoffee
eeb1c8da47 Merge branch 'tests-fixes-dictionary' into tests-tag 2013-02-08 11:13:34 +10:00
mathematicalcoffee
0f1f9ff663 added tests for jsdoc/tag/validator.js 2013-02-08 11:05:29 +10:00
mathematicalcoffee
e384a06b45 FIX: dictionary.isNamespace should do the lookup under the normalised name 2013-02-08 10:03:47 +10:00
mathematicalcoffee
5fadd37fb5 FIX: dictionary.defineTag should store tags under the normalised name. 2013-02-08 10:02:58 +10:00
mathematicalcoffee
f0b9776f43 added tests for dictionary.js and dictionary/definitions.js 2013-02-07 23:09:45 +10:00
mathematicalcoffee
5b5e4a38e5 Made Tutorial#addChild and Tutorial#removeChild modify the child's parent (as well as the parent's children property) 2013-02-04 16:56:04 +10:00
mathematicalcoffee
2df5df418f added tests for Tutorial class. 2013-02-04 16:06:41 +10:00
mathematicalcoffee
bc35934546 added tests for tutorial/resolver. A bit of renaming needed to ensure all test tutorials had unique names 2013-02-02 16:10:40 +10:00
Jeff Williams
5488737ec6 allow users to specify class attributes for generated links (#331) 2013-01-30 20:41:10 -08:00
Jeff Williams
87cd24728f allow plugins to be installed outside of the JSDoc directory (#277) 2013-01-27 07:56:43 -08:00
Jeff Williams
9e5a47f195 add '@callback' tag (#260) 2013-01-23 22:56:21 -08:00
Jeff Williams
964f6e97e2 Merge branch 'master' of https://github.com/jsdoc3/jsdoc 2013-01-22 20:36:39 -08:00
Jeff Williams
5df4fd432d update the default template to generate pretty-printed source files (#208)
enabled by default. to disable pretty-printed source files, add the
property templates.default.outputSourceFiles: false to your conf.json
file.
2013-01-22 20:34:41 -08:00
Jeff Williams
3fed4ebf32 Merge pull request #293 from mathematicalcoffee/bugfix-gfm-hardwrap
Bugfix: github-flavoured-markdown was ignoring the hardwrap configuration.
2013-01-17 18:12:23 -08:00
Jeff Williams
b814da3e8b support -v option; provide more detailed version info (#303) 2013-01-17 18:06:31 -08:00
mathematicalcoffee
ac14eda668 added --version switch. 2013-01-18 10:16:41 +10:00
Jeff Williams
4a57a3718c escape less-than sign in signature headings (#307) 2013-01-17 07:20:23 -08:00
mathematicalcoffee
24a3c6b448 filled out markdown tests for getParser to test asking for specific parsers 2012-12-28 23:55:39 +10:00
mathematicalcoffee
2fd96d2bb7 fix: env.conf.markdown.hardwrap is now respected. 2012-12-28 23:55:33 +10:00
Jeff Williams
d73570defc make fs module consistent with Node.js (#211) 2012-12-26 19:03:05 -08:00
Jeff Williams
ce8565f6e0 minor corrections to test 2012-12-25 05:01:56 -08:00
Jeff Williams
e4236eaa42 remove most globals from jsdoc.js (#287)
for clarity, also forward-declared all variables in main()
2012-12-25 04:55:50 -08:00
Jeff Williams
6c9ef48324 clean up VM-specific code (#210) 2012-12-23 17:57:38 -08:00