mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
git-svn-id: https://jsdoc.googlecode.com/svn/trunk/@17 d5942f49-e6af-b5c1-9d01-85772c7ca168
14 lines
593 B
JavaScript
14 lines
593 B
JavaScript
(function() {
|
|
var docSet = testhelpers.getDocSetFromFile('test/cases/lends.js'),
|
|
init = docSet.getByLongname('Person#initialize'),
|
|
say = docSet.getByLongname('Person#say'),
|
|
name = docSet.getByLongname('Person#say');
|
|
|
|
//dump(docSet);
|
|
|
|
test('When a documented member is inside an objlit associated with a @lends tag.', function() {
|
|
assert.equal(init.length, 1, 'The member should be documented as a member of the lendee.');
|
|
assert.equal(name.length, 1, 'The this member should be documented as a member of the lendee.');
|
|
});
|
|
|
|
})(); |