From fd3287187e487d8b0789484def296074e985b7cb Mon Sep 17 00:00:00 2001 From: Serban Jora Date: Tue, 10 Apr 2018 15:33:46 -0400 Subject: Add more unit testing Unit testing for kwalify parser and validator and for domain model representation. Fix oparent reference in pom in datse format in docker image tag. Change-Id: Icca11ae7fc773cae3de910acb10fcacd51b909a4 Signed-off-by: Serban Jora Issue-ID: MODELING-53 Signed-off-by: Serban Jora --- .../src/test/resources/validateMapOfSeqSchema.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 javatoscachecker/kwalify/src/test/resources/validateMapOfSeqSchema.yml (limited to 'javatoscachecker/kwalify/src/test/resources/validateMapOfSeqSchema.yml') diff --git a/javatoscachecker/kwalify/src/test/resources/validateMapOfSeqSchema.yml b/javatoscachecker/kwalify/src/test/resources/validateMapOfSeqSchema.yml new file mode 100644 index 0000000..7868fc2 --- /dev/null +++ b/javatoscachecker/kwalify/src/test/resources/validateMapOfSeqSchema.yml @@ -0,0 +1,20 @@ +type: map +mapping: + company: + type: str + required: yes + email: + type: str + employees: + type: seq + sequence: + - type: map + mapping: + code: + type: int + required: yes + name: + type: str + required: yes + email: + type: str -- cgit 1.2.3-korg