Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

APITests Class Reference

#include <APITests.h>

Inheritance diagram for APITests:

Inheritance graph
[legend]
Collaboration diagram for APITests:

Collaboration graph
[legend]
List of all members.

Public Methods

void testBasicOperations (int width, int height)
void testAPI ()
void testFormatQueries ()
void testMemory ()

Static Public Methods

Test * suite ()

Member Function Documentation

void APITests::testBasicOperations int    width,
int    height
 

Definition at line 5 of file APITests.cpp.

References ImageTestCase::AssertImagesEqual(), corona::CA_X, corona::CA_Y, corona::CloneImage(), corona::FlipImage(), corona::hidden::format, corona::hidden::height, corona::hidden::image, corona::PF_R8G8B8, corona::PF_R8G8B8A8, corona::PixelFormat, and corona::hidden::pixels.

Referenced by testAPI().

void APITests::testAPI  
 

Definition at line 108 of file APITests.cpp.

References testBasicOperations().

Referenced by suite().

void APITests::testFormatQueries  
 

Definition at line 184 of file APITests.cpp.

References corona::GetPaletteSize(), corona::GetPixelSize(), corona::IsDirect(), corona::IsPalettized(), corona::PF_B8G8R8, corona::PF_B8G8R8A8, corona::PF_DONTCARE, corona::PF_I8, corona::PF_R8G8B8, and corona::PF_R8G8B8A8.

Referenced by suite().

void APITests::testMemory  
 

Definition at line 229 of file APITests.cpp.

References corona::CA_X, corona::ConvertImage(), corona::ConvertPalette(), corona::FlipImage(), corona::hidden::image, corona::PF_I8, corona::PF_R8G8B8, and corona::PF_R8G8B8A8.

Referenced by suite().

Test * APITests::suite   [static]
 

Definition at line 282 of file APITests.cpp.

References suite(), testAPI(), testFormatQueries(), and testMemory().

Referenced by main(), and suite().


The documentation for this class was generated from the following files:
Generated on Thu Oct 2 13:00:05 2003 for corona by doxygen1.3-rc1