Gitiles
Code Review
Sign In
gerrit.cesnet.cz
/
github
/
onqtam
/
doctest
/
abb864e8028e48f08525b8cb35c61b8f373e04c6
/
examples
/
all_features
2d97b85
version 2.1
by onqtam
· 6 years ago
8cf9041
users can now pass both just the exception type and a const(+ref) version of it to the <LEVEL>_THROWS_AS macros and it means the same - const and & are always removed (if present) and then added
by onqtam
· 6 years ago
0e6236a
added support for CHECK_THROWS_WITH macro - currently accepts only a C string but in the future will be extended for matchers support - fixes #97
by onqtam
· 6 years ago
9639cee
version 2.0.1
by onqtam
· 6 years ago
dc01198
fixed issue #149
by onqtam
· 6 years ago
f8d5719
version 2.0.0
by onqtam
· 6 years ago
8f10044
clang builds should finally be passing now!
by onqtam
· 6 years ago
8aecdee
oh come on! clang builds - warnings...
by onqtam
· 6 years ago
65cf692
builds should pass now...
by onqtam
· 6 years ago
a2e77c7
implemented a full example of using doctest in a threaded environment - relates to #4
by onqtam
· 6 years ago
7b7bb8a
windows builds with mingw should pass now
by onqtam
· 6 years ago
c9b4e1f
added an example with concurrent threads doing assertions - relates #4 (currently ctest fails on it...)
by onqtam
· 6 years ago
4d87d56
moved to nullptr, removed c++98-compat warning suppressions for clang (also long-long and 0 as null for gcc/clang)
by onqtam
· 6 years ago
25bfda9
hopefully fixing builds...
by onqtam
· 6 years ago
917d79d
fixing builds... relates #114
by onqtam
· 6 years ago
8171c48
polished the feature for allowing the use of asserts outside of a testing context (also example and docs) - relates #114
by onqtam
· 6 years ago
1d68a13
- added the ability to call asserts outside of a testing context without recompiling! currently the fast asserts are optimized for runtime speed to the maximum but the other asserts are not. Sadly logging macros - like INFO() - aren't supported... yet! - closes #114 - the way to do it is to call setAsDefaultForAssertsOutOfTestCases() on a doctest::Context and optionally to register a custom handler with doctest::Context::setAssertHandler()
by onqtam
· 6 years ago
3ac4c3f
code coverage to the max!
by onqtam
· 6 years ago
42b60db
moved implementation details into an anonymous namespace (still inside of doctest but outside of detail - reason for this: not to have 3 namespaces nested into each other, downside: had to use detail in doctest (for convenience) - hope it doesn't break anywhere...)
by onqtam
· 6 years ago
4317c82
lets see those builds clean!
by onqtam
· 6 years ago
be46017
using c++11 variadic templates for the templated test cases! relates #137 and #38
by onqtam
· 6 years ago
2d16073
initial version of a reporter system! inherit from the IReporter class and register it with doctest::registerReporter()
by onqtam
· 6 years ago
68681e6
version 1.2.9
by onqtam
· 6 years ago
1655b24
regenerated test output - relates #123
by onqtam
· 6 years ago
7907692
fixed #123 - changed the output style in the console - gcc/clang output with :n: around line numbers and other compilers output with (n) - there is also a documented option for this. Also changed lots of code - thank god I moved to streams!
by onqtam
· 6 years ago
c168e36
version 1.2.8
by onqtam
· 7 years ago
568b109
fixed issue #119
by onqtam
· 7 years ago
09f55ca
typo in comment
by Viktor Kirilov
· 7 years ago
8cec917
version 1.2.7
by onqtam
· 7 years ago
50cbb80
updated travis build matrix with supported osx images
by onqtam
· 7 years ago
ac175d1
version 1.2.6
by onqtam
· 7 years ago
7d8ecb3
fixing the reference output... relates #95
by onqtam
· 7 years ago
02b7eb7
silencing 1 more warning for VS 2008/2010 when using /Wall - that a float was getting stored in memory and not in a register... relates #95
by onqtam
· 7 years ago
abf39d2
Visual studio builds now use /Wall instead of /W4 - and only 4 warnings are left disabled globally - fixes #95
by onqtam
· 7 years ago
c80eed1
[release] version 1.2.5
by onqtam
· 7 years ago
914fb9a
bumped version
by onqtam
· 7 years ago
6ff3d35
version 1.2.3
by onqtam
· 7 years ago
eb96d16
enabling clang 5 builds
by onqtam
· 7 years ago
90523ec
version 1.2.2
by onqtam
· 7 years ago
eca6585
removed templated test case for float - was triggering clang warnings when constructing doctest::Approx which only takes double by default - relates #85
by onqtam
· 7 years ago
d8a7edc
Prefer if(MSVC) (#84)
by Martin Moene
· 7 years ago
fd9560c
- fixing build after merging the #82 PR about catching by const ref in <LEVEL>_THROWS_AS assert macros
by onqtam
· 7 years ago
88d3e86
code coverage maxed
by onqtam
· 7 years ago
9ae8e02
version 1.2.1
by onqtam
· 7 years ago
b8220c5
version 1.2 almost out!
by onqtam
· 7 years ago
8cd8b3b
fixing cmake - builds should pass now - all cmake projects can be used by themselves and all depend on the assemble_single_header target (as they should - previous commit had changed that)
by onqtam
· 7 years ago
2af164a
changed the way the example with the tests inside of a static library is defined in cmake - now using an object library instead of a static library - thanks to github.com/pthom - relates #21
by onqtam
· 7 years ago
eccda33
- added DOCTEST_NOINLINE to String::operator=() so GCC 4.9/5/6 stop reporting the Wstrict-overflow warning when optimizations are enabled and it got inlined in the vector class somewhere...
by onqtam
· 7 years ago
0b408df
this should fix the CI builds - apparently valgrind doesn't like it when I call rawMemoryToString on my new small buffer optimized string class...
by onqtam
· 7 years ago
513cf69
implementation of a string class with a small buffer optimization - relates #69
by onqtam
· 7 years ago
68d0f1d
added an overload for operator<< of the ContextBuilder that catches by const ref and use a static assert - relates #23
by onqtam
· 7 years ago
a82c1e4
fixing builds
by onqtam
· 7 years ago
e6412e1
finished decorators - coverage should be maxed! - relates #67
by onqtam
· 7 years ago
754f402
- almost done with the should_fail/may_fail/expected_failures decorators
by onqtam
· 7 years ago
6c7369e
first steps towards decorators for test cases - relates #67
by onqtam
· 7 years ago
f6370e2
all builds should pass now (+ totally maxed coverage)
by onqtam
· 8 years ago
aec53d2
enabled all builds again
by onqtam
· 8 years ago
c4efc48
maxed out code coverage
by onqtam
· 8 years ago
14ddb1e
code coverage done!
by onqtam
· 8 years ago
5dbcb1e
almost done with code coverage - only subcase filtering left!
by onqtam
· 8 years ago
f0f899b
fixed a bit the listing of test suites and fixed test which gave different results with different compilers/modes
by onqtam
· 8 years ago
89da654
more work on test coverage
by onqtam
· 8 years ago
7630535
more code coverage
by onqtam
· 8 years ago
321f270
working on test coverage
by onqtam
· 8 years ago
f6d1a51
code coverage should work now
by onqtam
· 8 years ago
35c14cd
Printing the test suite name on test case failure - fixes #65
by onqtam
· 8 years ago
f715325
builds should definitely be fixed now...
by onqtam
· 8 years ago
c79b754
builds should be fixed now...
by onqtam
· 8 years ago
af07cbb
finished with examples!
by onqtam
· 8 years ago
378d670
test cases example done
by onqtam
· 8 years ago
cb7bad6
- logging example done!
by onqtam
· 8 years ago
135a50e
fixing clang builds...
by onqtam
· 8 years ago
8c31176
fixing builds
by onqtam
· 8 years ago
7cc0e96
examples almost done! only assertion_macros.cpp is left
by onqtam
· 8 years ago
d320ac2
- templated test cases example is done - simplified a bit the cmake
by onqtam
· 8 years ago
119cfb6
- added an undocumented flag to omit the "skipped" part in the output summary - for convenience for the all_features example
by onqtam
· 8 years ago
e0f1880
- removed another unnecessary example that slowed down builds - now only the python script is left
by onqtam
· 8 years ago
27079bc
output is now like the old one
by onqtam
· 8 years ago
2c100d6
- added test outputs
by onqtam
· 8 years ago
12d5598
everything compiles!
by onqtam
· 8 years ago
98e12af
cleaning up examples
by onqtam
· 8 years ago