From f5f5e6be4e7d222a7530b96d2d77ed611934822f Mon Sep 17 00:00:00 2001 From: emaclee Date: Fri, 15 Jul 2022 12:31:46 +0100 Subject: Groovy clean tests clean-up - test labels are modified to set standards for writing tests - labels are not expected to be technical - labels need to be in simple language that ANYONE can understand - labels should not have exact method names except for some mocking - variables are modified to give highlight to ONLY important parameter of test - wild cards are preferred when possible i.e. for exception cases Issue-ID: CPS-588 Signed-off-by: emaclee Change-Id: I3d42471e7aa4bc61f962ad19cc1f237f6985a9a2 --- src/test/resources/GetModules.json | 17 ----------------- src/test/resources/moduleResources.json | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 src/test/resources/GetModules.json create mode 100644 src/test/resources/moduleResources.json (limited to 'src/test/resources') diff --git a/src/test/resources/GetModules.json b/src/test/resources/GetModules.json deleted file mode 100644 index 57f5aefd..00000000 --- a/src/test/resources/GetModules.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "modules": [ - { - "name": "ietf-yang-library", - "revision": "2016-06-21" - }, - { - "name": "nc-notifications", - "revision": "2008-07-14" - } - ] - }, - "cmHandleProperties": { - "subsystemId": "system-001" - } -} diff --git a/src/test/resources/moduleResources.json b/src/test/resources/moduleResources.json new file mode 100644 index 00000000..57f5aefd --- /dev/null +++ b/src/test/resources/moduleResources.json @@ -0,0 +1,17 @@ +{ + "data": { + "modules": [ + { + "name": "ietf-yang-library", + "revision": "2016-06-21" + }, + { + "name": "nc-notifications", + "revision": "2008-07-14" + } + ] + }, + "cmHandleProperties": { + "subsystemId": "system-001" + } +} -- cgit 1.2.3-korg