Photo_Editor_Application.UnitTest Class
Summary description for UnitTest.

Access: Public
Base Classes: Object
  Members Description  
    UnitTest Constructor for unit test class.

 
    Init Test set up method.

 
    TestImage    
    amIPassed    
    Destroy Tear down method for test case.

 
    LoadandSaveImageTest Test for F:image_load_and_save. Windows standrad dialogs are used so really tested is only if the default image loaded has the dimensions that are expected!

 
    ImageCropTest Test for F:image_crop. Crops the default image and sees if dimensions are changing accordingly!

 
    ImageRotateTest Test for F:image_rotate. Tests different rotations by verifying the dimensions after rotation.

 
    ImageFlipTest Test for F:image_flip. Flips the image and checks if the dimensions are changing accordingly.

 
    LineTest Test for F:image_graphics_annotations. Sets the start and end point and checks they were set correctly. Also checks if picking is done correctly.

 
    RectangleTest Test for F:image_graphics_annotations. Sets the start and end point and checks they were set correctly. Also checks if picking is done correctly.

 
    CircleTest Test for F:image_graphics_annotations. Sets the start and end point and checks the coordinates were set correctly. Also checks if picking is done correctly.

 
    TextTest Test for F:image_graphics_annotations. Sets the text, start and end point and checks if they were set correctly. Also checks if picking is done correctly.

 
    PictureListTest Test for F:image_graphics_annotations. Creates GraphicsComponents, puts them in the list and removes them to check if list is handeled correctly.

 
    CoordTrafoTest Test for F:image_graphics_annotations. Sets the start point and checks the coordinate transformation.

 
    RectFrameTest Test for F:image_graphics_special_effects. Sets the start and end point and checks they were set correctly. Also checks if picking is done correctly and if the static pen in the GraphicsComponent is set correctly.

 
    EllipseFrameTest Test for F:image_graphics_special_effects. Sets the start and end point and checks the coordinates were set correctly. Also checks if picking is done correctly and if the static pen in the GraphicsComponent is set correctly.

 
    ContrastPlugInTest Test for F:image_contrast_and_color. Checks whether the contrast plugin can be loaded at runtime and if the calculation is correctly performed on the image.

 
    ColorPlugInTest Test for F:image_contrast_and_color. Checks whether the color plug in can be loaded at runtime and whether the calculation is correctly performed on the image.

 
    RedEyePlugInTest Test for F:image_special_efects. Checks whether the red eye plug in can be loaded at runtime and whether the calculation is correctly performed on the image.

 
    BrightnessPlugInTest Test for F:image_brightness. Checks whether the brightness plug in can be loaded at runtime and whether the calculation is correctly performed on the image.