ParCompMarkTest::TestXDisplay Class Reference

#include <TestXDisplay.h>

List of all members.


Detailed Description

Test suite for ParCompMark::XDisplay.

This is a CppUnit test suite for class ParCompMark::XDisplay of project ParCompMark.

Definition at line 56 of file TestXDisplay.h.


Public Member Functions

void setUp ()
 Sets up context before running a test.
void tearDown ()
 Cleans up after the test run.

Protected Member Functions

void test_constructor_cstd__string ()
 Tests constructor XDisplay::XDisplay(const std::string &displayName = ).
void test_destructor ()
 Tests destructor XDisplay::~XDisplay().
void test_errorHandler_Display_p_XErrorEvent_p ()
 Tests method XDisplay::errorHandler(Display * display, XErrorEvent * errorEvent).
void test_initialize ()
 Tests method XDisplay::initialize().
void test_finalize ()
 Tests method XDisplay::finalize().
void test_synchronize_cbool ()
 Tests method XDisplay::synchronize(const bool &discard = false).
void test_findBestVisual_cs32_cs32 ()
 Tests method XDisplay::findBestVisual(const s32 &screenNumber, const s32 &multiSample = XDisplay::IGNOREMULTISAMPLE).
void test_getVisualAttribs_XVisualInfo_p_VisualAttribs ()
 Tests method XDisplay::getVisualAttribs(XVisualInfo * vInfo, VisualAttribs &attribs).
void test_initializeMT ()
 Tests method XDisplay::initializeMT().

Member Function Documentation

void ParCompMarkTest::TestXDisplay::setUp (  ) 

Sets up context before running a test.

Definition at line 35 of file TestXDisplay.cpp.

void ParCompMarkTest::TestXDisplay::tearDown (  ) 

Cleans up after the test run.

Definition at line 59 of file TestXDisplay.cpp.

void ParCompMarkTest::TestXDisplay::test_constructor_cstd__string (  )  [protected]

Tests constructor XDisplay::XDisplay(const std::string &displayName = ).

Definition at line 69 of file TestXDisplay.cpp.

References ParCompMark::Pointer< T, Lock >::kill().

Here is the call graph for this function:

void ParCompMarkTest::TestXDisplay::test_destructor (  )  [protected]

Tests destructor XDisplay::~XDisplay().

Definition at line 89 of file TestXDisplay.cpp.

void ParCompMarkTest::TestXDisplay::test_errorHandler_Display_p_XErrorEvent_p (  )  [protected]

Tests method XDisplay::errorHandler(Display * display, XErrorEvent * errorEvent).

Definition at line 100 of file TestXDisplay.cpp.

void ParCompMarkTest::TestXDisplay::test_finalize (  )  [protected]

Tests method XDisplay::finalize().

Definition at line 152 of file TestXDisplay.cpp.

void ParCompMarkTest::TestXDisplay::test_findBestVisual_cs32_cs32 (  )  [protected]

Tests method XDisplay::findBestVisual(const s32 &screenNumber, const s32 &multiSample = XDisplay::IGNOREMULTISAMPLE).

Definition at line 192 of file TestXDisplay.cpp.

void ParCompMarkTest::TestXDisplay::test_getVisualAttribs_XVisualInfo_p_VisualAttribs (  )  [protected]

Tests method XDisplay::getVisualAttribs(XVisualInfo * vInfo, VisualAttribs &attribs).

Definition at line 222 of file TestXDisplay.cpp.

void ParCompMarkTest::TestXDisplay::test_initialize (  )  [protected]

Tests method XDisplay::initialize().

Definition at line 132 of file TestXDisplay.cpp.

void ParCompMarkTest::TestXDisplay::test_initializeMT (  )  [protected]

Tests method XDisplay::initializeMT().

Definition at line 257 of file TestXDisplay.cpp.

void ParCompMarkTest::TestXDisplay::test_synchronize_cbool (  )  [protected]

Tests method XDisplay::synchronize(const bool &discard = false).

Definition at line 166 of file TestXDisplay.cpp.


The documentation for this class was generated from the following files: