pleyo.com

BALTest Namespace Reference

Unit tests for OWBAL. More...


Classes

class  BALFileComparison
 BAL File Comparison. More...
class  BALFileReader
class  BALFileWriter
struct  HEADER
struct  INFOHEADER

Functions

int WriteRGBA32Bitmap (const std::string &aFileName, const BAL::RGBA32Array &aArray, int aWidth, int aHeight)
 Write a bitmap file, with the given array, width and height.
void GetTemporaryUnexistingFileName (const std::string &aPrefix, const std::string &aSuffix, std::string &aFileName)


Detailed Description

Unit tests for OWBAL.

Function Documentation

int BALTest::WriteRGBA32Bitmap ( const std::string &  aFileName,
const BAL::RGBA32Array aArray,
int  aWidth,
int  aHeight 
)

Write a bitmap file, with the given array, width and height.

void BALTest::GetTemporaryUnexistingFileName ( const std::string &  aPrefix,
const std::string &  aSuffix,
std::string &  aFileName 
)

Get a temporary file name Algorithm takes the prefix and the suffix, with a number between. For instance, if "bitmap" is prefix and ".bmp" is suffix, it tests if /tmp/bitmap1.bmp exists. It increments number up to a file that does not already exist.


Generated on Wed Nov 21 20:04:19 2007 for Origyn Web Browser by Doxygen 1.5.3

pleyo.com
pleyo.com