Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
config-manager: final parameters
[controller.git]
/
opendaylight
/
config
/
config-manager
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
config
/
manager
/
testingservices
/
scheduledthreadpool
/
test
/
TwoInterfacesExportTest.java
diff --git
a/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/test/TwoInterfacesExportTest.java
b/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/test/TwoInterfacesExportTest.java
index 0e6a54fdc9b1b9cee4d74fda75fa8154db8a9866..2a7876255fed3c1f6a492472cdd113b4c6de0b2f 100644
(file)
--- a/
opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/test/TwoInterfacesExportTest.java
+++ b/
opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/test/TwoInterfacesExportTest.java
@@
-64,14
+64,14
@@
public class TwoInterfacesExportTest extends AbstractScheduledTest {
try {
transaction.lookupConfigBean(moduleName, instanceName);
fail();
try {
transaction.lookupConfigBean(moduleName, instanceName);
fail();
- } catch (InstanceNotFoundException e) {
+ } catch (
final
InstanceNotFoundException e) {
}
} else {
try {
configRegistryClient.lookupConfigBean(moduleName, instanceName);
fail();
}
} else {
try {
configRegistryClient.lookupConfigBean(moduleName, instanceName);
fail();
- } catch (InstanceNotFoundException e) {
+ } catch (
final
InstanceNotFoundException e) {
}
}
}
}
@@
-139,7
+139,7
@@
public class TwoInterfacesExportTest extends AbstractScheduledTest {
transaction.createModule(
TestingScheduledThreadPoolModuleFactory.NAME, scheduled1);
fail();
transaction.createModule(
TestingScheduledThreadPoolModuleFactory.NAME, scheduled1);
fail();
- } catch (InstanceAlreadyExistsException e) {
+ } catch (
final
InstanceAlreadyExistsException e) {
assertThat(
e.getMessage(),
containsString("There is an instance registered with name ModuleIdentifier{factoryName='scheduled', instanceName='scheduled1'}"));
assertThat(
e.getMessage(),
containsString("There is an instance registered with name ModuleIdentifier{factoryName='scheduled', instanceName='scheduled1'}"));