@@ -210,7 +210,8 @@ public void test50545_CC_20130902() throws Exception {
210210 */
211211 ReportAssert .assertCount (1 , CnigErrorCodes .CNIG_METADATA_SPECIFICATION_NOT_FOUND , report );
212212 ReportAssert .assertCount (1 , CnigErrorCodes .CNIG_METADATA_REFERENCESYSTEMIDENTIFIER_URI_NOT_FOUND , report );
213- ReportAssert .assertCount (2 , ErrorLevel .ERROR , report );
213+ ReportAssert .assertCount (1 , CnigErrorCodes .CNIG_TABLE_MISSING_NULLABLE_ATTRIBUTE , report );
214+ ReportAssert .assertCount (1 + 1 + 1 , ErrorLevel .ERROR , report );
214215
215216 /*
216217 * check warnings
@@ -222,9 +223,10 @@ public void test50545_CC_20130902() throws Exception {
222223 /*
223224 * check some infos
224225 */
225- ReportAssert .assertCount (1 , CoreErrorCodes .TABLE_MISSING_NULLABLE_ATTRIBUTE , report );
226+ ReportAssert .assertCount (0 , CoreErrorCodes .TABLE_MISSING_NULLABLE_ATTRIBUTE , report );
227+ ReportAssert .assertCount (1 , CnigErrorCodes .CNIG_TABLE_MISSING_NULLABLE_ATTRIBUTE , report );
226228 {
227- ValidatorError error = report .getErrorsByCode (CoreErrorCodes . TABLE_MISSING_NULLABLE_ATTRIBUTE ).get (0 );
229+ ValidatorError error = report .getErrorsByCode (CnigErrorCodes . CNIG_TABLE_MISSING_NULLABLE_ATTRIBUTE ).get (0 );
228230 assertEquals ("DATECOG" , error .getAttribute ());
229231 }
230232
@@ -325,7 +327,8 @@ public void test19182_CC_20150517() throws Exception {
325327 ReportAssert .assertCount (2 , CoreErrorCodes .ATTRIBUTE_GEOMETRY_INVALID , report );
326328 ReportAssert .assertCount (19 , CoreErrorCodes .ATTRIBUTE_UNEXPECTED_VALUE , report );
327329 ReportAssert .assertCount (1 , CnigErrorCodes .CNIG_GEOMETRY_COMPLEXITY_ERROR , report );
328- ReportAssert .assertCount (1 + 2 + 2 + 19 + 1 , ErrorLevel .ERROR , report );
330+ ReportAssert .assertCount (1 , CnigErrorCodes .CNIG_TABLE_MISSING_NULLABLE_ATTRIBUTE , report );
331+ ReportAssert .assertCount (1 + 2 + 2 + 19 + 1 + 1 , ErrorLevel .ERROR , report );
329332
330333 /*
331334 * check warnings
@@ -760,7 +763,10 @@ public void test30014_PLU_20171013() throws Exception {
760763 ReportAssert .assertCount (0 , CoreErrorCodes .DATABASE_CONSTRAINT_MISMATCH , report );
761764 ReportAssert .assertCount (1 , CoreErrorCodes .TABLE_FOREIGN_KEY_NOT_FOUND , report );
762765 ReportAssert .assertCount (2 , CnigErrorCodes .CNIG_PIECE_ECRITE_ONLY_PDF , report );
763- ReportAssert .assertCount (23 , ErrorLevel .ERROR , report );
766+ ReportAssert .assertCount (6 , CnigErrorCodes .CNIG_TABLE_MISSING_NULLABLE_ATTRIBUTE , report );
767+ ReportAssert .assertCount (1 , CoreErrorCodes .ATTRIBUTE_UNEXPECTED_VALUE , report );
768+ ReportAssert .assertCount (1 , CoreErrorCodes .ATTRIBUTE_FILE_NOT_FOUND , report );
769+ ReportAssert .assertCount (18 + 0 + 1 + 2 + 6 + 1 + 1 , ErrorLevel .ERROR , report );
764770 ReportAssert .assertCount (0 , CnigErrorCodes .CNIG_GENERATEUR_SUP_NOT_FOUND , report );
765771 ReportAssert .assertCount (0 , CnigErrorCodes .CNIG_ASSIETTE_SUP_NOT_FOUND , report );
766772
@@ -825,7 +831,7 @@ public void test30014_PLU_20171013_flatOption() throws Exception {
825831 * check errors
826832 */
827833 ReportAssert .assertCount (0 , CnigErrorCodes .CNIG_PIECE_ECRITE_ONLY_PDF , report );
828- ReportAssert .assertCount (21 , ErrorLevel .ERROR , report );
834+ ReportAssert .assertCount (27 , ErrorLevel .ERROR , report );
829835
830836 /*
831837 * check warnings
@@ -875,7 +881,8 @@ public void test200011781_PLUi_20180101() throws Exception {
875881 */
876882 ReportAssert .assertCount (4 , CoreErrorCodes .ATTRIBUTE_GEOMETRY_INVALID , report );
877883 ReportAssert .assertCount (1 , CoreErrorCodes .ATTRIBUTE_INVALID_REGEXP , report );
878- ReportAssert .assertCount (5 , ErrorLevel .ERROR , report );
884+ ReportAssert .assertCount (1 , CnigErrorCodes .CNIG_TABLE_MISSING_NULLABLE_ATTRIBUTE , report );
885+ ReportAssert .assertCount (4 + 1 + 1 , ErrorLevel .ERROR , report );
879886
880887 /*
881888 * check warnings
0 commit comments