#include "test_def.h"
#include "lwip/def.h"
Go to the source code of this file.
◆ GUARD_SIZE
◆ MAGIC_UNTOUCHED_BYTE
#define MAGIC_UNTOUCHED_BYTE 0x7a |
◆ TEST_BUFSIZE
◆ def_check_range_untouched()
Definition at line 22 of file test_def.c.
23{
25
26 for (
i = 0;
i <
len;
i++) {
28 }
29}
GLenum GLuint GLenum GLsizei const GLchar * buf
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
#define MAGIC_UNTOUCHED_BYTE
Referenced by test_def_itoa().
◆ def_setup()
◆ def_suite()
END_TEST Suite * def_suite |
( |
void |
| ) |
|
Create the suite including all tests for this module
Definition at line 78 of file test_def.c.
79{
82 };
84}
Suite * create_suite(const char *name, testfunc *tests, size_t num_tests, SFun setup, SFun teardown)
static struct test_info tests[]
static void def_teardown(void)
static void def_setup(void)
Referenced by main().
◆ def_teardown()
◆ START_TEST()
START_TEST |
( |
test_def_lwip_itoa |
| ) |
|
Definition at line 61 of file test_def.c.
62{
64
73}
#define LWIP_UNUSED_ARG(x)
static void test_def_itoa(int number, const char *expected)
◆ test_def_itoa()
Definition at line 31 of file test_def.c.
32{
35
38
42 fail_unless(test_buf[exp_len] == 0);
45
46
51
52
56 fail_unless(test_buf[exp_len] == 0);
59}
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
ACPI_SIZE strlen(const char *String)
void lwip_itoa(char *result, size_t bufsize, int number)
static unsigned int number
static void def_check_range_untouched(const char *buf, size_t len)
Referenced by START_TEST().