Unify *PatchBodyReader(MountPoint)Tests 03/107503/4
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 25 Aug 2023 15:44:34 +0000 (17:44 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 25 Aug 2023 16:44:52 +0000 (18:44 +0200)
commit80f9002065c8ad49cdfef45658f0768375e8b2f2
tree5d31edaec4d0929d8daf18a686f2d9729ba433e9
parent2c0fab6a9f4d2c36f83d280c57a0e69b8d289944
Unify *PatchBodyReader(MountPoint)Tests

We have thorough duplication of tests here, refactor the class hierarchy
to keep us from duplicating things.

JIRA: NETCONF-1128
Change-Id: I541d708d0e00940cbd703d6dec3dacf2cf30e935
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/AbstractPatchBodyReaderTest.java
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReaderMountPointTest.java
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReaderTest.java
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReaderMountPointTest.java
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReaderTest.java
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/AbstractBodyReaderTest.java