Lines Matching full:should
34 /* Function should allow to add credentials of different types in test_credential_add()
47 /* Try to register another credential - should not have memory for that in test_credential_add()
51 zassert_equal(ret, -ENOMEM, "Should have failed with ENOMEM"); in test_credential_add()
56 zassert_equal(ret, -EEXIST, "Should have failed with EEXIST"); in test_credential_add()
86 zassert_equal(ret, -ENOENT, "Should have failed with ENOENT"); in test_credential_get()
92 zassert_equal(ret, -EFBIG, "Should have failed with EFBIG"); in test_credential_get()
104 /* Non-existing credential should return NULL */ in test_credential_internal_iterate()
106 zassert_is_null(key, "Should have return NULL for unknown credential"); in test_credential_internal_iterate()
110 zassert_not_null(cert, "Should have find a credential"); in test_credential_internal_iterate()
113 zassert_not_null(key, "Should have find a credential"); in test_credential_internal_iterate()
139 /* Iteration after getting last credential should return NULL */ in test_credential_internal_iterate()
141 zassert_is_null(key, "Should have return NULL after last credential"); in test_credential_internal_iterate()
155 /* Should fail if when trying to remove non-existing credential. */ in test_credential_delete()
157 zassert_equal(ret, -ENOENT, "Should have failed with ENOENT"); in test_credential_delete()
159 /* Should remove existing credential. */ in test_credential_delete()
166 zassert_equal(ret, -ENOENT, "Should have failed with ENOENT"); in test_credential_delete()