@@ -363,7 +363,7 @@ function testSubgroupUntypedDatasetWithWrongType(testCase)
363363 subGroup .set(' untyped_text_data' , 2 );
364364 testCase .verifyWarning(...
365365 @() types .dt .NestedDataTypeContainer(' subgroup' , subGroup ), ...
366- ' NWB:Set:FailedValidation ' )
366+ ' NWB:Set:InvalidEntry ' )
367367 end
368368
369369 function testSubgroupTypedDatasetWithCorrectType(testCase )
@@ -379,7 +379,7 @@ function testSubgroupTypedDatasetWithWrongType(testCase)
379379 subGroup .set(' any_data' , types .hdmf_common .VectorData(' data' , 1 ));
380380 testCase .verifyWarning(...
381381 @() types .dt .NestedDataTypeContainer(' subgroup' , subGroup ), ...
382- ' NWB:Set:FailedValidation ' )
382+ ' NWB:Set:InvalidEntry ' )
383383 end
384384
385385 function testSubgroupConstrainedDatasetWithCorrectType(testCase )
@@ -397,7 +397,7 @@ function testSubgroupConstrainedDatasetWithWrongType(testCase)
397397 subGroup .set(' constrained' , types .dt .AnyData(' data' , 1 ));
398398 testCase .verifyWarning(...
399399 @() types .dt .NestedDataTypeContainer(' subgroup' , subGroup ), ...
400- ' NWB:Set:FailedValidation ' )
400+ ' NWB:Set:InvalidEntry ' )
401401 end
402402
403403 function testSubgroupAttributeWithCorrectType(testCase )
@@ -413,7 +413,7 @@ function testSubgroupAttributeWithWrongType(testCase)
413413 subGroup .set(' description' , 1 );
414414 testCase .verifyWarning(...
415415 @() types .dt .NestedDataTypeContainer(' subgroup' , subGroup ), ...
416- ' NWB:Set:FailedValidation ' )
416+ ' NWB:Set:InvalidEntry ' )
417417 end
418418
419419 function testSubgroupLinkWithCorrectType(testCase )
@@ -431,7 +431,7 @@ function testSubgroupLinkWithWrongType(testCase)
431431 subGroup .set(' subgroup_link' , types .untyped .SoftLink(invalidLinkedDataset ));
432432 testCase .verifyWarning(...
433433 @() types .dt .NestedDataTypeContainer(' subgroup' , subGroup ), ...
434- ' NWB:Set:FailedValidation ' )
434+ ' NWB:Set:InvalidEntry ' )
435435 end
436436
437437 function testNestedSubgroupWithCorrectType(testCase )
@@ -446,7 +446,7 @@ function testNestedSubgroupWithWrongType(testCase)
446446 subGroup .set(' nested_subgroup' , types .core .TimeSeries );
447447 testCase .verifyWarning(...
448448 @() types .dt .NestedDataTypeContainer(' subgroup' , subGroup ), ...
449- ' NWB:Set:FailedValidation ' )
449+ ' NWB:Set:InvalidEntry ' )
450450 end
451451
452452 function testNestedConstrainedSubgroupWithCorrectType(testCase )
@@ -461,7 +461,7 @@ function testNestedConstrainedSubgroupWithWrongType(testCase)
461461 subGroup .set(' nested_constrained_subgroup' , types .hdmf_common .DynamicTable());
462462 testCase .verifyWarning(...
463463 @() types .dt .NestedDataTypeContainer(' subgroup' , subGroup ), ...
464- ' NWB:Set:FailedValidation ' )
464+ ' NWB:Set:InvalidEntry ' )
465465 end
466466 end
467467end
0 commit comments