ParCompMarkTest::TestRenderer Class Reference

#include <TestRenderer.h>

List of all members.


Detailed Description

Test suite for ParCompMark::Renderer.

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

Definition at line 56 of file TestRenderer.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 ()
 Tests constructor Renderer::Renderer().
void test_constructor_RendererPlugin_p_void_p_OpenGLRenderingEngine_p ()
 Tests constructor Renderer::Renderer(RendererPlugin * rendererPlugin, void * rendererHandle, OpenGLRenderingEngine * parent).
void test_destructor ()
 Tests destructor Renderer::~Renderer().
void test_initialize ()
 Tests method Renderer::initialize().
void test_finalize ()
 Tests method Renderer::finalize().
void test_resize_cu32_cu32 ()
 Tests method Renderer::resize(const u32 width, const u32 height).
void test_getSortOrder ()
 Tests method Renderer::getSortOrder().
void test_render ()
 Tests method Renderer::render().
void test_setMiscParam_cchar_p_cchar_p ()
 Tests method Renderer::setMiscParam(const char * name, const char * value).
void test_setObjectSpaceBoundingBox_cdouble_cdouble_cdouble_cdouble_cdouble_cdouble ()
 Tests method Renderer::setObjectSpaceBoundingBox(const double x0, const double y0, const double z0, const double x1, const double y1, const double z1).
void test_setObjectId_cunsigned ()
 Tests method Renderer::setObjectId(const unsigned objectId).
void test_setScreenSpaceFramelet_cdouble_cdouble_cdouble_cdouble ()
 Tests method Renderer::setScreenSpaceFramelet(const double u0, const double v0, const double u1, const double v1).
void test_registerObjectSpaceBoundingBox_cdouble_cdouble_cdouble_cdouble_cdouble_cdouble ()
 Tests method Renderer::registerObjectSpaceBoundingBox(const double x0, const double y0, const double z0, const double x1, const double y1, const double z1).

Member Function Documentation

void ParCompMarkTest::TestRenderer::setUp (  ) 

Sets up context before running a test.

Definition at line 33 of file TestRenderer.cpp.

void ParCompMarkTest::TestRenderer::tearDown (  ) 

Cleans up after the test run.

Definition at line 39 of file TestRenderer.cpp.

void ParCompMarkTest::TestRenderer::test_constructor (  )  [protected]

Tests constructor Renderer::Renderer().

Definition at line 49 of file TestRenderer.cpp.

void ParCompMarkTest::TestRenderer::test_constructor_RendererPlugin_p_void_p_OpenGLRenderingEngine_p (  )  [protected]

Tests constructor Renderer::Renderer(RendererPlugin * rendererPlugin, void * rendererHandle, OpenGLRenderingEngine * parent).

Definition at line 63 of file TestRenderer.cpp.

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

Tests destructor Renderer::~Renderer().

Definition at line 77 of file TestRenderer.cpp.

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

Tests method Renderer::finalize().

Definition at line 103 of file TestRenderer.cpp.

void ParCompMarkTest::TestRenderer::test_getSortOrder (  )  [protected]

Tests method Renderer::getSortOrder().

Definition at line 131 of file TestRenderer.cpp.

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

Tests method Renderer::initialize().

Definition at line 89 of file TestRenderer.cpp.

void ParCompMarkTest::TestRenderer::test_registerObjectSpaceBoundingBox_cdouble_cdouble_cdouble_cdouble_cdouble_cdouble (  )  [protected]

Tests method Renderer::registerObjectSpaceBoundingBox(const double x0, const double y0, const double z0, const double x1, const double y1, const double z1).

Definition at line 215 of file TestRenderer.cpp.

void ParCompMarkTest::TestRenderer::test_render (  )  [protected]

Tests method Renderer::render().

Definition at line 145 of file TestRenderer.cpp.

void ParCompMarkTest::TestRenderer::test_resize_cu32_cu32 (  )  [protected]

Tests method Renderer::resize(const u32 width, const u32 height).

Definition at line 117 of file TestRenderer.cpp.

void ParCompMarkTest::TestRenderer::test_setMiscParam_cchar_p_cchar_p (  )  [protected]

Tests method Renderer::setMiscParam(const char * name, const char * value).

Definition at line 159 of file TestRenderer.cpp.

void ParCompMarkTest::TestRenderer::test_setObjectId_cunsigned (  )  [protected]

Tests method Renderer::setObjectId(const unsigned objectId).

Definition at line 187 of file TestRenderer.cpp.

void ParCompMarkTest::TestRenderer::test_setObjectSpaceBoundingBox_cdouble_cdouble_cdouble_cdouble_cdouble_cdouble (  )  [protected]

Tests method Renderer::setObjectSpaceBoundingBox(const double x0, const double y0, const double z0, const double x1, const double y1, const double z1).

Definition at line 173 of file TestRenderer.cpp.

void ParCompMarkTest::TestRenderer::test_setScreenSpaceFramelet_cdouble_cdouble_cdouble_cdouble (  )  [protected]

Tests method Renderer::setScreenSpaceFramelet(const double u0, const double v0, const double u1, const double v1).

Definition at line 201 of file TestRenderer.cpp.


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