From: hades Date: Thu, 29 Mar 2001 18:05:46 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=65f70c2e454fc906b646ef6fbcfbd950f4627924;p=daqdata.git *** empty log message *** --- diff --git a/allParam/test/suite.c b/allParam/test/suite.c new file mode 100644 index 0000000..6fe869c --- /dev/null +++ b/allParam/test/suite.c @@ -0,0 +1,126 @@ +#include + +#include "blob/b_lowercase.h" +#include "filename/f_lowercase_abs.h" +#include "filename/f_lowercase_rel.h" +#include "filename/f_lowercase_rel_no_basedir.h" +#include "filename/fa_lowercase.h" +#include "filename/fa_lowercase_no_basedir.h" +#include "int/i_lowercase.h" +#include "int/i_no_index.h" +#include "int/i_store.h" +#include "int/i_store_existing.h" +#include "int/i_store_multiple.h" +#include "int/i_string_available.h" +#include "int/i_uppercase.h" +#include "int/ia_long_array.h" +#include "int/ia_lowercase.h" +#include "int/ia_no_index.h" +#include "int/ia_short_array.h" +#include "int/ia_string_available.h" +#include "int/ia_uppercase.h" +#include "string/s_array.h" +#include "string/s_int_available.h" +#include "string/s_lowercase.h" +#include "string/s_no_index.h" +#include "string/s_store.h" +#include "string/s_store_existing.h" +#include "string/s_store_multiple.h" +#include "string/s_store_whitespace.h" +#include "string/s_uppercase.h" +#include "string/s_whitespace.h" +#include "string/sa_int_available.h" +#include "string/sa_long_array.h" +#include "string/sa_lowercase.h" +#include "string/sa_no_index.h" +#include "string/sa_scalar.h" +#include "string/sa_short_array.h" +#include "string/sa_uppercase.h" + +int main(int argc, char *argv[]) { + int errors = 0; + int tests = 0; + + printf("================================================================================\n"); + printf("%s : Starting test ...\n", argv[0]); + printf("================================================================================\n"); + + errors -= b_lowercase("blob/b_lowercase"); + tests++; + errors -= f_lowercase_abs("filename/f_lowercase_abs"); + tests++; + errors -= f_lowercase_rel("filename/f_lowercase_rel"); + tests++; + errors -= f_lowercase_rel_no_basedir("filename/f_lowercase_rel_no_basedir"); + tests++; + errors -= fa_lowercase("filename/fa_lowercase"); + tests++; + errors -= fa_lowercase_no_basedir("filename/fa_lowercase_no_basedir"); + tests++; + errors -= i_lowercase("int/i_lowercase"); + tests++; + errors -= i_no_index("int/i_no_index"); + tests++; + errors -= i_string_available("int/i_string_available"); + tests++; + errors -= i_uppercase("int/i_uppercase"); + tests++; + errors -= ia_long_array("int/ia_long_array"); + tests++; + errors -= ia_lowercase("int/ia_lowercase"); + tests++; + errors -= ia_no_index("int/ia_no_index"); + tests++; + errors -= ia_short_array("int/ia_short_array"); + tests++; + errors -= ia_string_available("int/ia_string_available"); + tests++; + errors -= ia_uppercase("int/ia_uppercase"); + tests++; + errors -= s_array("string/s_array"); + tests++; + errors -= s_int_available("string/s_int_available"); + tests++; + errors -= s_lowercase("string/s_lowercase"); + tests++; + errors -= s_no_index("string/s_no_index"); + tests++; + errors -= s_uppercase("string/s_uppercase"); + tests++; + errors -= s_whitespace("string/s_whitespace"); + tests++; + errors -= sa_int_available("string/sa_int_available"); + tests++; + errors -= sa_long_array("string/sa_long_array"); + tests++; + errors -= sa_lowercase("string/sa_lowercase"); + tests++; + errors -= sa_no_index("string/sa_no_index"); + tests++; + errors -= sa_scalar("string/sa_scalar"); + tests++; + errors -= sa_short_array("string/sa_short_array"); + tests++; + errors -= sa_uppercase("string/sa_uppercase"); + tests++; + errors -= i_store("int/i_store"); + tests++; + errors -= i_store_existing("int/i_store_existing"); + tests++; + errors -= i_store_multiple("int/i_store_multiple"); + tests++; + errors -= s_store("string/s_store"); + tests++; + errors -= s_store_existing("string/s_store_existing"); + tests++; + errors -= s_store_multiple("string/s_store_multiple"); + tests++; + errors -= s_store_whitespace("string/s_store_whitespace"); + tests++; + + printf("================================================================================\n"); + printf("%s : %d errors in %d tests detected.\n", argv[0], errors, tests); + printf("================================================================================\n"); + return 0; +} +