Lines Matching refs:TEST_ASSERT
36 TEST_ASSERT( buf[i] == GUARD_VAL );
37 TEST_ASSERT( buf[GUARD_LEN + buf_len + i] == GUARD_VAL );
42 TEST_ASSERT( (size_t) ret == asn1_len );
43 TEST_ASSERT( p + asn1_len == buf + GUARD_LEN + buf_len );
45 TEST_ASSERT( memcmp( p, asn1, asn1_len ) == 0 );
72 TEST_ASSERT( buf[i] == GUARD_VAL );
73 TEST_ASSERT( buf[GUARD_LEN + buf_len + i] == GUARD_VAL );
78 TEST_ASSERT( (size_t) ret == asn1_len );
79 TEST_ASSERT( p + asn1_len == buf + GUARD_LEN + buf_len );
81 TEST_ASSERT( memcmp( p, asn1, asn1_len ) == 0 );
104 TEST_ASSERT( ret == result );
109 TEST_ASSERT( buf[i] == GUARD_VAL );
110 TEST_ASSERT( buf[GUARD_LEN + buf_len + i] == GUARD_VAL );
115 TEST_ASSERT( (size_t) ret == asn1_len );
116 TEST_ASSERT( p + asn1_len == buf + GUARD_LEN + buf_len );
118 TEST_ASSERT( memcmp( p, asn1, asn1_len ) == 0 );
125 TEST_ASSERT( ret == 0 );
132 TEST_ASSERT( ret == MBEDTLS_ERR_ASN1_OUT_OF_DATA );
134 TEST_ASSERT( read_len == (size_t) len );
135 TEST_ASSERT( p == buf + GUARD_LEN + buf_len );