Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Apply style rules on whole sal-rest-connector
[controller.git]
/
opendaylight
/
md-sal
/
sal-rest-connector
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
sal
/
restconf
/
impl
/
cnsn
/
to
/
json
/
test
/
CnSnToJsonLeafrefType.java
diff --git
a/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/cnsn/to/json/test/CnSnToJsonLeafrefType.java
b/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/cnsn/to/json/test/CnSnToJsonLeafrefType.java
index 21a46a6cc32b60de0e3db3c9c74e71c96e5385ec..6e41dcb57769b6fd633edb2bea9ea0ede1c9014a 100644
(file)
--- a/
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/cnsn/to/json/test/CnSnToJsonLeafrefType.java
+++ b/
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/cnsn/to/json/test/CnSnToJsonLeafrefType.java
@@
-13,9
+13,7
@@
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
-
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.WebApplicationException;
-
import org.junit.BeforeClass;
import org.junit.Test;
import org.opendaylight.controller.sal.rest.impl.StructuredDataToJsonProvider;
import org.junit.BeforeClass;
import org.junit.Test;
import org.opendaylight.controller.sal.rest.impl.StructuredDataToJsonProvider;
@@
-50,8
+48,8
@@
public class CnSnToJsonLeafrefType extends YangAndXmlAndDataSchemaLoader {
}
/**
}
/**
- * Tests case when reference to not existing element is present. In this
- *
case value from single node is printed as
string.
+ * Tests case when reference to not existing element is present. In this
case value from single node is printed as
+ * string.
*/
@Test
public void leafrefToNonExistingLeafTest() {
*/
@Test
public void leafrefToNonExistingLeafTest() {
@@
-60,8
+58,7
@@
public class CnSnToJsonLeafrefType extends YangAndXmlAndDataSchemaLoader {
}
/**
}
/**
- * Tests case when non leaf element is referenced. In this case value from
- * single node is printed as string.
+ * Tests case when non leaf element is referenced. In this case value from single node is printed as string.
*/
@Test
public void leafrefToNotLeafTest() {
*/
@Test
public void leafrefToNotLeafTest() {