Skip to content

Commit e13fcb3

Browse files
committed
update tests
1 parent 037e48c commit e13fcb3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

modules/openapi-generator/src/test/java/org/openapitools/codegen/java/JavaClientCodegenTest.java

+12-12
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ public void testAnyType() {
685685
Assert.assertEquals(property1.baseName, "any_value");
686686
Assert.assertEquals(property1.dataType, "Object");
687687
Assert.assertTrue(property1.hasMore);
688-
Assert.assertFalse(property1.isPrimitiveType);
688+
Assert.assertTrue(property1.isPrimitiveType);
689689
Assert.assertFalse(property1.isContainer);
690690
Assert.assertFalse(property1.isFreeFormObject);
691691
Assert.assertTrue(property1.isAnyType);
@@ -695,7 +695,7 @@ public void testAnyType() {
695695
Assert.assertEquals(property2.dataType, "Object");
696696
Assert.assertTrue(property2.hasMore);
697697
Assert.assertFalse(property2.required);
698-
Assert.assertFalse(property2.isPrimitiveType);
698+
Assert.assertTrue(property2.isPrimitiveType);
699699
Assert.assertFalse(property2.isContainer);
700700
Assert.assertFalse(property2.isFreeFormObject);
701701
Assert.assertTrue(property2.isAnyType);
@@ -705,7 +705,7 @@ public void testAnyType() {
705705
Assert.assertEquals(property3.dataType, "Object");
706706
Assert.assertFalse(property3.hasMore);
707707
Assert.assertFalse(property3.required);
708-
Assert.assertFalse(property3.isPrimitiveType);
708+
Assert.assertTrue(property3.isPrimitiveType);
709709
Assert.assertFalse(property3.isContainer);
710710
Assert.assertFalse(property3.isFreeFormObject);
711711
Assert.assertTrue(property3.isAnyType);
@@ -720,7 +720,7 @@ public void testAnyType() {
720720
Assert.assertEquals(cp1.dataType, "Object");
721721
Assert.assertTrue(cp1.hasMore);
722722
Assert.assertFalse(cp1.required);
723-
Assert.assertFalse(cp1.isPrimitiveType);
723+
Assert.assertTrue(cp1.isPrimitiveType);
724724
Assert.assertFalse(cp1.isContainer);
725725
Assert.assertFalse(cp1.isFreeFormObject);
726726
Assert.assertTrue(cp1.isAnyType);
@@ -730,7 +730,7 @@ public void testAnyType() {
730730
Assert.assertEquals(cp2.dataType, "Object");
731731
Assert.assertTrue(cp2.hasMore);
732732
Assert.assertFalse(cp2.required);
733-
Assert.assertFalse(cp2.isPrimitiveType);
733+
Assert.assertTrue(cp2.isPrimitiveType);
734734
Assert.assertFalse(cp2.isContainer);
735735
Assert.assertFalse(cp2.isFreeFormObject);
736736
Assert.assertTrue(cp2.isAnyType);
@@ -740,7 +740,7 @@ public void testAnyType() {
740740
Assert.assertEquals(cp3.dataType, "Object");
741741
Assert.assertTrue(cp3.hasMore);
742742
Assert.assertFalse(cp3.required);
743-
Assert.assertFalse(cp3.isPrimitiveType);
743+
Assert.assertTrue(cp3.isPrimitiveType);
744744
Assert.assertFalse(cp3.isContainer);
745745
Assert.assertFalse(cp3.isFreeFormObject);
746746
Assert.assertTrue(cp3.isAnyType);
@@ -751,7 +751,7 @@ public void testAnyType() {
751751
Assert.assertEquals(cp4.dataType, "Map<String, Object>");
752752
Assert.assertTrue(cp4.hasMore);
753753
Assert.assertFalse(cp4.required);
754-
Assert.assertFalse(cp4.isPrimitiveType);
754+
Assert.assertTrue(cp4.isPrimitiveType);
755755
Assert.assertTrue(cp4.isContainer);
756756
Assert.assertTrue(cp4.isMapContainer);
757757
Assert.assertTrue(cp4.isFreeFormObject);
@@ -762,7 +762,7 @@ public void testAnyType() {
762762
Assert.assertEquals(cp5.dataType, "Map<String, Object>");
763763
Assert.assertTrue(cp5.hasMore);
764764
Assert.assertFalse(cp5.required);
765-
Assert.assertFalse(cp5.isPrimitiveType);
765+
Assert.assertTrue(cp5.isPrimitiveType);
766766
Assert.assertTrue(cp5.isContainer);
767767
Assert.assertTrue(cp5.isMapContainer);
768768
Assert.assertTrue(cp5.isFreeFormObject);
@@ -773,7 +773,7 @@ public void testAnyType() {
773773
Assert.assertEquals(cp6.dataType, "Map<String, Object>");
774774
Assert.assertTrue(cp6.hasMore);
775775
Assert.assertFalse(cp6.required);
776-
Assert.assertFalse(cp6.isPrimitiveType);
776+
Assert.assertTrue(cp6.isPrimitiveType);
777777
Assert.assertTrue(cp6.isContainer);
778778
Assert.assertTrue(cp6.isMapContainer);
779779
Assert.assertTrue(cp6.isFreeFormObject);
@@ -785,7 +785,7 @@ public void testAnyType() {
785785
Assert.assertEquals(cp7.dataType, "List<Object>");
786786
Assert.assertTrue(cp7.hasMore);
787787
Assert.assertFalse(cp7.required);
788-
Assert.assertFalse(cp7.isPrimitiveType);
788+
Assert.assertTrue(cp7.isPrimitiveType);
789789
Assert.assertTrue(cp7.isContainer);
790790
Assert.assertTrue(cp7.isListContainer);
791791
Assert.assertFalse(cp7.isFreeFormObject);
@@ -796,7 +796,7 @@ public void testAnyType() {
796796
Assert.assertEquals(cp8.dataType, "List<Object>");
797797
Assert.assertTrue(cp8.hasMore);
798798
Assert.assertFalse(cp8.required);
799-
Assert.assertFalse(cp8.isPrimitiveType);
799+
Assert.assertTrue(cp8.isPrimitiveType);
800800
Assert.assertTrue(cp8.isContainer);
801801
Assert.assertTrue(cp8.isListContainer);
802802
Assert.assertFalse(cp8.isFreeFormObject);
@@ -807,7 +807,7 @@ public void testAnyType() {
807807
Assert.assertEquals(cp9.dataType, "List<Object>");
808808
Assert.assertFalse(cp9.hasMore);
809809
Assert.assertFalse(cp9.required);
810-
Assert.assertFalse(cp9.isPrimitiveType);
810+
Assert.assertTrue(cp9.isPrimitiveType);
811811
Assert.assertTrue(cp9.isContainer);
812812
Assert.assertTrue(cp9.isListContainer);
813813
Assert.assertFalse(cp9.isFreeFormObject);

0 commit comments

Comments
 (0)