public abstract class BasePermissionTestCase extends Object
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.model.Group |
group |
protected com.liferay.portal.kernel.security.permission.PermissionChecker |
permissionChecker |
protected com.liferay.portal.kernel.service.ServiceContext |
serviceContext |
protected com.liferay.portal.kernel.model.User |
user |
Constructor and Description |
---|
BasePermissionTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPortletModelViewPermission() |
protected abstract void |
doSetUp() |
protected String |
getPrimKey() |
protected abstract String |
getResourceName() |
protected String |
getRoleName() |
protected void |
removePortletModelViewPermission() |
void |
setUp() |
void |
tearDown() |
@DeleteAfterTestRun protected com.liferay.portal.kernel.model.Group group
protected com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker
protected com.liferay.portal.kernel.service.ServiceContext serviceContext
@DeleteAfterTestRun protected com.liferay.portal.kernel.model.User user