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.