1251 Commits

Author SHA1 Message Date
ab9f8d0959 Added example 4 in examples directory. 2019-07-03 15:30:50 -07:00
c30730faf6 cleanup warning. 2019-07-03 15:07:44 -04:00
f2d826c7c5 - Added options for how to handle TEST_ASSERT_EQUAL shorthand
- Tweak a couple style problems with Ruby scripts.
2019-07-03 15:03:03 -04:00
bd4d35ddd0 Added meson.build in src directory. 2019-07-02 19:58:16 -07:00
7dbfc4be56 Adding root meson.build file. 2019-07-02 19:57:55 -07:00
10f10b5e58 Merge pull request #428 from Wurstnase/master
add a blank line after #include "unity.h"
2019-06-27 06:42:31 -04:00
a59db2bdbf add a blank line after #include "unity.h"
The include must be in the first line, else you may expect some issues.
Some autoformat tools could sort the includes alphabetically and could
break the test.
2019-06-27 08:28:52 +02:00
2b250055bc Add indentation for type autodetection macros 2019-05-12 19:57:54 +02:00
06ddace18d Update documentation of "UNITY_POINTER_WIDTH" 2019-05-12 19:44:02 +02:00
885ae9638e Introduce patch from "UnityAssertEqualIntArray" for "UnityAssertNumbersArrayWithin" in order to get rid of the sizeof() operator 2019-05-12 09:31:26 +02:00
ae3aad7b89 Remove the remaining sizeof() operators from internal interface
sizeof() is a hell of an operator and returns the size of a data type in terms of "addressable units" which is not necessarily the size in bytes. To circumvent this problem and in order to keep the API clean we try to remove all sizeof() from the API.
2019-05-12 09:24:49 +02:00
8168382b91 Adjust testHexPrintsUpToMaxNumberOfNibbles (independent of sizeof operator and arithmetics) 2019-05-12 09:16:41 +02:00
c9b1d217fd Merge pull request #414 from art-of-dom/silent-unity-fixture
silent mode in unity fixture
2019-05-04 21:08:02 -04:00
ca1c7fa823 Merge pull request #413 from farrrb/feature-editorconfig
Added .editorconfig in order to set editors to the right settings.
2019-05-04 16:14:09 -04:00
01a907393a silent mode in unity fixture 2019-05-04 11:52:36 -04:00
18430d3b4f Added initial .editorconfig file. 2019-05-04 16:17:04 +02:00
197bf351ae Merge pull request #347 from kykrueger/issue-#346-documentation-improvement
Issue #346 documentation improvement
2019-05-04 08:13:21 -04:00
e9f9638497 Merge branch 'master' into issue-#346-documentation-improvement 2019-05-04 08:13:14 -04:00
071044bdd6 Merge pull request #349 from kykrueger/issue-#348-generalize-example-3-gcc-config
Issue #348 generalize example 3 gcc config
2019-05-04 08:11:04 -04:00
d70047881e Merge pull request #377 from elliot-gawthrop/execution-time-embedded
Execution time improvements
2019-05-04 07:53:37 -04:00
2697770ae9 Merge pull request #379 from elliot-gawthrop/auto-runner-args
Redefine name of resetTest in generated runner
2019-05-04 07:51:40 -04:00
6a1c0590a9 Merge pull request #389 from squidfarts/master
Generic CMake script.
2019-05-04 07:50:54 -04:00
fc7317f103 Merge pull request #399 from frot/master
Allow multi line test-function definitions.
2019-05-04 07:49:56 -04:00
94446cdb5e Merge pull request #404 from farrrb/fix-nibbles-UnityPrintNumberHex
Fixed maximum number of nibbles for processor where sizeof() operator…
2019-05-04 07:39:59 -04:00
2b0d093837 Merge pull request #403 from farrrb/fix-issue-392
Used sizeof operator for pointer increments in UnityAssertEqualIntArray().
2019-05-04 07:39:22 -04:00
25c15f632e Merge pull request #410 from art-of-dom/test-cleanup-gt-lt
Add tests for GREATER_OR_EQUAL, LESS_OR_EQUAL, LESS_THAN, and GREATER_THAN
2019-05-04 07:32:52 -04:00
7514de0582 Merge branch 'master' into test-cleanup-gt-lt 2019-05-04 07:28:12 -04:00
93fbc3fbd0 Merge pull request #412 from art-of-dom/array-within
TEST_ASSERT_INT_ARRAY_WITHIN in unity
2019-04-20 15:31:58 -04:00
9340582797 ARRAY_WITHIN in unity 2019-04-20 14:10:56 -04:00
89465c88b0 Add tests for GREATER_OR_EQUAL, LESS_OR_EQUAL, LESS_THAN, and GREATER_THAN 2019-04-14 15:59:40 -04:00
f51e658e8a Merge pull request #409 from art-of-dom/unity_fixture_colour_fix
Use Pass string from unity.c in unity_fixture.c to garuntee colour behavior
2019-04-13 14:57:28 -04:00
480d505cd7 Merge pull request #408 from art-of-dom/str-cmp-tests
Expliticly show test failures of unequal strings
2019-04-13 14:53:27 -04:00
0bd6bf7b2b Use Pass string from unity.c in unity_fixture.c to garuntee colour behavior 2019-04-13 14:29:06 -04:00
f69fbe8a95 expliticly show test failures of unequal strings 2019-04-13 11:53:14 -04:00
d01e32299e Used sizeof() operator for pointer increments and substituted sizeof() operator for the unsigned int mask calculation to "UNITY_INT_WIDTH / 8" in function "UnityAssertEqualIntArray". 2019-04-07 18:34:25 +02:00
52ff8613a2 Fixed maximum number of nibbles for processor where sizeof() operator doesn't return the size of a type in 8-bit bytes (e.g. the TI C2000 series). 2019-04-07 12:09:00 +02:00
2191b2ba8e Allow multi line test-function definitions. 2019-04-04 09:51:37 +02:00
8507757c6a Merge pull request #401 from ty93/master
unity_test_summary.py recursive search for test files
2019-03-26 16:33:17 -04:00
aecc642594 recursive search for target test files in test summary python script 2019-03-26 17:32:30 +02:00
2663cb9d0d Merge pull request #400 from art-of-dom/travis-fix
Fix travis config: Use ruby 2.3
2019-03-25 11:37:26 -04:00
6315c4c4c3 Fix travis config 2019-03-23 20:09:56 -04:00
49ffac33ec Merge pull request #397 from AlexanderBrevig/fix_unary_minus_on_unsigned_warning
use unary minus on the incoming int instead of the casted uint
2019-03-11 22:35:02 -04:00
0dafa0b306 use unary minus on the incoming int instead of the casted uint 2019-03-12 00:17:37 +01:00
a78c799701 Merge pull request #391 from detly/master
Removed leading underscore from module generator header guards. (Thanks @detly !)
2019-02-21 17:07:10 -05:00
ead95b3ab8 Removed leading underscore from module generator header guards. 2019-02-22 08:38:29 +11:00
3e4d064c42 Singing my name on the script. 2019-02-19 09:45:50 -08:00
9dc7cb1b5c Adding CMake script to unity test framework. 2019-02-18 12:35:53 -08:00
076f0fff56 Improvements to the execution time feature
- Running time macros have been made more portable, previously it was not
  possible to override all macros
- Running time macros will be executed by default test runner, and auto test
  runners
- Adds a default execution time implementation for unix. (Previous default
  implementation only worked on Windows)
- For embedded platforms there is a simple method of getting a default
  implementation by defining a single macro UNITY_CLOCK_MS()
- Removed need for UNITY_EXEC_TIME_RESET. This was not being used for the default
  implementations, if anything ever did need reset-like functionality it could
  simply be wrapped up with the start or stop macros for that platform
2019-01-31 22:01:20 +00:00
145691519b Add ability to override name of the 'resetTest' function
This allows multiple groups to be compiled into the same executable by naming each function uniquely.
2019-01-31 21:59:58 +00:00
9ef1088eb7 Merge pull request #387 from farrrb/rework-operator-precedence
Added braces to avoid implementation solely based on operator precedence. (Thanks @farrrb ! I love cleanup like this!)
2019-01-30 15:48:50 -05:00