lib.tests
Class TestString_s
CxxTest::TestSuite
|
+--TestString_s
in test_secure_crt.h
- class TestString_s
- extends CxxTest::TestSuite
Field Summary |
private char[ 1 ] |
d1
|
private char[ 10 ] |
d10
|
private char[ 11 ] |
d11
|
private char[ 2 ] |
d2
|
private char[ 3 ] |
d3
|
private char[ 5 ] |
d5
|
private char[ 6 ] |
d6
|
private char[ 7 ] |
no_null
|
private const char* const |
s0
|
private const char* const |
s1
|
private const char* const |
s10
|
private const char* const |
s5
|
Method Summary |
private static void |
TEST_CAT( char* dst, size_t max_dst_chars, const char* src, int expected_ret, const char* expected_dst )
|
private static void |
TEST_CAT2( char* dst, size_t max_dst_chars, const char* src, const char* dst_val, int expected_ret, const char* expected_dst )
|
void |
test_concatenate()
|
void |
test_copy()
|
private static void |
TEST_CPY( char* dst, size_t dst_max, const char* src, int expected_ret, const char* expected_dst )
|
private static void |
TEST_CPY2( char* dst, size_t max_dst_chars, const char* src, int expected_ret, const char* expected_dst )
|
private static void |
TEST_LEN( const char* string, size_t limit, size_t expected_len )
|
void |
test_length()
|
private static void |
TEST_NCAT( char* dst, size_t max_dst_chars, const char* src, size_t max_src_chars, const char* dst_val, int expected_ret, const char* expected_dst )
|
private static void |
TEST_NCPY( char* dst, size_t max_dst_chars, const char* src, size_t max_src_chars, int expected_ret, const char* expected_dst )
|
void |
test_param_validation()
|
d1
private char d1[ 1 ];
d10
private char d10[ 10 ];
d11
private char d11[ 11 ];
d2
private char d2[ 2 ];
d3
private char d3[ 3 ];
d5
private char d5[ 5 ];
d6
private char d6[ 6 ];
no_null
private char no_null[ 7 ];
s0
private const char* const s0;
s1
private const char* const s1;
s10
private const char* const s10;
s5
private const char* const s5;
TestString_s
public TestString_s();
TEST_CAT
private static void TEST_CAT( char* dst, size_t max_dst_chars, const char* src, int expected_ret, const char* expected_dst );
TEST_CAT2
private static void TEST_CAT2( char* dst, size_t max_dst_chars, const char* src, const char* dst_val, int expected_ret, const char* expected_dst );
test_concatenate
public void test_concatenate();
test_copy
public void test_copy();
TEST_CPY
private static void TEST_CPY( char* dst, size_t dst_max, const char* src, int expected_ret, const char* expected_dst );
TEST_CPY2
private static void TEST_CPY2( char* dst, size_t max_dst_chars, const char* src, int expected_ret, const char* expected_dst );
TEST_LEN
private static void TEST_LEN( const char* string, size_t limit, size_t expected_len );
test_length
public void test_length();
TEST_NCAT
private static void TEST_NCAT( char* dst, size_t max_dst_chars, const char* src, size_t max_src_chars, const char* dst_val, int expected_ret, const char* expected_dst );
TEST_NCPY
private static void TEST_NCPY( char* dst, size_t max_dst_chars, const char* src, size_t max_src_chars, int expected_ret, const char* expected_dst );
test_param_validation
public void test_param_validation();