Commit Graph

  • 01ca3899c2 Fix bug in DOUBLES_EQUAL in unity_fixture.h jsalling 2017-01-14 12:22:00 -06:00
  • 836d7886cf Pointer-to-int-cast warnings with different widths jsalling 2017-01-11 23:07:02 -06:00
  • ef1e2ad58c Option to exclude setjump/longjmp, setjmp.h jsalling 2017-01-14 11:15:30 -06:00
  • ee38219498 Cleanup Assert Array idiom to be the same everywhere jsalling 2017-01-14 11:10:58 -06:00
  • 4d747080a9 Rename Array Check helper, always return, never longjmp jsalling 2017-01-14 10:56:24 -06:00
  • 5449f1e4d1 Condense all longjmp calls into TEST_ABORT() jsalling 2017-01-14 10:41:03 -06:00
  • 6695e9e975 Merge pull request #242 from jsalling/feature/fixture-test-name Mark VanderVoord 2017-01-13 16:38:10 -05:00
  • c5e9a93418 Merge pull request #243 from jsalling/feature/makefile-clang Mark VanderVoord 2017-01-13 15:47:50 -05:00
  • 9954d4f863 Merge pull request #244 from jsalling/cleanup/promotion-warnings Mark VanderVoord 2017-01-13 15:46:07 -05:00
  • 7b87a579d1 Merge pull request #245 from jsalling/feature/teardown-not-ignore Mark VanderVoord 2017-01-13 15:43:26 -05:00
  • 9e8ab3df84 Merge pull request #241 from jsalling/cleanup/float-testing Mark VanderVoord 2017-01-13 15:42:15 -05:00
  • 85ef109282 Merge pull request #240 from jsalling/refactor/skip-exec Mark VanderVoord 2017-01-13 12:08:15 -05:00
  • 6c0ca7339f Merge pull request #238 from jsalling/refactor/int-array Mark VanderVoord 2017-01-11 06:19:04 -05:00
  • 5112d7dfbd Use default int size for any bad STYLE_T enum value Defensive coding jsalling 2017-01-06 20:45:33 -06:00
  • 41df8feaee Fix test for counting CMock_Verify calls jsalling 2016-12-31 13:59:07 -06:00
  • 4c78cde202 Finish clean up of float support options jsalling 2016-12-29 23:52:03 -06:00
  • e92f2c2762 Update comments to reflect changes to floating point jsalling 2016-12-29 23:10:43 -06:00
  • f771f0b98f Finish cleaning up float options in testunity jsalling 2016-12-29 23:06:34 -06:00
  • bd4ac58486 Inline the isneg/ispos macros, remove promotion warnings on constants jsalling 2016-12-29 20:47:03 -06:00
  • a0cb138533 Organize Makefile so clang works on all platforms, warnings are set jsalling 2016-12-29 20:46:06 -06:00
  • 5f33721924 Remove duplicate output of test name, Fixture verbose mode jsalling 2016-12-03 22:24:03 -06:00
  • 03e2209e1b Rename UNITY_SKIP_EXECUTION to RETURN_IF_FAIL_OR_IGNORE jsalling 2016-12-03 21:38:40 -06:00
  • 994779f0ce Merge pull request #237 from jsalling/feature/ptr-set-size Mark VanderVoord 2016-12-27 08:19:41 -05:00
  • f8c585cb93 Merge pull request #236 from jsalling/bugfix/one-test-failure Mark VanderVoord 2016-12-27 08:18:07 -05:00
  • 65e401f3de Always run the tearDown() even if test is ignored jsalling 2016-12-05 21:21:03 -06:00
  • 64f90b1925 Fix test that failed when any other test failed, too distracting jsalling 2016-11-28 23:36:52 -06:00
  • 53bdb6897f Ability to set size of pointer list, smaller default size jsalling 2016-12-23 22:53:24 -06:00
  • e1e866ab45 Delete old UNITY_PTR type, no longer used jsalling 2016-12-05 23:20:03 -06:00
  • 46560a8030 Add correct masking behavior on unsigned values jsalling 2016-11-28 23:39:11 -06:00
  • 5f386a42ff Refactor of IntArray function with switch inside loop, remove repeated code jsalling 2016-11-24 23:12:41 -06:00
  • 0603c1cf1e Merge pull request #231 from jsalling/feature/print-floats Mark VanderVoord 2016-12-21 21:18:43 -05:00
  • b0870ec8b9 Merge branch 'feature/print-floats' Fix new type name conflicts jsalling 2016-12-15 21:15:30 -06:00
  • ee02e3885f Merge pull request #233 from mchernosky/generate-partial-triads Mark VanderVoord 2016-12-12 18:29:25 -05:00
  • df2d37459b Try manually installing rspec in Travis CI. Matt Chernosky 2016-12-02 22:57:10 -07:00
  • 7b51355e5a Module generator finishes for partially existing files Matt Chernosky 2016-11-29 23:19:52 -07:00
  • 8e31f5d869 Revised internal type naming scheme to better sandbox Unity away from everything else. Sure, short was nice, but not at the expense of naming collisions. Mark VanderVoord 2016-11-29 08:38:51 -05:00
  • b77c6b833f Merge pull request #232 from mchernosky/module-create-with-subdir Mark VanderVoord 2016-11-29 06:50:54 -05:00
  • 37049a3a20 Fixed error when path provided with module name. Matt Chernosky 2016-11-28 23:57:17 -07:00
  • 4386cf356f Added to Module Generator: - configurable case. - better passing of includes and boilerplate information - test only pattern - optional naming conventions for case Mark VanderVoord 2016-11-22 14:24:24 -05:00
  • 4e2f0381cc Add ability to inject correct mock prefix Mark VanderVoord 2016-11-21 15:19:16 -05:00
  • aa4d773df2 Tests for Printing All float values jsalling 2016-11-16 19:56:17 -06:00
  • 25f6417351 Refactor repeated code to print float expected and actual jsalling 2016-11-14 23:28:38 -06:00
  • 9f4b1a332f Tests for Printing Floating Point numbers jsalling 2016-11-14 23:10:18 -06:00
  • 47f6a85b8c Make UnityPrintFloat on by default jsalling 2016-11-13 23:47:16 -06:00
  • 54fe786fae Round ties to even by default, many C libraries follow this jsalling 2016-11-09 23:07:31 -06:00
  • 4a27d14734 Correct boundary conditions and add tests jsalling 2016-11-06 22:25:54 -06:00
  • 1dfcb54491 Start adding tests. Add const and simplify code. jsalling 2016-11-06 22:22:11 -06:00
  • 393f2cb544 Refactor printing after the decimal point, signed types, small numbers... jsalling 2016-11-04 23:56:50 -05:00
  • 2de0e8285d Key idea is using double precision calculations makes everything better Print 9 digits jsalling 2016-11-03 23:56:32 -05:00
  • e48fe0a07c Reorganize NaN and Inf printing into if-else blocks jsalling 2016-10-12 21:58:28 -05:00
  • 30ba118c47 Add printing for large numbers in exponential format jsalling 2016-10-04 23:18:08 -05:00
  • 9653fbf7ac Use an integer cast to print floating point numbers more precisely jsalling 2016-09-24 14:16:26 -05:00
  • 012064eaea Merge pull request #228 from jeanCarloMachado/test_failure Mark VanderVoord 2016-11-16 20:31:40 -05:00
  • 4faae4435d removed duplicated declaration of putcharSpy Jean Carlo Machado 2016-11-16 21:37:51 -02:00
  • ac455f2798 We can’t guarantee that the built-in function insane will return 1. It might return any other non-negative value. Therefore we need to force it to be 1 so we can use the comparison operator later. Mark VanderVoord 2016-11-15 09:29:08 -05:00
  • d4a35f0949 Refactor to delete smaller number decimal format Generalize loop to print decimal format and exponential Add '+' to exponent when printing larger floats jsalling 2016-09-04 21:18:25 -05:00
  • 6ec7c78b66 Writing a float printing routine jsalling 2016-09-04 20:48:29 -05:00
  • ae5b4c5799 Added ability to inject defines, much like what was built into Ceedling before Ceedling switched to just using this generator. Mark VanderVoord 2016-11-10 10:10:13 -05:00
  • 661c1b2d56 Boost version and remove some debug puts statements v2.4.0 Mark VanderVoord 2016-10-27 23:06:18 -04:00
  • 2ce8618014 refactor generate_module so that it can be called as a class from within Ceedling (much like the test runner generator) Mark VanderVoord 2016-10-27 17:33:13 -04:00
  • bbf2fe3a93 Merge pull request #227 from jsalling/bugfix/fixture-verbose-eol Mark VanderVoord 2016-10-12 06:55:43 -04:00
  • 4ce86fd1c0 Merge pull request #226 from jsalling/feature/nan-not-eq-nan Mark VanderVoord 2016-10-12 06:54:38 -04:00
  • 3e30290367 Remove extra newline in verbose output format of fixture jsalling 2016-09-28 22:59:17 -05:00
  • 933cc97364 Add option to set NaN != NaN for floating point assertions jsalling 2016-09-28 22:53:15 -05:00
  • 1129b18ced Merge pull request #225 from kykrueger/master Mark VanderVoord 2016-10-06 06:54:36 -04:00
  • 03b9eaa9ba Fix bug, makefiles for example do not clean on windows kykrueger 2016-10-06 11:00:22 +02:00
  • a912ee364e Merge pull request #223 from jeremyhannon/checkLimitBeforeUsingIndex Mark VanderVoord 2016-09-26 23:09:35 -04:00
  • 148b4977cf
    check 'i' limit before using it as an array index. Jeremy Hannon 2016-09-26 16:01:03 -05:00
  • 3581ebb69e Merge pull request #222 from forGGe/missing_c_linkage Mark VanderVoord 2016-09-26 08:43:53 -04:00
  • a8e799b066
    Fix fixture using from C++ sources Max Payne 2016-09-25 22:25:32 +03:00
  • dce6d329ff Finished fixing floating point comparisons. We have streamlined how floats and doubles are checked, but we still can't compare them for equality directly. So we're directly testing for infinite and NaN before checking diffs. Also, we've officially decided that for testing purposes NaN shall equal NaN, +Inf shall equal +Inf, and -Inf shall equal -Inf. It's what most people expect during a test. Mark VanderVoord 2016-09-22 08:35:22 -04:00
  • 0f07adfa00 Merge pull request #202 from kroesche/feature/fix_exclude_fp_warnings Mark VanderVoord 2016-09-21 20:53:45 -04:00
  • 7dc17efbb3 Merge pull request #215 from jsalling/bugfix/inf-equals-inf Mark VanderVoord 2016-09-21 20:52:58 -04:00
  • 71f2e0e6b3 Merge pull request #221 from robobrobro/master Mark VanderVoord 2016-09-21 15:55:41 -04:00
  • bc4da247b5 Do not match strings across newlines L.J. Hill 2016-09-21 15:10:43 -04:00
  • 9caae856c4 Test generator: scrub strings after comments L.J. Hill 2016-09-21 14:10:35 -04:00
  • 693169eddf Merge pull request #218 from 2trill2spill/master Mark VanderVoord 2016-09-20 14:31:45 -04:00
  • 95435afa4e Merge pull request #214 from jsalling/feature/c-strings Mark VanderVoord 2016-09-07 07:48:09 -04:00
  • e12cef36e2 Don't need to ignore unused functions on linux because I reverted the static commit. nah 2016-09-04 10:47:35 -05:00
  • 8e6716645e Revert setting functions to static. nah 2016-09-04 10:38:40 -05:00
  • 2d98ed6afb Merge branch 'build' nah 2016-09-04 10:35:02 -05:00
  • 7ee9bc3ecd Ignore missing prototype warning. nah 2016-09-04 10:31:57 -05:00
  • 794e533ab5 Ignore unused functions on linux. nah 2016-09-04 10:25:31 -05:00
  • f0f9f20421 Set functions that are only used within testunity to static. nah 2016-09-04 10:21:06 -05:00
  • 7552c187fb Ignore missing noreturn and unused functions. nah 2016-09-04 10:20:31 -05:00
  • 65f0febf03 Ignore padding and float to double implicit warning. nah 2016-09-04 09:55:49 -05:00
  • 906447f13f Don't need to print out rake's version anymore. nah 2016-09-04 09:43:25 -05:00
  • 1dcf902ec2 Don't need sudo on Linux so remove it. nah 2016-09-04 09:40:30 -05:00
  • f255511a7c Test on both Linux and OSX. nah 2016-09-04 09:34:59 -05:00
  • 647c846f9f Set CFLAGS differently for linux and osx. nah 2016-09-04 09:25:44 -05:00
  • 68a43b8fe3 Merge pull request #213 from jsalling/feature/simplify-testunity-output Mark VanderVoord 2016-09-02 09:10:05 -04:00
  • de39186187 Add test for C string escape sequences jsalling 2016-08-03 22:38:15 -05:00
  • af590028fa Unity to print C-style escaped strings as "\x16" Changes from "\0x16" before, makes it easier to copy strings from output jsalling 2016-08-03 21:31:37 -05:00
  • 0cc3e45a23 Suppress output of FAIL messages that are expected during testing Works when using the putcharSpy, transparent without it jsalling 2016-04-27 23:35:50 -05:00
  • 382c7087f4 Merge pull request #211 from jsalling/feature/testunity-fail-output Mark VanderVoord 2016-08-31 07:20:34 -04:00
  • de7627f098 Merge pull request #212 from jsalling/feature/C89-comments Mark VanderVoord 2016-08-31 07:18:36 -04:00
  • 41c2e5889b Bump the version Floats now pass Infinity == Infinity assertions jsalling 2016-08-30 21:51:38 -05:00
  • da7e375cf9 Start building Unity & Fixture with C89 flags in continuous integration Remove stdint.h from the C89 build due to -pedantic warnings from type 'long long' and constants like UINTPTR_MAX = 18446744073709551615ULL jsalling 2016-08-27 16:15:00 -05:00
  • 6d54ec2ff7 Get rid of conversion warning when using UNITY_FLOAT_VERBOSE with doubles Change the parameter of UnityPrintFloat from float to double (_UD) The call to snprintf uses implict default promotion to a double anyway jsalling 2016-08-27 15:34:10 -05:00
  • 54aa838c8a Change the fallback isinf() macro to NOT need f_zero defined Delete old comments from before math.h was the default isinf() method jsalling 2016-08-27 15:27:52 -05:00