X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=binding%2Fmdsal-binding-dom-codec%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fmdsal%2Fbinding%2Fdom%2Fcodec%2Fimpl%2FUnionValueOptionContextTest.java;h=a71dbd1313095f0186fe803b2303ab5f01b71288;hb=c4d4ec8b44becb12d2ea0c2a2be8f24994c2b58d;hp=794659b176edb6b937502202f5307dbf1c2e5191;hpb=1a2d7e719b78cd564fe37578cab270372628d096;p=mdsal.git diff --git a/binding/mdsal-binding-dom-codec/src/test/java/org/opendaylight/mdsal/binding/dom/codec/impl/UnionValueOptionContextTest.java b/binding/mdsal-binding-dom-codec/src/test/java/org/opendaylight/mdsal/binding/dom/codec/impl/UnionValueOptionContextTest.java index 794659b176..a71dbd1313 100644 --- a/binding/mdsal-binding-dom-codec/src/test/java/org/opendaylight/mdsal/binding/dom/codec/impl/UnionValueOptionContextTest.java +++ b/binding/mdsal-binding-dom-codec/src/test/java/org/opendaylight/mdsal/binding/dom/codec/impl/UnionValueOptionContextTest.java @@ -25,16 +25,16 @@ public class UnionValueOptionContextTest { final Method methodFoo1 = TestDataObject1.class.getMethod("foo"); final Method methodFoo2 = TestDataObject2.class.getMethod("foo"); TEST_UVOC_1 = new UnionValueOptionContext(TestUnion.class, TestDataObject1.class, methodFoo1, - ValueTypeCodec.NOOP_CODEC); + SchemaUnawareCodec.NOOP_CODEC); TEST_UVOC_2 = new UnionValueOptionContext(TestUnion.class, TestDataObject2.class, methodFoo2, - ValueTypeCodec.NOOP_CODEC); + SchemaUnawareCodec.NOOP_CODEC); } @Test public void hashCodeTest() throws Exception { final Method methodFoo1 = TestDataObject1.class.getMethod("foo"); final UnionValueOptionContext test_uvoc = new UnionValueOptionContext(TestUnion.class, TestDataObject1.class, - methodFoo1, ValueTypeCodec.NOOP_CODEC); + methodFoo1, SchemaUnawareCodec.NOOP_CODEC); assertEquals("HashCode", test_uvoc.hashCode(), TEST_UVOC_1.hashCode()); assertNotEquals("HashCode", TEST_UVOC_1.hashCode(), TEST_UVOC_2.hashCode()); @@ -44,7 +44,7 @@ public class UnionValueOptionContextTest { public void equalsTest() throws Exception { final Method methodFoo1 = TestDataObject1.class.getMethod("foo"); final UnionValueOptionContext test_uvoc = new UnionValueOptionContext(TestUnion.class, TestDataObject1.class, - methodFoo1, ValueTypeCodec.NOOP_CODEC); + methodFoo1, SchemaUnawareCodec.NOOP_CODEC); assertTrue("Equals", TEST_UVOC_1.equals(test_uvoc)); assertFalse("Not equals", TEST_UVOC_1.equals(TEST_UVOC_2));