144145146147148149150151
assertEquals(visibility, actual); } public void testAccessGlobal() throws Exception { this.access = new DefinitionAccessImpl(null, "global"); DefinitionAccess actual = buildDefinition().getAccess(); assertTrue(actual.isGlobal()); }
150151152153154155156157
assertTrue(actual.isGlobal()); } public void testAccessGlobalDynamic() throws Exception { this.access = new DefinitionAccessImpl(null, "org.auraframework.test.TestAccessMethods.allowGlobal"); DefinitionAccess actual = buildDefinition().getAccess(); assertTrue(actual.isGlobal()); }
156157158159160161162163
assertTrue(actual.isGlobal()); } public void testAccessDefault() throws Exception { this.access = DefinitionAccessImpl.defaultAccess(null); DefinitionAccess actual = buildDefinition().getAccess(); assertTrue(actual.isPublic()); }