Gitiles
Code Review
Sign In
gerrit.cesnet.cz
/
github
/
onqtam
/
doctest
/
246e81739928713a02f1ab9f748438d10f3e3911
/
examples
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
154d5a1
added comments - related to #21
by onqtam
· 8 years ago
837def0
added a utility cmake function that creates an executable for a static library with tests
by onqtam
· 8 years ago
58643d0
fixing CI builds...
by onqtam
· 8 years ago
f90739e
added warning suppression around the expression decomposition template machinery - comparing signed to unsigned integers should now not generate warnings...
by onqtam
· 8 years ago
96bdf71
- restrict expressions in assertion macros to binary comparisons at most with a static assert
by onqtam
· 8 years ago
362c931
this should really fix the CI builds - the initial problem of a warning suddenly appearing is due to gcc 5 and 6 being upgraded on travis - and in 32 bit mode this cast: 'static_cast<unsigned>(testArray.size())' triggered a warning as being unnecessary
by onqtam
· 8 years ago
7505ba1
hopefully fixing the travis builds...
by onqtam
· 8 years ago
c7aaa96
updating cmake on travis... Also bumping the minimal version of cmake required to 3.0 because of the 'NAME' target property
by onqtam
· 8 years ago
fada1a9
fixing builds with CMake older than 3.4
by onqtam
· 8 years ago
a0e2846
Using a CMake function called "doctest_force_link_static_lib_in_target" located in "doctest_force_link_static_lib_in_target.cmake" users of CMake can force the linking of every object file from a static library to an executable/shared target. Not intrusive - using generated dummy headers in the build folder of the target, CMake target properties and compiler flags for including the headers to the appropriate sources.
by onqtam
· 8 years ago
fe740c2
moved code coverage sources outside of examples
by onqtam
· 8 years ago
15d2d9d
trying to fix the code coverage example under valgrind...
by onqtam
· 8 years ago
4e68e66
trying to fix CI builds after code coverage example...
by onqtam
· 8 years ago
6e00ced
fixing output of tests
by onqtam
· 8 years ago
dea0317
fixing reference output - not displaying the random ordering
by onqtam
· 8 years ago
529c92c
enabling all builds again
by onqtam
· 8 years ago
3802f93
more code coverage!
by onqtam
· 8 years ago
15c5f0f
using the doctest.h header for coverage...
by onqtam
· 8 years ago
c223b69
done with coverage?
by onqtam
· 8 years ago
baa61b9
forgot reference output
by onqtam
· 8 years ago
30c5e4b
more coverage
by onqtam
· 8 years ago
d9bb03a
more coverage
by onqtam
· 8 years ago
9ca2e26
coverage ...
by onqtam
· 8 years ago
4321fd8
more coverage
by onqtam
· 8 years ago
cc9e865
working on code coverage
by onqtam
· 8 years ago
9f934f8
all builds should be working now!!!
by onqtam
· 8 years ago
c64b948
appveyor mingw debugging...
by onqtam
· 8 years ago
a311752
appveyor mingw...
by onqtam
· 8 years ago
8b766c5
mingw on appveyor..
by onqtam
· 8 years ago
7dec6aa
still trying to get llvm builds under linux on travis to run
by onqtam
· 8 years ago
e2f60b0
trying to get gcc 5/6 under linux to pass - need to force gold linker for sanitizers because ld is too old
by onqtam
· 8 years ago
959458c
trying to switch to gold linker under linux
by onqtam
· 8 years ago
773570a
fixed names of assertions
by onqtam
· 8 years ago
8def6b0
removed custom implementations of vector and hashtable and now using std::vector and std::set
by onqtam
· 8 years ago
8deb092
- removed the _fast header and put its contents into the main doctest header
by onqtam
· 8 years ago
a6bcda2
related to #14 - added a header with a specialized macro for equality
by onqtam
· 8 years ago
795d5f5
fixed #22 - removed the #ifdef DEBUG part
by onqtam
· 8 years ago
3ffb887
travis builds should be fixed
by onqtam
· 8 years ago
1ca535f
fixing CI builds
by onqtam
· 8 years ago
f2ea97b
reworked the expression decomposition macros (and the rest) for faster compile times and less code bloat (not benchmarked yet) - relates #14
by onqtam
· 8 years ago
d273de4
fixed #19
by onqtam
· 8 years ago
6cad516
fixed #18
by onqtam
· 8 years ago
7d5c0d5
fixed #17
by onqtam
· 8 years ago
a731256
updated contributing.md
by onqtam
· 8 years ago
bc4b56c
fixed #10
by onqtam
· 8 years ago
f720d43
reworked the single header generation - now using a separate script - this way I can do anything with cmake functions instead on relying on system commands like cat and echo
by onqtam
· 8 years ago
1831b47
fixed #7
by onqtam
· 8 years ago
4fe9a87
fixed output after PR
by onqtam
· 8 years ago
7ffa84e
from now on the library should be developed using the 2 headers in doctest/parts/ and doctest/doctest.h gets generated from them!
by onqtam
· 8 years ago
8126b56
fixed python scripts for wandbox link update and html doc generation
by onqtam
· 8 years ago
2e66b61
Include "program code" in example (#15)
by Martin Moene
· 8 years ago
4a65563
normalizing eof for everything
by onqtam
· 8 years ago
fe80dc9
disabled the test of the "subcases_and_bdd" example for GCC 4.4 under osx - for some reason after an exception is thrown the program quits even though it should be caught
by onqtam
· 8 years ago
aff213c
updating output so tests can pass
by onqtam
· 8 years ago
3a1dd12
fixing gcc builds
by onqtam
· 8 years ago
5ddd43a
doc
by onqtam
· 8 years ago
1586ea2
enabled compare mode for tests!
by onqtam
· 8 years ago
b176a21
doc
by onqtam
· 8 years ago
38e6206
doc
by onqtam
· 8 years ago
316fce2
doc
by onqtam
· 8 years ago
af0e109
doc
by onqtam
· 8 years ago
f7a8046
doc
by onqtam
· 8 years ago
96b41ea
fixing clang build
by onqtam
· 8 years ago
733de62
better examples
by onqtam
· 8 years ago
cbab26a
moving examples around
by onqtam
· 8 years ago
c832deb
fixing clang build...
by onqtam
· 8 years ago
e4c75fc
fixed the range based example better examples
by onqtam
· 8 years ago
863760e
deleted a bunch of examples
by onqtam
· 8 years ago
ad89a13
doc
by onqtam
· 8 years ago
31ccc53
doc
by onqtam
· 8 years ago
fd527f9
BDD style supported!
by onqtam
· 8 years ago
fea2740
fixing builds on CI
by onqtam
· 8 years ago
Next »