Home
last modified time | relevance | path

Searched full:unity (Results 1 – 25 of 81) sorted by relevance

1234

/freebsd/contrib/ntp/sntp/unity/
H A Dunity.c2 Unity Project - A Test Framework for C
7 #include "unity.h"
9 #define UNITY_FAIL_AND_BAIL { Unity.CurrentTestFailed = 1; longjmp(Unity.AbortFrame, 1); }
10 #define UNITY_IGNORE_AND_BAIL { Unity.CurrentTestIgnored = 1; longjmp(Unity.AbortFrame, 1); }
12 #define UNITY_SKIP_EXECUTION { if ((Unity.CurrentTestFailed != 0) || (Unity.CurrentTestIgnored != …
15 struct _Unity Unity; variable
40 const char UnityStrErrFloat[] = "Unity Floating Point Disabled";
41 const char UnityStrErrDouble[] = "Unity Double Precision Disabled";
42 const char UnityStrErr64[] = "Unity 64-bit Support Disabled";
286 UnityPrint(Unity.CurrentTestName); in UnityTestResultsBegin()
[all …]
H A Dunity_fixture.c1 //- Copyright (c) 2010 James Grenning and Contributed to Unity Project
3 Unity Project - A Test Framework for C
23 UnityPrint("Unity test run "); in announceTestRun()
81 Unity.CurrentTestFailed = 0; in UnityTestRunner()
82 Unity.TestFile = file; in UnityTestRunner()
83 Unity.CurrentTestName = printableName; in UnityTestRunner()
84 Unity.CurrentTestLineNumber = line; in UnityTestRunner()
90 Unity.NumberOfTests++; in UnityTestRunner()
107 if (!Unity.CurrentTestFailed) in UnityTestRunner()
116 Unity.NumberOfTests++; in UnityIgnoreTest()
[all …]
H A DMakefile.in91 subdir = unity
137 libunity_a-unity.$(OBJEXT) libunity_a-ulib_setup.$(OBJEXT) \
159 ./$(DEPDIR)/libunity_a-unity.Po \
462 unity.c \
465 unity.h \
493 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign unity/Makefile'; \
495 $(AUTOMAKE) --foreign unity/Makefile
532 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libunity_a-unity.Po@am__quote@ # am--include-marker
579 libunity_a-unity.o: unity
[all...]
H A DMakefile.am19 unity.c \
22 unity.h \
H A Dunity_fixture.h1 //- Copyright (c) 2010 James Grenning and Contributed to Unity Project
3 Unity Project - A Test Framework for C
11 #include "unity.h"
H A Dunity_fixture_malloc_overrides.h1 //- Copyright (c) 2010 James Grenning and Contributed to Unity Project
3 Unity Project - A Test Framework for C
H A Dunity_fixture_internals.h1 //- Copyright (c) 2010 James Grenning and Contributed to Unity Project
3 Unity Project - A Test Framework for C
H A Dunity_internals.h2 Unity Project - A Test Framework for C
16 // Unity Attempts to Auto-Detect Integer Types
402 extern struct _Unity Unity;
537 #define TEST_PROTECT() (setjmp(Unity.AbortFrame) == 0)
539 #define TEST_ABORT() {longjmp(Unity.AbortFrame, 1);}
563 #define TEST_LINE_NUM (Unity.CurrentTestLineNumber)
564 #define TEST_IS_IGNORED (Unity.CurrentTestIgnored)
566 Unity.CurrentTestName = a; \
567 Unity.CurrentTestLineNumber = (UNITY_LINE_TYPE)(__LINE__); \
568 Unity
[all...]
/freebsd/contrib/ntp/sntp/unity/auto/
H A Drunner_maybe.c6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
22 #include "unity.h"
45 Unity.TestFile = "../ut-2803.c"; in main()
H A Dgenerate_test_runner.rb2 # Unity Project - A Test Framework for C
28 :framework => :unity,
42 options.merge!(yaml_guts[:unity] || yaml_guts[:cmock])
43 raise "No :unity or :cmock section found in #{config_file}" unless options
182 testfile_includes.delete_if{|inc| inc =~ /(unity|cmock)/}
272 …output.puts(" Unity.CurrentTestName = #TestFunc#{va_args2.empty? ? '' : " \"(\" ##{va_args2} \")\…
273 output.puts(" Unity.CurrentTestLineNumber = TestLineNum; \\")
274 output.puts(" Unity.NumberOfTests++; \\")
382 " *.yml / *.yaml - loads configuration from here in :unity or :cmock",
H A Dunity_test_summary.rb2 # Unity Project - A Test Framework for C
54 @report += "UNITY IGNORED TEST SUMMARY\n"
62 @report += "UNITY FAILED TEST SUMMARY\n"
69 @report += "OVERALL UNITY TEST SUMMARY\n"
H A Dunity_test_summary.py3 # Unity Project - A Test Framework for C
48 self.report += "UNITY IGNORED TEST SUMMARY\n"
55 self.report += "UNITY FAILED TEST SUMMARY\n"
61 self.report += "OVERALL UNITY TEST SUMMARY\n"
/freebsd/contrib/ntp/sntp/tests/
H A Drun-networking.c6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
22 #include "unity.h"
H A Drun-t-log.c6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
22 #include "unity.h"
H A Drun-keyFile.c6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
22 #include "unity.h"
H A Drun-kodDatabase.c6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
22 #include "unity.h"
H A Drun-kodFile.c6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
22 #include "unity.h"
H A Drun-crypto.c6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
22 #include "unity.h"
H A Drun-utilities.c6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
22 #include "unity.h"
H A Drun-packetHandling.c6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
22 #include "unity.h"
H A Drun-packetProcessing.c6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
22 #include "unity.h"
/freebsd/contrib/ntp/tests/libntp/
H A Drun-realpath.c6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
22 #include "unity.h"
H A Drun-digests.c6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
22 #include "unity.h"
/freebsd/contrib/ntp/
H A Dcheck-libunity.mf9 check-libunity: $(top_builddir)/sntp/unity/libunity.a
12 $(top_builddir)/sntp/unity/libunity.a:
13 cd $(top_builddir)/sntp/unity && $(MAKE) $(AM_MAKEFLAGS) libunity.a
/freebsd/contrib/ntp/sntp/
H A Dcheck-libunity.mf10 check-libunity: $(top_builddir)/unity/libunity.a
13 $(top_builddir)/unity/libunity.a:
14 cd $(top_builddir)/unity && $(MAKE) $(AM_MAKEFLAGS) libunity.a

1234