]>
git.ipfire.org Git - thirdparty/strongswan.git/blob - src/libstrongswan/tests/suites/test_vectors.c
2 * Copyright (C) 2013 Martin Willi
3 * Copyright (C) 2013 revosec AG
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 #include "test_suite.h"
18 /*******************************************************************************
19 * Check if test vectors have been successful during transform registration
22 START_TEST(test_vectors
)
24 fail_if(lib
->crypto
->get_test_vector_failures(lib
->crypto
));
29 Suite
*vectors_suite_create()
34 s
= suite_create("vectors");
36 tc
= tcase_create("failures");
37 tcase_add_test(tc
, test_vectors
);
38 suite_add_tcase(s
, tc
);