Class DataGuardTestRuleUtil
Object
com.liferay.portal.kernel.test.rule.DataGuardTestRuleUtil
- Author:
- Matthew Tambara
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidafterClass(DataGuardTestRuleUtil.DataBag dataBag, String testClassName) static voidafterClass(DataGuardTestRuleUtil.DataBag dataBag, String testClassName, boolean autoDelete) static voidafterMethod(DataGuardTestRuleUtil.DataBag dataBag, String testClassName) static voidafterMethod(DataGuardTestRuleUtil.DataBag dataBag, String testClassName, boolean autoDelete) static voidsmartDelete(com.liferay.portal.kernel.service.PersistedModelLocalService persistedModelLocalService, Class<?> modelClass, com.liferay.portal.kernel.model.PersistedModel persistedModel)
-
Constructor Details
-
DataGuardTestRuleUtil
public DataGuardTestRuleUtil()
-
-
Method Details
-
afterClass
public static void afterClass(DataGuardTestRuleUtil.DataBag dataBag, String testClassName) throws Throwable - Throws:
Throwable
-
afterClass
public static void afterClass(DataGuardTestRuleUtil.DataBag dataBag, String testClassName, boolean autoDelete) throws Throwable - Throws:
Throwable
-
afterMethod
public static void afterMethod(DataGuardTestRuleUtil.DataBag dataBag, String testClassName) throws Throwable - Throws:
Throwable
-
afterMethod
public static void afterMethod(DataGuardTestRuleUtil.DataBag dataBag, String testClassName, boolean autoDelete) throws Throwable - Throws:
Throwable
-
beforeClass
-
beforeMethod
-
smartDelete
public static void smartDelete(com.liferay.portal.kernel.service.PersistedModelLocalService persistedModelLocalService, Class<?> modelClass, com.liferay.portal.kernel.model.PersistedModel persistedModel) throws Exception - Throws:
Exception
-