ReactOS  0.4.15-dev-3203-gacde1e0
RawriterTest Class Reference
Inheritance diagram for RawriterTest:
Collaboration diagram for RawriterTest:

Protected Member Functions

void rawiter1 ()
 

Private Member Functions

 CPPUNIT_TEST_SUITE (RawriterTest)
 
 CPPUNIT_TEST (rawiter1)
 
 CPPUNIT_TEST_SUITE_END ()
 

Detailed Description

Definition at line 26 of file rawriter_test.cpp.

Member Function Documentation

◆ CPPUNIT_TEST()

RawriterTest::CPPUNIT_TEST ( rawiter1  )
private

◆ CPPUNIT_TEST_SUITE()

RawriterTest::CPPUNIT_TEST_SUITE ( RawriterTest  )
private

◆ CPPUNIT_TEST_SUITE_END()

RawriterTest::CPPUNIT_TEST_SUITE_END ( )
private

◆ rawiter1()

void RawriterTest::rawiter1 ( )
protected

Definition at line 41 of file rawriter_test.cpp.

42 {
44  typedef X* x_pointer;
45  x_pointer save_p, p;
46  p = a.allocate(5);
47  save_p=p;
49  int i;
50  for(i = 0; i < 5; i++)
51  *r++ = X(i);
52 
53  CPPUNIT_ASSERT(*p++ == 0);
54  CPPUNIT_ASSERT(*p++ == 1);
55  CPPUNIT_ASSERT(*p++ == 2);
56  CPPUNIT_ASSERT(*p++ == 3);
57  CPPUNIT_ASSERT(*p++ == 4);
58 
59 //#if defined (STLPORT) || defined (__GNUC__)
60  a.deallocate(save_p, 5);
61 /*
62 #else
63  a.deallocate(save_p);
64 #endif
65 */
66 }
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
#define a
Definition: ke_i.h:78
#define CPPUNIT_ASSERT(X)
Definition: cppunit_mini.h:200
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
GLfloat GLfloat p
Definition: glext.h:8902
#define X(b, s)

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