Jannon
2d73440b3d
Testing Framework Upgrade Part I
...
This first part of the testing framework upgrade:
- enhances the jsdoc script to allow switching to debug mode from the command line
- uses Jasmine to run tests
- adds flexibility to run tests from multiple root directories
- does automatic test discovery, so test files can just be created, dropped in an appropriate folder, and run without having to explicity add it to the test runner
- cleans up the test directory layout
- incorporates env.rhino.js which should make it easier to test templates
- is incomplete: this is just a savepoint. About 1/3 of the tests have been converted. The rest are still run through the old testrunner
2012-04-30 17:39:50 -07:00
Jannon
1252d83ebc
A couple more tests of exisiting functions as object keys
2012-04-23 20:22:52 -07:00
Jannon
11aacdef1b
Fix for valueOf key in object literals
...
This is a test (provided by julienbachmann) and a fix for an issue where the parser crashes when valueOf is used as a key in an object literal
2012-04-21 04:04:48 -07:00
Jannon
f717abf6e1
fix and tests for #55
2012-03-20 23:24:21 -07:00
Jannon
a2259ac14c
adding recursive alias resolving from rafalwrzeszcz
2012-03-15 20:09:50 -07:00
Rafał Wrzeszcz
fcc26990ca
@abstract/@virtual tag support.
2011-12-10 10:27:33 +01:00
Michael Mathews
d7e74062b1
Fixed issue that caused members of named function statements to have the wrong memberof attributes generated by the parser. Closes Issue #60 .
2011-11-20 22:12:51 +00:00
Michael Mathews
39667e6b47
Added test cases for @memberof! tag.
2011-10-15 20:46:12 +01:00
Michael Mathews
39b5e09bb6
Fixed issue that caused incorrect longname to be calculated when a @memberof tag was applied to a constructor nested within another constructor.
2011-10-15 16:15:19 +01:00
Michael Mathews
134227b6d4
Added support for @variation tag.
2011-10-14 20:41:06 +01:00
Michael Mathews
badf1fcacd
Added unit tests for @enum.
2011-10-08 22:00:38 +01:00
Michael Mathews
7d840bcaa3
The event namespace is now optional for symbols mentioned in @fires tags. Closes #40 .
2011-10-07 20:42:23 +01:00
Michael Mathews
df45f945b4
Fix for case where a @lends tag was on an object literal, and an anonymous @constructs tag was on a property would throw an error.
2011-10-06 21:34:13 +01:00
Michael Mathews
de4f31b46e
Now support /*!* comments. Closes #26 .
2011-09-23 22:04:53 +01:00
tschaub
497982de67
Tests for adding inherited members.
2011-09-20 17:22:36 -06:00
Michael Mathews
bf21286685
The value for a @constructs tag can now be inferred from the source code, if no value is provided. Closes #31 .
2011-09-12 21:38:50 +01:00
Michael Mathews
dfe7474ece
Inner functions are now tracked, same as inner vars. Fixes bug where some inner functions were not documented as members of their enclosing function. Closes #30 .
2011-09-08 23:34:00 +01:00
Michael Mathews
e3e79e4742
Fix scope property for symbols documented as members of <global>.
2011-09-02 21:26:15 +01:00
Michael Mathews
ed40b7bb27
JSDoc will recognise documented inner members of JS modules. Closes #27 .
2011-09-01 08:06:51 +01:00
Michael Mathews
32f6b1f460
Added testhelper to resolve {@link ...} tags.
2011-08-04 20:46:02 +01:00
Michael Mathews
a8cd6b59de
Tweaks to get UTF-8 reading/writing correct on Windows.
2011-06-19 10:47:24 +01:00
Michael Mathews
8799668ccf
Added more nodejs compatible version of require().
2011-06-17 21:06:37 +01:00
Michael Mathews
2b3553dd64
Added boolean trus and false to the list of @default values recognised from the code source. Added support for invalid variable name characters in the keys of objectliterals, plus tests.
2011-04-10 00:31:54 +02:00
Michael Mathews
20416aa65c
Added support for @lends to the global.
2011-04-09 21:44:44 +02:00
Michael Mathews
79964a8727
Implemented excludePattern option in conf.json to exclude source files that match a given pattern.
2011-03-17 23:04:26 +00:00
Michael Mathews
98bd032049
Added borrow module to resolve borrowed symbols.
2011-03-17 22:19:50 +00:00
Michael Mathews
91a6cdb245
Added support for {type} clauses in @property, @const, and @module.
2011-03-12 22:28:15 +00:00
Michael Mathews
71fc8b4e3c
The @lends tag now marks itself as undocumented, so it doesnt overwrite the symbol being lent to.
2011-02-26 20:29:59 +00:00
Michael Mathews
7402f3fffb
Added more tests for @lends tag.
2011-02-25 22:58:28 +00:00
micmath
81cc2e4939
Fixes for var scoping, @lends and @borrows.
...
git-svn-id: https://jsdoc.googlecode.com/svn/trunk/@17 d5942f49-e6af-b5c1-9d01-85772c7ca168
2011-02-24 17:11:05 +00:00
micmath
cbab597b91
Improved detection of outer/inner scoped variables.
...
git-svn-id: https://jsdoc.googlecode.com/svn/trunk/@14 d5942f49-e6af-b5c1-9d01-85772c7ca168
2011-02-24 17:10:24 +00:00
micmath
6af99edab7
Added support for @typedef tag.
...
git-svn-id: https://jsdoc.googlecode.com/svn/trunk/@13 d5942f49-e6af-b5c1-9d01-85772c7ca168
2011-02-24 17:10:12 +00:00
micmath
ff90450af5
Doclets that are immediately adjacent to each other are now considered @also docs.
...
git-svn-id: https://jsdoc.googlecode.com/svn/trunk/@12 d5942f49-e6af-b5c1-9d01-85772c7ca168
2011-02-24 17:10:00 +00:00
Michael Mathews
92b54f6f32
Added support for the @default tag.
2011-02-04 21:37:36 +00:00
Michael Mathews
2facb898bf
Additional tests for @borrows.
2011-01-30 15:54:07 +00:00
Michael Mathews
bf7b667861
Added tests for the @borrows tag.
2011-01-30 14:31:59 +00:00
Michael Mathews
064affcf87
Added support for variation identifiers in symbol names, like foo(1) and foo(2).
2011-01-30 10:38:24 +00:00
Michael Mathews
48995922df
Now supports node convention of assigning exported symbols to global "this" inside a @module file.
2011-01-29 18:04:46 +00:00
Michael Mathews
f78a10c4b4
Added additional tests for @exports.
2011-01-29 17:08:01 +00:00
Michael Mathews
f7a62a913a
Added better support for documenting properties of the "exports" global in commonjs modules.
2011-01-29 10:31:50 +00:00
Michael Mathews
5d9e175778
Added additional test for alias.
2011-01-25 19:19:49 +00:00
Michael Mathews
0297bb99f9
Added support for @project and @license tags. Better support for this-variables in a @constructs scope. Name property no does not have namespace applied, only longname does.
2011-01-24 22:42:14 +00:00
Michael Mathews
221aa8cbad
Changed kind from "constructor" to "class", added support for @constructs tag to document the constructor function separately to the class documentation. Added support for documenting anonymous functions.
2011-01-24 18:00:01 +00:00
Michael Mathews
210a7d103c
Added support for @this tag.
2011-01-21 21:24:16 +00:00
Michael Mathews
683e11593e
Added better support for documenting module members via @exports and @requires.
2011-01-18 20:05:57 +00:00
Michael Mathews
22fc216425
Added tests for @class tag.
2011-01-16 19:45:59 +00:00
Michael Mathews
a00113b32c
Added tests for @member.
2011-01-16 12:32:57 +00:00
Michael Mathews
97ae97b46f
Added support for @readonly tag.
2011-01-16 12:20:49 +00:00
Michael Mathews
8f5f41f78c
Tests for @augment and @private.
2011-01-16 12:08:23 +00:00
Michael Mathews
b309be6a01
Added support for the @see tag.
2011-01-16 11:49:06 +00:00