003 File Manager
Current Path:
/usr/src/contrib/ntp/sntp/unity/auto
usr
/
src
/
contrib
/
ntp
/
sntp
/
unity
/
auto
/
📁
..
📄
colour_prompt.rb
(2.61 KB)
📄
colour_reporter.rb
(1.04 KB)
📄
generate_config.yml
(1.24 KB)
📄
generate_module.rb
(7.19 KB)
📄
generate_test_runner.rb
(13.53 KB)
📄
parseOutput.rb
(6.43 KB)
📄
runner_maybe.c
(1021 B)
📄
test_file_filter.rb
(780 B)
📄
type_sanitizer.rb
(212 B)
📄
unity_test_summary.py
(4.92 KB)
📄
unity_test_summary.rb
(4.17 KB)
Editing: runner_maybe.c
/* 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 <setjmp.h> #include <stdio.h> //=======External Functions This Runner Calls===== extern void setUp(void); extern void tearDown(void); extern void test_main(void ); extern void test_custom(void); extern void test_custom25(void); //=======Test Reset Option===== void resetTest() { tearDown(); setUp(); } //=======MAIN===== int main(void) { Unity.TestFile = "../ut-2803.c"; UnityBegin(); RUN_TEST(test_main, 29); RUN_TEST(test_custom, 34); RUN_TEST(test_custom25, 43); return (UnityEnd()); }
Upload File
Create Folder