Code Review
/
netconf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed wrong exception types
[netconf.git]
/
restconf
/
restconf-nb-rfc8040
/
src
/
test
/
java
/
org
/
opendaylight
/
restconf
/
nb
/
rfc8040
/
services
/
simple
/
impl
/
RestconfSchemaServiceTest.java
diff --git
a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/services/simple/impl/RestconfSchemaServiceTest.java
b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/services/simple/impl/RestconfSchemaServiceTest.java
index 667925bfaf729453097519294aa51de87ba39663..c711cdd4ca2a133ded9440e3052b3e8b74ad8684 100644
(file)
--- a/
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/services/simple/impl/RestconfSchemaServiceTest.java
+++ b/
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/services/simple/impl/RestconfSchemaServiceTest.java
@@
-418,7
+418,7
@@
public class RestconfSchemaServiceTest {
when(this.mockContextHandler.get()).thenReturn(this.schemaContextWithMountPoints);
// make test
when(this.mockContextHandler.get()).thenReturn(this.schemaContextWithMountPoints);
// make test
- this.thrown.expect(
IllegalArgument
Exception.class);
+ this.thrown.expect(
RestconfDocumented
Exception.class);
this.schemaService.getSchema(NOT_EXISTING_MOUNT_POINT + TEST_MODULE_BEHIND_MOUNT_POINT);
}
}
this.schemaService.getSchema(NOT_EXISTING_MOUNT_POINT + TEST_MODULE_BEHIND_MOUNT_POINT);
}
}