Snaipe
|
5101a514a3
|
Moved cr_translate_assert_msg out of the public API
|
2015-11-27 15:42:05 +01:00 |
|
Snaipe
|
9b993abb93
|
Refactored tests and assertions implementation to internal/
|
2015-11-17 17:33:44 +01:00 |
|
Snaipe
|
6917eb4bda
|
[Issue #74] Added __clang__ checks on assert.h __GNUC__ ifdefs for better source searching
|
2015-11-16 20:41:32 +01:00 |
|
Snaipe
|
edc72c9554
|
Removed math.h dependency on base assertions
|
2015-11-16 18:19:26 +01:00 |
|
Snaipe
|
4148d3d5d4
|
[Issue #64] Prefixed all unprefixed API functions and types
|
2015-10-02 15:10:41 +02:00 |
|
Snaipe
|
461c56e8e9
|
Removed deprecated 1.x unprefixed assertion macros
|
2015-09-24 00:15:32 +02:00 |
|
Snaipe
|
8986414138
|
Added default message to file asserts
|
2015-09-14 04:15:48 +02:00 |
|
Snaipe
|
5e8491af90
|
Added any_throw and none_throw assertions
|
2015-09-14 03:24:25 +02:00 |
|
Snaipe
|
d4271865bc
|
Added default message for throw assertions
|
2015-09-14 02:14:46 +02:00 |
|
Snaipe
|
98a892d344
|
[Issue #33] Merge branch 'features/redirect' into bleeding
|
2015-09-13 14:03:55 +02:00 |
|
Snaipe
|
9882f987cf
|
Fixed memory leak on cr_assert()
|
2015-09-13 13:12:16 +02:00 |
|
Snaipe
|
3dc9d47c0b
|
Added file assertions for redirection
|
2015-09-11 02:15:45 +02:00 |
|
Snaipe
|
e2a3a51e3c
|
[Issue #37] Added assert message localization & french translation
|
2015-09-10 03:40:50 +02:00 |
|
Snaipe
|
d6ef9f61ad
|
Improved assert messages
|
2015-09-09 01:29:20 +02:00 |
|
Snaipe
|
565ed9a672
|
Made the deprecation message work with MSVC
|
2015-09-08 23:08:27 +02:00 |
|
Snaipe
|
d1fce372a4
|
Reformatted criterion/assert.h
|
2015-09-08 23:07:45 +02:00 |
|
Snaipe
|
8628b5fbea
|
Removed unused exception variable name from throw assersions
|
2015-09-08 22:48:06 +02:00 |
|
Snaipe
|
3ba88bb314
|
Extracted GCC-specific pragma from the assert macro
|
2015-09-08 22:41:50 +02:00 |
|
Snaipe
|
5247808140
|
Renamed asprintf to cr_asprintf for compatibility
|
2015-09-08 22:12:22 +02:00 |
|
Snaipe
|
9c58e8d1e1
|
Added empty string assertions
|
2015-09-08 20:25:22 +02:00 |
|
Snaipe
|
01831b2ed5
|
Fixed crashes introduced by the API change
|
2015-09-08 19:21:53 +02:00 |
|
Snaipe
|
4d114fdd38
|
Changed the assert interface to accept a format string
|
2015-09-08 18:49:24 +02:00 |
|
Snaipe
|
b8374bca16
|
[Issue #36] Added throw assertions
|
2015-09-07 20:09:28 +02:00 |
|
Snaipe
|
a9f325874a
|
Switched type of 'passed' to bool instead of int
|
2015-09-07 08:37:28 +02:00 |
|
Snaipe
|
63f47f170a
|
Added zero-filling code for assert stats before sending them to the monitoring process
|
2015-09-07 05:13:34 +02:00 |
|
Snaipe
|
ba051b8869
|
Fixed missing initializer for C samples on assert substitution
|
2015-09-07 02:20:18 +02:00 |
|
Snaipe
|
8e66ff173f
|
Restored cr_abort_test default message
|
2015-09-07 01:57:05 +02:00 |
|
Snaipe
|
416b034fe1
|
Made the interface C++11-compatible
|
2015-09-07 01:15:31 +02:00 |
|
Snaipe
|
e8e81a7dd5
|
Added expansion round on __VA_ARGS__ in assert macros for MSVC compatibility
|
2015-09-05 10:08:59 -07:00 |
|
Snaipe
|
0179f32b01
|
Only define _ASSERT_H when it is not already defined
|
2015-04-25 17:28:06 +02:00 |
|
Snaipe
|
b0e5becfb9
|
Added better deprecation message
|
2015-04-25 17:04:47 +02:00 |
|
Snaipe
|
58581f5b18
|
[Issue #20] Added cr_ prefix to all assertion macros
|
2015-04-25 16:45:31 +02:00 |
|
Snaipe
|
b8d44f433a
|
Added macro alias for assert and enhanced compatibility with assert.h
|
2015-04-24 00:32:20 +02:00 |
|
Snaipe
|
589bcf60fd
|
Added assert_null and structure arrays asserts
|
2015-04-14 19:44:30 +02:00 |
|
Snaipe
|
c583e7e742
|
[Issue #17] Fixed nested failed asserts not aborting the test
|
2015-04-14 18:39:40 +02:00 |
|
Snaipe
|
45793a9ede
|
Refactored types out of criterion.h
|
2015-03-23 00:41:48 +01:00 |
|
Snaipe
|
547bd032d2
|
Renamed equal asserts, added asserts sample in README, added abort_test
|
2015-03-17 16:11:32 +01:00 |
|
Snaipe
|
45f9eca9cd
|
Made asserts -pedantic compliant
|
2015-03-16 18:28:37 +01:00 |
|
Snaipe
|
32fd6376ad
|
Removing useless extra parenthesis in assert
|
2015-03-11 06:38:33 +01:00 |
|
Snaipe
|
15ee9539fa
|
Fixed expect_strings expanding to assert
|
2015-03-11 06:34:03 +01:00 |
|
Snaipe
|
431a683e85
|
Added assert_float_not_equal, fixed bad comparison operator for floating-point equality
|
2015-03-11 06:33:19 +01:00 |
|
Snaipe
|
13cbea292c
|
Added comparison asserts over native types
|
2015-03-11 06:32:22 +01:00 |
|
Snaipe
|
b38ce35114
|
Added string comparison asserts
|
2015-03-11 04:00:36 +01:00 |
|
Snaipe
|
919c49853d
|
Removed __VA_ARG__ concatenation GCC extension as it has a better alternative in this case.
|
2015-03-11 03:39:37 +01:00 |
|
Snaipe
|
e7dc892c42
|
Refactored assert macros
|
2015-03-11 03:36:54 +01:00 |
|
Snaipe
|
54af217d74
|
Made assert macros follow the function identifier coding style
|
2015-03-11 03:30:41 +01:00 |
|
Snaipe
|
602b43d501
|
Added floating-point number comparison asserts
|
2015-03-09 03:00:52 +01:00 |
|
Snaipe
|
3b1e8c144b
|
[Issue #3] Added string asserts, fixed __VA_ARG__ dispatch
|
2015-02-08 15:40:03 +01:00 |
|
Snaipe
|
0f51313a2d
|
[Issue #3] Added a bunch of asserts
|
2015-02-07 02:14:59 +01:00 |
|
Snaipe
|
7b5cad2e2c
|
Added missing includes in main header file
|
2015-02-06 13:05:23 +01:00 |
|