Reference Source Test

test/integration-test/src/Access/Variable.test.js

import assert from 'assert';
import {find} from '../../util';

describe('test/Access/Variable:', ()=>{
  it('is public', ()=>{
    const doc = find('longname', 'src/Access/Variable.js~testAccessVariablePublic');
    assert.equal(doc.access, 'public');
  });

  it('is protected', ()=>{
    const doc = find('longname', 'src/Access/Variable.js~testAccessVariableProtected');
    assert.equal(doc.access, 'protected');
  });

  it('is private', ()=>{
    const doc = find('longname', 'src/Access/Variable.js~testAccessVariablePrivate');
    assert.equal(doc.access, 'private');
  });
});