mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
18 lines
714 B
JavaScript
18 lines
714 B
JavaScript
(function() {
|
|
var docSet = testhelpers.getDocSetFromFile('test/cases/alias2.js'),
|
|
found = docSet.getByLongname('myObject').filter(function($) {
|
|
return ! $.undocumented;
|
|
}),
|
|
|
|
foundMember = docSet.getByLongname('ns.Myclass#myProperty')
|
|
|
|
//dump(found);
|
|
|
|
test('When a symbol is a member of an alias of a nested name it is documented as if the memberof is the nested alias value.', function() {
|
|
assert.equal(foundMember[0].longname, 'ns.Myclass#myProperty');
|
|
assert.equal(foundMember[0].name, 'myProperty');
|
|
assert.equal(foundMember[0].memberof, 'ns.Myclass');
|
|
assert.equal(foundMember[0].scope, 'instance');
|
|
});
|
|
|
|
})(); |