Skip to content

Commit

Permalink
BUG: Incorrect classe references for EXERCISE_BASIC_OBJECT_METHODS.
Browse files Browse the repository at this point in the history
- Wrong superclass object, should be ProcessObject.

- Incorrect class object given. Should be MorphologicalOpeningFeatureGenerator.
  • Loading branch information
mseng10 committed May 4, 2020
1 parent fa1a783 commit bfc4cc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/itkLesionSegmentationMethodTest2.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ itkLesionSegmentationMethodTest2(int itkNotUsed(argc), char * itkNotUsed(argv)[]

MethodType::Pointer segmentationMethod = MethodType::New();

EXERCISE_BASIC_OBJECT_METHODS(segmentationMethod, LesionSegmentationMethod, LightObject);
EXERCISE_BASIC_OBJECT_METHODS(segmentationMethod, LesionSegmentationMethod, ProcessObject);

using ImageMaskSpatialObjectType = itk::ImageMaskSpatialObject<Dimension>;

Expand Down
2 changes: 1 addition & 1 deletion test/itkMorphologicalOpeningFeatureGeneratorTest1.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ itkMorphologicalOpeningFeatureGeneratorTest1(int argc, char * argv[])

FeatureGeneratorType::Pointer featureGenerator = FeatureGeneratorType::New();

EXERCISE_BASIC_OBJECT_METHODS(featureGenerator, MorphologicalOpenningFeatureGenerator, FeatureGenerator);
EXERCISE_BASIC_OBJECT_METHODS(featureGenerator, MorphologicalOpeningFeatureGenerator, FeatureGenerator);

InputImageSpatialObjectType::Pointer inputObject = InputImageSpatialObjectType::New();

Expand Down

0 comments on commit bfc4cc3

Please sign in to comment.