| | |
| | | throws Exception |
| | | { |
| | | Set<PluginType> pluginTypes = getPluginTypes(e); |
| | | assertTrue(!pluginTypes.isEmpty()); |
| | | assertFalse(pluginTypes.isEmpty()); |
| | | |
| | | AttributeCleanupPluginCfg config = |
| | | AdminTestCaseUtils.getConfiguration( |
| | |
| | | throws ConfigException, InitializationException |
| | | { |
| | | Set<PluginType> pluginTypes = getPluginTypes(e); |
| | | assertTrue(!pluginTypes.isEmpty()); |
| | | assertFalse(pluginTypes.isEmpty()); |
| | | |
| | | AttributeCleanupPluginCfg config = |
| | | AdminTestCaseUtils.getConfiguration( |
| | |
| | | */ |
| | | PluginResult.PreParse res = plugin.doPreParse(modifyOperation); |
| | | assertFalse(res.continueProcessing()); |
| | | assertTrue(res.getResultCode() == ResultCode.SUCCESS); |
| | | assertSame(res.getResultCode(), ResultCode.SUCCESS); |
| | | |
| | | plugin.finalizePlugin(); |
| | | |
| | |
| | | */ |
| | | plugin.doPreParse(modifyOperation); |
| | | |
| | | assertTrue(modifyOperation.getRawModifications().size() == 2); |
| | | assertEquals(modifyOperation.getRawModifications().size(), 2); |
| | | |
| | | rawMods = modifyOperation.getRawModifications(); |
| | | assertNotNull(rawMods); |