Gitiles
Code Review
Sign In
gerrit.cesnet.cz
/
github
/
onqtam
/
doctest
/
1e406c5f5b98fba789eecc704d558b298c800a58
/
examples
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
f6f4f93
removed redundant checks
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
· 8 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
0d55e8d
added example how to filter out doctest options from the command line in the docs and removed it from the examples folder
by onqtam
· 8 years ago
26c2008
examples can no longer be built using cmake separately - they require cmake invocation from the root of the repository (and now use the modern way of handling include dependencies)
by onqtam
· 8 years ago
61954c3
reworked cmake a bit
by onqtam
· 8 years ago
08cf7dc
moved all cmake-related stuff to scripts/cmake
by onqtam
· 8 years ago
bc85976
- removed warning that is included in Wall/Wextra (although not documented in the online docs of GCC)
by onqtam
· 8 years ago
a9675f5
- added CII badge
by onqtam
· 8 years ago
bab3f28
fixing builds with -fno-exceptions ...
by onqtam
· 8 years ago
8fa60c0
preserving context from ```INFO()``` contexts when the test case ends from an exception - relates #48 #23 (also see this Catch PR: https://github.com/philsquared/Catch/pull/876 )
by onqtam
· 8 years ago
659ce3b
fixed the constructor - should now work for types from which double can be constructed - see here: http://stackoverflow.com/questions/43306848
by onqtam
· 8 years ago
2825144
Added support to Approx for strong typedefs of double - fixes #62
by onqtam
· 8 years ago
0e35eb2
the TEST_CASE_TEMPLATE_INSTANTIATE and TYPE_TO_STRING macros now properly require a semicolon after their use
by onqtam
· 8 years ago
94ca1cd
builds should pass now... the return type of sizeof() is tricky - it gets stringified differently in some environments
by onqtam
· 8 years ago
ee6d4bf
implemented templated test cases - relates #38 - for more information read the parameterized-tests.md file
by onqtam
· 8 years ago
b881c1c
this should fix the MSVC builds... forgot to delete the duplicate line
by onqtam
· 8 years ago
bef26de
all builds should pass now!
by onqtam
· 8 years ago
8469018
making windows builds compile (linux still fail but its because of the output being different due to some bug in the sorting of test cases)
by onqtam
· 8 years ago
be91727
- fixed bug that was introduced in commit 0b0b82f1728f65075724b41aca83c62834978d44 - should have made these changes in a separate commit for easier testing
by onqtam
· 8 years ago
cfce188
fixed name of argument for sorting
by onqtam
· 8 years ago
9c34f97
working on templated test cases - initial draft in the separate_headers example - relates #38
by onqtam
· 8 years ago
cfefe2b
changed a bit the message for the 3 different levels of failures - WARN/CHECK/REQUIRE
by onqtam
· 8 years ago
4b68df3
builds with -fno-exceptions should pass now - relates #12
by onqtam
· 8 years ago
036fa31
fixing builds... default template arguments for function templates not supported in C++98...
by onqtam
· 8 years ago
8327c6c
fixing clang builds on CI
by onqtam
· 8 years ago
246e817
fixing CI builds - no C++11...
by onqtam
· 8 years ago
05bcc37
added exception translation to examples - relates #12
by onqtam
· 8 years ago
74facf2
changed a bit the text for exception reporting - relates #12
by onqtam
· 8 years ago
85642bf
implemented translation of exceptions in asserts - relates #12
by onqtam
· 8 years ago
653a24e
- initial version of exception translation - for when a test case throws - relates #12
by onqtam
· 8 years ago
1fc3dc7
added --no-line-numbers=<bool> - Line numbers are replaced with ```0``` in the output when a source location is printed - useful if you want the same output from the testing framework even when test positions change within a source file
by onqtam
· 8 years ago
658c870
fixed #41 - !!! BREAKING CHANGE !!! - Make TEST_SUITE work with bodies, add TEST_SUITE_BEGIN
by onqtam
· 8 years ago
b84e919
fixing clang builds...
by onqtam
· 8 years ago
653501e
fixing linux builds - linking to dl
by onqtam
· 8 years ago
b43aa04
fixed #55 - Ability for a binary (executable / shared object) to use the test runner implementation of another binary - with exported symbols - so tests end up in a single registry
by onqtam
· 8 years ago
f63c510
- removed old hacks for gcc 4.4 under osx
by onqtam
· 8 years ago
3de57e3
Add assertion macros regarding std::exception handling to examples/ directory
by Elias Kosunen
· 8 years ago
b18680d
fixed documentation for stringification - relates https://github.com/philsquared/Catch/issues/741
by onqtam
· 8 years ago
0b51b7b
removed the version from the reference output - so releases that don't change the output don't need to recommit new reference output
by onqtam
· 8 years ago
5cab8e9
fixed #42 - no warnings with clang in c++11 mode
by onqtam
· 8 years ago
bf4f453
updated docs and bumped version to 1.1.1
by onqtam
· 8 years ago
1.1.1
1435c01
bumped version to 1.1
by onqtam
· 8 years ago
a1c34ba
docs updated more - still WIP!
by onqtam
· 8 years ago
56c443c
removed c string comparison test because in debug the compiler (atleast MSVC) doesn't optimize the 2 identical C strings and they end up with 2 different addresses in memory.
by onqtam
· 8 years ago
08ed774
switched from REQUIRE to CHECK macro in an example because gcc 4.4 build under OSX fail this test - after an exception is thrown for the REQUIRE the program quits.... this is a known issue (by me)- check out the comment in examples/assertion_macros/CMakeLists.txt
by onqtam
· 8 years ago
c808bb0
breaking change - char pointers no longer compared as C strings by default - you will need to define the DOCTEST_CONFIG_TREAT_CHAR_STAR_AS_STRING identifier to enable this! This also affects stringification of char pointers. fixes #36
by onqtam
· 8 years ago
7b8d8dc
fixing clang builds - added new line at end of main.cpp for `removing_doctest_options` example...
by onqtam
· 8 years ago
ce59fd1
linux gcc header cost benchmarked!
by onqtam
· 8 years ago
b793c5b
fixing CI builds... no more shadowing
by onqtam
· 8 years ago
cc6a6d6
- added tests that assertion macros don't copy the types and that they evaluate the expressions only once
by onqtam
· 8 years ago
a1ede61
Added example how to remove doctest options from the command line for the program after the tests run - fixes #20
by onqtam
· 8 years ago
11210ce
- added an image instead of code for the main readme
by onqtam
· 8 years ago
db5eee9
- moved an inline remapping function to the implementation part of doctest
by onqtam
· 8 years ago
Next »