From: Tomasz Flendrich Date: Fri, 19 Jun 2015 06:43:05 +0000 (+0000) Subject: deleted old, unused generated files X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a28478d64d77de078d9de0b8f21936865b05a4e1;p=thirdparty%2Fntp.git deleted old, unused generated files bk: 5583b9f99E3eBbyQcroIyiMRQnja2g --- diff --git a/tests/libntp/run-test-caltontp.c b/tests/libntp/run-test-caltontp.c deleted file mode 100644 index b7b6626bf..000000000 --- a/tests/libntp/run-test-caltontp.c +++ /dev/null @@ -1,57 +0,0 @@ -/* AUTOGENERATED FILE. DO NOT EDIT. */ - -//=======Test Runner Used To Run Each Test Below===== -#define RUN_TEST(TestFunc, TestLineNum) \ -{ \ - Unity.CurrentTestName = #TestFunc; \ - Unity.CurrentTestLineNumber = TestLineNum; \ - Unity.NumberOfTests++; \ - if (TEST_PROTECT()) \ - { \ - setUp(); \ - TestFunc(); \ - } \ - if (TEST_PROTECT() && !TEST_IS_IGNORED) \ - { \ - tearDown(); \ - } \ - UnityConcludeTest(); \ -} - -//=======Automagically Detected Files To Include===== -#include "unity.h" -#include -#include - -//=======External Functions This Runner Calls===== -extern void setUp(void); -extern void tearDown(void); -extern void test_DateGivenMonthDay(void); -extern void test_DateGivenYearDay(void); -extern void test_DateLeapYear(void); -extern void test_WraparoundDateIn2036(void); - - -//=======Test Reset Option===== -void resetTest() -{ - tearDown(); - setUp(); -} - -char *progname; - - -//=======MAIN===== -int main(int argc, char *argv[]) -{ - progname = argv[0]; - Unity.TestFile = "caltontp.c"; - UnityBegin("caltontp.c"); - RUN_TEST(test_DateGivenMonthDay, 6); - RUN_TEST(test_DateGivenYearDay, 16); - RUN_TEST(test_DateLeapYear, 27); - RUN_TEST(test_WraparoundDateIn2036, 40); - - return (UnityEnd()); -} diff --git a/tests/libntp/run-test-msyslog.c b/tests/libntp/run-test-msyslog.c deleted file mode 100644 index 8ec7c24c6..000000000 --- a/tests/libntp/run-test-msyslog.c +++ /dev/null @@ -1,65 +0,0 @@ -/* AUTOGENERATED FILE. DO NOT EDIT. */ - -//=======Test Runner Used To Run Each Test Below===== -#define RUN_TEST(TestFunc, TestLineNum) \ -{ \ - Unity.CurrentTestName = #TestFunc; \ - Unity.CurrentTestLineNumber = TestLineNum; \ - Unity.NumberOfTests++; \ - if (TEST_PROTECT()) \ - { \ - setUp(); \ - TestFunc(); \ - } \ - if (TEST_PROTECT() && !TEST_IS_IGNORED) \ - { \ - tearDown(); \ - } \ - UnityConcludeTest(); \ -} - -//=======Automagically Detected Files To Include===== -#include "unity.h" -#include -#include - -//=======External Functions This Runner Calls===== -extern void setUp(void); -extern void tearDown(void); -extern void test_msnprintf(void); -extern void test_msnprintfLiteralPercentm(void); -extern void test_msnprintfBackslashLiteralPercentm(void); -extern void test_msnprintfBackslashPercent(void); -extern void test_msnprintfHangingPercent(void); -extern void test_format_errmsgHangingPercent(void); -extern void test_msnprintfNullTarget(void); -extern void test_msnprintfTruncate(void); - - -//=======Test Reset Option===== -void resetTest() -{ - tearDown(); - setUp(); -} - -char *progname; - - -//=======MAIN===== -int main(int argc, char *argv[]) -{ - progname = argv[0]; - Unity.TestFile = "msyslog.c"; - UnityBegin("msyslog.c"); - RUN_TEST(test_msnprintf, 15); - RUN_TEST(test_msnprintfLiteralPercentm, 31); - RUN_TEST(test_msnprintfBackslashLiteralPercentm, 46); - RUN_TEST(test_msnprintfBackslashPercent, 60); - RUN_TEST(test_msnprintfHangingPercent, 75); - RUN_TEST(test_format_errmsgHangingPercent, 92); - RUN_TEST(test_msnprintfNullTarget, 107); - RUN_TEST(test_msnprintfTruncate, 118); - - return (UnityEnd()); -} diff --git a/tests/libntp/run-test-prettydate.c b/tests/libntp/run-test-prettydate.c deleted file mode 100644 index cafdad41f..000000000 --- a/tests/libntp/run-test-prettydate.c +++ /dev/null @@ -1,51 +0,0 @@ -/* AUTOGENERATED FILE. DO NOT EDIT. */ - -//=======Test Runner Used To Run Each Test Below===== -#define RUN_TEST(TestFunc, TestLineNum) \ -{ \ - Unity.CurrentTestName = #TestFunc; \ - Unity.CurrentTestLineNumber = TestLineNum; \ - Unity.NumberOfTests++; \ - if (TEST_PROTECT()) \ - { \ - setUp(); \ - TestFunc(); \ - } \ - if (TEST_PROTECT() && !TEST_IS_IGNORED) \ - { \ - tearDown(); \ - } \ - UnityConcludeTest(); \ -} - -//=======Automagically Detected Files To Include===== -#include "unity.h" -#include -#include - -//=======External Functions This Runner Calls===== -extern void setUp(void); -extern void tearDown(void); -extern void test_ConstantDate(void); - - -//=======Test Reset Option===== -void resetTest() -{ - tearDown(); - setUp(); -} - -char *progname; - - -//=======MAIN===== -int main(int argc, char *argv[]) -{ - progname = argv[0]; - Unity.TestFile = "prettydate.c"; - UnityBegin("prettydate.c"); - RUN_TEST(test_ConstantDate, 9); - - return (UnityEnd()); -} diff --git a/tests/libntp/run-test-recvbuff.c b/tests/libntp/run-test-recvbuff.c deleted file mode 100644 index 75adc6b4c..000000000 --- a/tests/libntp/run-test-recvbuff.c +++ /dev/null @@ -1,55 +0,0 @@ -/* AUTOGENERATED FILE. DO NOT EDIT. */ - -//=======Test Runner Used To Run Each Test Below===== -#define RUN_TEST(TestFunc, TestLineNum) \ -{ \ - Unity.CurrentTestName = #TestFunc; \ - Unity.CurrentTestLineNumber = TestLineNum; \ - Unity.NumberOfTests++; \ - if (TEST_PROTECT()) \ - { \ - setUp(); \ - TestFunc(); \ - } \ - if (TEST_PROTECT() && !TEST_IS_IGNORED) \ - { \ - tearDown(); \ - } \ - UnityConcludeTest(); \ -} - -//=======Automagically Detected Files To Include===== -#include "unity.h" -#include -#include - -//=======External Functions This Runner Calls===== -extern void setUp(void); -extern void tearDown(void); -extern void test_Initialization(void); -extern void test_GetAndFree(void); -extern void test_GetAndFill(void); - - -//=======Test Reset Option===== -void resetTest() -{ - tearDown(); - setUp(); -} - -char *progname; - - -//=======MAIN===== -int main(int argc, char *argv[]) -{ - progname = argv[0]; - Unity.TestFile = "recvbuff.c"; - UnityBegin("recvbuff.c"); - RUN_TEST(test_Initialization, 16); - RUN_TEST(test_GetAndFree, 24); - RUN_TEST(test_GetAndFill, 35); - - return (UnityEnd()); -} diff --git a/tests/libntp/run-test-ssl_init.c b/tests/libntp/run-test-ssl_init.c deleted file mode 100644 index c40287337..000000000 --- a/tests/libntp/run-test-ssl_init.c +++ /dev/null @@ -1,57 +0,0 @@ -/* AUTOGENERATED FILE. DO NOT EDIT. */ - -//=======Test Runner Used To Run Each Test Below===== -#define RUN_TEST(TestFunc, TestLineNum) \ -{ \ - Unity.CurrentTestName = #TestFunc; \ - Unity.CurrentTestLineNumber = TestLineNum; \ - Unity.NumberOfTests++; \ - if (TEST_PROTECT()) \ - { \ - setUp(); \ - TestFunc(); \ - } \ - if (TEST_PROTECT() && !TEST_IS_IGNORED) \ - { \ - tearDown(); \ - } \ - UnityConcludeTest(); \ -} - -//=======Automagically Detected Files To Include===== -#include "unity.h" -#include -#include - -//=======External Functions This Runner Calls===== -extern void setUp(void); -extern void tearDown(void); -extern void test_MD5KeyTypeWithoutDigestLength(); -extern void test_MD5KeyTypeWithDigestLength(); -extern void test_SHA1KeyTypeWithDigestLength(); -extern void test_MD5KeyName(); - - -//=======Test Reset Option===== -void resetTest() -{ - tearDown(); - setUp(); -} - -char *progname; - - -//=======MAIN===== -int main(int argc, char *argv[]) -{ - progname = argv[0]; - Unity.TestFile = "ssl_init.c"; - UnityBegin("ssl_init.c"); - RUN_TEST(test_MD5KeyTypeWithoutDigestLength, 18); - RUN_TEST(test_MD5KeyTypeWithDigestLength, 22); - RUN_TEST(test_SHA1KeyTypeWithDigestLength, 31); - RUN_TEST(test_MD5KeyName, 45); - - return (UnityEnd()); -} diff --git a/tests/libntp/run-test-tstotv.c b/tests/libntp/run-test-tstotv.c deleted file mode 100644 index 34807b319..000000000 --- a/tests/libntp/run-test-tstotv.c +++ /dev/null @@ -1,55 +0,0 @@ -/* AUTOGENERATED FILE. DO NOT EDIT. */ - -//=======Test Runner Used To Run Each Test Below===== -#define RUN_TEST(TestFunc, TestLineNum) \ -{ \ - Unity.CurrentTestName = #TestFunc; \ - Unity.CurrentTestLineNumber = TestLineNum; \ - Unity.NumberOfTests++; \ - if (TEST_PROTECT()) \ - { \ - setUp(); \ - TestFunc(); \ - } \ - if (TEST_PROTECT() && !TEST_IS_IGNORED) \ - { \ - tearDown(); \ - } \ - UnityConcludeTest(); \ -} - -//=======Automagically Detected Files To Include===== -#include "unity.h" -#include -#include - -//=======External Functions This Runner Calls===== -extern void setUp(void); -extern void tearDown(void); -extern void test_Seconds(void); -extern void test_MicrosecondsExact(void); -extern void test_MicrosecondsRounding(void); - - -//=======Test Reset Option===== -void resetTest() -{ - tearDown(); - setUp(); -} - -char *progname; - - -//=======MAIN===== -int main(int argc, char *argv[]) -{ - progname = argv[0]; - Unity.TestFile = "tstotv.c"; - UnityBegin("tstotv.c"); - RUN_TEST(test_Seconds, 7); - RUN_TEST(test_MicrosecondsExact, 19); - RUN_TEST(test_MicrosecondsRounding, 33); - - return (UnityEnd()); -} diff --git a/tests/libntp/run-test-vi64ops.c b/tests/libntp/run-test-vi64ops.c deleted file mode 100644 index 2deae5cd7..000000000 --- a/tests/libntp/run-test-vi64ops.c +++ /dev/null @@ -1,55 +0,0 @@ -/* AUTOGENERATED FILE. DO NOT EDIT. */ - -//=======Test Runner Used To Run Each Test Below===== -#define RUN_TEST(TestFunc, TestLineNum) \ -{ \ - Unity.CurrentTestName = #TestFunc; \ - Unity.CurrentTestLineNumber = TestLineNum; \ - Unity.NumberOfTests++; \ - if (TEST_PROTECT()) \ - { \ - setUp(); \ - TestFunc(); \ - } \ - if (TEST_PROTECT() && !TEST_IS_IGNORED) \ - { \ - tearDown(); \ - } \ - UnityConcludeTest(); \ -} - -//=======Automagically Detected Files To Include===== -#include "unity.h" -#include -#include - -//=======External Functions This Runner Calls===== -extern void setUp(void); -extern void tearDown(void); -extern void test_ParseVUI64_pos(void); -extern void test_ParseVUI64_neg(void); -extern void test_ParseVUI64_case(void); - - -//=======Test Reset Option===== -void resetTest() -{ - tearDown(); - setUp(); -} - -char *progname; - - -//=======MAIN===== -int main(int argc, char *argv[]) -{ - progname = argv[0]; - Unity.TestFile = "vi64ops.c"; - UnityBegin("vi64ops.c"); - RUN_TEST(test_ParseVUI64_pos, 7); - RUN_TEST(test_ParseVUI64_neg, 23); - RUN_TEST(test_ParseVUI64_case, 39); - - return (UnityEnd()); -}