summaryrefslogtreecommitdiffstats
path: root/3rdparty
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2017-02-05 16:01:50 +0100
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2017-02-05 16:06:06 +0100
commitac096aa2a0921efde96b76252dffb119dcf27efc (patch) (github)
tree2ad9a28a7f6babce8cfcbf5995e3e055ff13ff60 /3rdparty
parent29df715138452ee18ba19ec4b07e18c4b3185de7 (diff)
downloadmame-ac096aa2a0921efde96b76252dffb119dcf27efc.tar.bz2
mame-ac096aa2a0921efde96b76252dffb119dcf27efc.zip
Update sol2 (nw)
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/sol2/.gitignore1
-rw-r--r--3rdparty/sol2/.gitmodules3
-rw-r--r--3rdparty/sol2/.travis.yml6
-rw-r--r--3rdparty/sol2/Catch/.gitignore22
-rw-r--r--3rdparty/sol2/Catch/.travis.yml163
-rw-r--r--3rdparty/sol2/Catch/LICENSE_1_0.txt23
-rw-r--r--3rdparty/sol2/Catch/README.md22
-rw-r--r--3rdparty/sol2/Catch/catch-logo-small.pngbin51470 -> 0 bytes
-rw-r--r--3rdparty/sol2/Catch/docs/Readme.md20
-rw-r--r--3rdparty/sol2/Catch/docs/assertions.md82
-rw-r--r--3rdparty/sol2/Catch/docs/build-systems.md86
-rw-r--r--3rdparty/sol2/Catch/docs/command-line.md220
-rw-r--r--3rdparty/sol2/Catch/docs/configuration.md73
-rw-r--r--3rdparty/sol2/Catch/docs/contributing.md23
-rw-r--r--3rdparty/sol2/Catch/docs/logging.md52
-rw-r--r--3rdparty/sol2/Catch/docs/own-main.md68
-rw-r--r--3rdparty/sol2/Catch/docs/slow-compiles.md22
-rw-r--r--3rdparty/sol2/Catch/docs/test-cases-and-sections.md86
-rw-r--r--3rdparty/sol2/Catch/docs/test-fixtures.md32
-rw-r--r--3rdparty/sol2/Catch/docs/tostring.md70
-rw-r--r--3rdparty/sol2/Catch/docs/tutorial.md249
-rw-r--r--3rdparty/sol2/Catch/docs/why-catch.md42
-rw-r--r--3rdparty/sol2/Catch/projects/CMake/CMakeLists.txt48
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/ApproxTests.cpp112
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/BDDTests.cpp103
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/Baselines/console.std.approved.txt835
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/Baselines/console.sw.approved.txt9050
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/Baselines/console.swa4.approved.txt491
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/Baselines/junit.sw.approved.txt684
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/Baselines/xml.sw.approved.txt9511
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/ClassTests.cpp57
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/CmdLineTests.cpp264
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/ConditionTests.cpp335
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/EnumToString.cpp76
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/ExceptionTests.cpp203
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/GeneratorTests.cpp42
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/MessageTests.cpp133
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/MiscTests.cpp480
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/PartTrackerTests.cpp328
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_common.cpp3
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_console_colour.cpp3
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_debugger.cpp2
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_capture.cpp3
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_config.cpp2
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_exception.cpp2
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_generators.cpp1
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_registry_hub.cpp3
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp2
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_runner.cpp1
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_testcase.cpp2
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_message.cpp3
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_option.cpp3
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_ptr.cpp3
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_stream.cpp3
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_streambuf.cpp3
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_test_spec.cpp3
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp4
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/TagAliasTests.cpp41
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/TestMain.cpp461
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/ToStringPair.cpp47
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/ToStringTuple.cpp59
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/ToStringVector.cpp77
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/ToStringWhich.cpp68
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/TrickyTests.cpp401
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/VariadicMacrosTests.cpp31
-rw-r--r--3rdparty/sol2/Catch/projects/SelfTest/makefile30
-rw-r--r--3rdparty/sol2/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.cpp8
-rw-r--r--3rdparty/sol2/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.vcproj390
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/CatchSelfTest/CatchSelfTest.xcodeproj/project.pbxproj742
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/CatchSelfTest/CatchSelfTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata7
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/CatchSelfTest/CatchSelfTest/CatchSelfTest.179
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/CatchSelfTest/CatchSelfTest/catch_text.cpp3
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.pbxproj258
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.xcworkspace/contents.xcworkspacedata7
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle/dummy.txt0
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/OCTest/OCTest.xcodeproj/project.pbxproj265
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/OCTest/OCTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata7
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/OCTest/OCTest/CatchOCTestCase.h25
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/OCTest/OCTest/CatchOCTestCase.mm83
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/OCTest/OCTest/Main.mm2
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/OCTest/OCTest/OCTest.179
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/OCTest/OCTest/OCTest.mm28
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/OCTest/OCTest/TestObj.h28
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/OCTest/OCTest/TestObj.m25
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/iOSTest/iOSTest.xcodeproj/project.pbxproj299
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/iOSTest/iOSTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata7
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/iOSTest/iOSTest/OCTest.mm27
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/iOSTest/iOSTest/TestObj.h25
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/iOSTest/iOSTest/TestObj.m18
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/iOSTest/iOSTest/en.lproj/InfoPlist.strings2
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/iOSTest/iOSTest/iOSTest-Info.plist47
-rw-r--r--3rdparty/sol2/Catch/projects/XCode/iOSTest/iOSTest/iOSTest-Prefix.pch14
-rw-r--r--3rdparty/sol2/Catch/projects/runners/iTchRunner/internal/iTchRunnerAppDelegate.h114
-rw-r--r--3rdparty/sol2/Catch/projects/runners/iTchRunner/internal/iTchRunnerMainView.h189
-rw-r--r--3rdparty/sol2/Catch/projects/runners/iTchRunner/internal/iTchRunnerReporter.h115
-rw-r--r--3rdparty/sol2/Catch/projects/runners/iTchRunner/itChRunnerMain.mm27
-rw-r--r--3rdparty/sol2/Catch/projects/runners/iTchRunner/readme6
-rw-r--r--3rdparty/sol2/Catch/scripts/approvalTests.py115
-rw-r--r--3rdparty/sol2/Catch/scripts/approve.py31
-rw-r--r--3rdparty/sol2/Catch/scripts/developBuild.py9
-rw-r--r--3rdparty/sol2/Catch/scripts/fixTrailingWhitespace.py46
-rw-r--r--3rdparty/sol2/Catch/scripts/generateSingleHeader.py103
-rw-r--r--3rdparty/sol2/Catch/scripts/majorRelease.py9
-rw-r--r--3rdparty/sol2/Catch/scripts/minorRelease.py9
-rw-r--r--3rdparty/sol2/Catch/scripts/patchRelease.py9
-rw-r--r--3rdparty/sol2/Catch/scripts/releaseCommon.py89
-rw-r--r--3rdparty/sol2/Catch/scripts/releaseNotes.py62
-rw-r--r--3rdparty/sol2/Catch/scripts/scriptCommon.py21
-rw-r--r--3rdparty/sol2/Catch/single_include/catch.hpp10359
-rw-r--r--3rdparty/sol2/Optional/CMakeLists.txt11
-rw-r--r--3rdparty/sol2/Optional/LICENSE_1_0.txt23
-rw-r--r--3rdparty/sol2/Optional/README.md39
-rw-r--r--3rdparty/sol2/Optional/copyright.txt10
-rw-r--r--3rdparty/sol2/Optional/optional.hpp1042
-rw-r--r--3rdparty/sol2/Optional/test_optional.cpp1459
-rw-r--r--3rdparty/sol2/Optional/test_type_traits.cpp66
-rw-r--r--3rdparty/sol2/docs/source/api/api-top.rst1
-rw-r--r--3rdparty/sol2/docs/source/api/as_args.rst50
-rw-r--r--3rdparty/sol2/docs/source/api/reference.rst5
-rw-r--r--3rdparty/sol2/docs/source/api/resolve.rst4
-rw-r--r--3rdparty/sol2/docs/source/api/state.rst21
-rw-r--r--3rdparty/sol2/docs/source/api/table.rst10
-rw-r--r--3rdparty/sol2/docs/source/api/thread.rst30
-rw-r--r--3rdparty/sol2/docs/source/api/usertype.rst3
-rw-r--r--3rdparty/sol2/docs/source/compilation.rst25
-rw-r--r--3rdparty/sol2/docs/source/conf.py2
-rw-r--r--3rdparty/sol2/docs/source/errors.rst19
-rw-r--r--3rdparty/sol2/docs/source/index.rst1
-rw-r--r--3rdparty/sol2/docs/source/tutorial/all-the-things.rst26
-rw-r--r--3rdparty/sol2/docs/source/tutorial/variables.rst6
-rw-r--r--3rdparty/sol2/examples/coroutine.cpp59
-rw-r--r--3rdparty/sol2/single.py2
-rw-r--r--3rdparty/sol2/single/sol/sol.hpp764
-rw-r--r--3rdparty/sol2/sol.hpp15
-rw-r--r--3rdparty/sol2/sol/as_args.hpp52
-rw-r--r--3rdparty/sol2/sol/call.hpp26
-rw-r--r--3rdparty/sol2/sol/compatibility/5.1.0.h4
-rw-r--r--3rdparty/sol2/sol/compatibility/5.x.x.inl2
-rw-r--r--3rdparty/sol2/sol/compatibility/version.hpp6
-rw-r--r--3rdparty/sol2/sol/container_usertype_metatable.hpp12
-rw-r--r--3rdparty/sol2/sol/coroutine.hpp15
-rw-r--r--3rdparty/sol2/sol/function.hpp10
-rw-r--r--3rdparty/sol2/sol/function_result.hpp2
-rw-r--r--3rdparty/sol2/sol/function_types_stateful.hpp6
-rw-r--r--3rdparty/sol2/sol/load_result.hpp2
-rw-r--r--3rdparty/sol2/sol/object.hpp28
-rw-r--r--3rdparty/sol2/sol/optional_implementation.hpp36
-rw-r--r--3rdparty/sol2/sol/protected_function.hpp8
-rw-r--r--3rdparty/sol2/sol/protected_function_result.hpp2
-rw-r--r--3rdparty/sol2/sol/proxy.hpp16
-rw-r--r--3rdparty/sol2/sol/reference.hpp63
-rw-r--r--3rdparty/sol2/sol/resolve.hpp11
-rw-r--r--3rdparty/sol2/sol/simple_usertype_metatable.hpp8
-rw-r--r--3rdparty/sol2/sol/stack.hpp2
-rw-r--r--3rdparty/sol2/sol/stack_check.hpp18
-rw-r--r--3rdparty/sol2/sol/stack_core.hpp4
-rw-r--r--3rdparty/sol2/sol/stack_field.hpp2
-rw-r--r--3rdparty/sol2/sol/stack_get.hpp36
-rw-r--r--3rdparty/sol2/sol/stack_probe.hpp6
-rw-r--r--3rdparty/sol2/sol/stack_proxy.hpp6
-rw-r--r--3rdparty/sol2/sol/stack_push.hpp39
-rw-r--r--3rdparty/sol2/sol/stack_reference.hpp22
-rw-r--r--3rdparty/sol2/sol/state.hpp31
-rw-r--r--3rdparty/sol2/sol/state_view.hpp35
-rw-r--r--3rdparty/sol2/sol/string_shim.hpp32
-rw-r--r--3rdparty/sol2/sol/table_core.hpp20
-rw-r--r--3rdparty/sol2/sol/table_iterator.hpp2
-rw-r--r--3rdparty/sol2/sol/thread.hpp81
-rw-r--r--3rdparty/sol2/sol/tie.hpp4
-rw-r--r--3rdparty/sol2/sol/types.hpp54
-rw-r--r--3rdparty/sol2/sol/userdata.hpp16
-rw-r--r--3rdparty/sol2/sol/usertype_metatable.hpp33
-rw-r--r--3rdparty/sol2/sol/variadic_args.hpp15
-rw-r--r--3rdparty/sol2/test_containers.cpp32
-rw-r--r--3rdparty/sol2/test_functions.cpp117
-rw-r--r--3rdparty/sol2/test_inheritance.cpp1
-rw-r--r--3rdparty/sol2/test_storage.cpp34
-rw-r--r--3rdparty/sol2/test_usertypes.cpp46
178 files changed, 1616 insertions, 42240 deletions
diff --git a/3rdparty/sol2/.gitignore b/3rdparty/sol2/.gitignore
index 158a742b4c4..ae380bf9f41 100644
--- a/3rdparty/sol2/.gitignore
+++ b/3rdparty/sol2/.gitignore
@@ -70,3 +70,4 @@ main.lua
LuaJIT-2.1.0/
lua-5.3.3-cxx/
lua-5.3.3.vcxproj-cxx.filters
+sol.pyproj
diff --git a/3rdparty/sol2/.gitmodules b/3rdparty/sol2/.gitmodules
deleted file mode 100644
index 570fde0f51f..00000000000
--- a/3rdparty/sol2/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "Catch"]
- path = Catch
- url = https://github.com/philsquared/Catch.git \ No newline at end of file
diff --git a/3rdparty/sol2/.travis.yml b/3rdparty/sol2/.travis.yml
index aa6677ef55f..1428ce8c8d1 100644
--- a/3rdparty/sol2/.travis.yml
+++ b/3rdparty/sol2/.travis.yml
@@ -18,6 +18,12 @@ script:
- ./bootstrap.py --ci && ninja
notifications:
+ webhooks:
+ urls:
+ - https://webhooks.gitter.im/e/b864d553270a069d26c8
+ on_success: change # options: [always|never|change] default: always
+ on_failure: always # options: [always|never|change] default: always
+ on_start: never # options: [always|never|change] default: always
email:
on_success: change
on_failure: change
diff --git a/3rdparty/sol2/Catch/.gitignore b/3rdparty/sol2/Catch/.gitignore
deleted file mode 100644
index 3ca4b5c555c..00000000000
--- a/3rdparty/sol2/Catch/.gitignore
+++ /dev/null
@@ -1,22 +0,0 @@
-*.build
-*.pbxuser
-*.mode1v3
-*.ncb
-*.suo
-Debug
-Release
-*.user
-*.xcuserstate
-.DS_Store
-xcuserdata
-CatchSelfTest.xcscheme
-Breakpoints.xcbkptlist
-projects/VS2010/TestCatch/_UpgradeReport_Files/
-projects/VS2010/TestCatch/TestCatch/TestCatch.vcxproj.filters
-projects/VisualStudio/TestCatch/UpgradeLog.XML
-UpgradeLog.XML
-Resources/DWARF
-projects/XCode/iOSTest/Build
-*.pyc
-DerivedData
-*.xccheckout
diff --git a/3rdparty/sol2/Catch/.travis.yml b/3rdparty/sol2/Catch/.travis.yml
deleted file mode 100644
index e63a76a36ef..00000000000
--- a/3rdparty/sol2/Catch/.travis.yml
+++ /dev/null
@@ -1,163 +0,0 @@
-language: cpp
-sudo: false
-
-cache:
- ccache: true
- directories:
- - $HOME/.ccache
-
-env:
- global:
- - USE_CCACHE=1
- - CCACHE_COMPRESS=1
- - CCACHE_MAXSIZE=200M
- - CCACHE_CPP2=1
-
-
-matrix:
- include:
-
- # 1/ Linux Clang Builds
- - os: linux
- compiler: clang
- addons: &clang35
- apt:
- sources: ['llvm-toolchain-precise-3.5', 'ubuntu-toolchain-r-test']
- packages: ['clang-3.5']
- env: COMPILER='ccache clang++-3.5' BUILD_TYPE='Release'
-
- - os: linux
- compiler: clang
- addons: *clang35
- env: COMPILER='ccache clang++-3.5' BUILD_TYPE='Debug'
-
-
- - os: linux
- compiler: clang
- addons: &clang36
- apt:
- sources: ['llvm-toolchain-precise-3.6', 'ubuntu-toolchain-r-test']
- packages: ['clang-3.6']
- env: COMPILER='ccache clang++-3.6' BUILD_TYPE='Release'
-
- - os: linux
- compiler: clang
- addons: *clang36
- env: COMPILER='ccache clang++-3.6' BUILD_TYPE='Debug'
-
-
- - os: linux
- compiler: clang
- addons: &clang37
- apt:
- sources: ['llvm-toolchain-precise-3.7', 'ubuntu-toolchain-r-test']
- packages: ['clang-3.7']
- env: COMPILER='ccache clang++-3.7' BUILD_TYPE='Release'
-
- - os: linux
- compiler: clang
- addons: *clang37
- env: COMPILER='ccache clang++-3.7' BUILD_TYPE='Debug'
-
-
- - os: linux
- compiler: clang
- addons: &clang38
- apt:
- sources: ['llvm-toolchain-precise', 'ubuntu-toolchain-r-test']
- packages: ['clang-3.8']
- env: COMPILER='ccache clang++-3.8' BUILD_TYPE='Release'
-
- - os: linux
- compiler: clang
- addons: *clang38
- env: COMPILER='ccache clang++-3.8' BUILD_TYPE='Debug'
-
-
- # 2/ Linux GCC Builds
- - os: linux
- compiler: gcc
- addons: &gcc48
- apt:
- sources: ['ubuntu-toolchain-r-test']
- packages: ['g++-4.8']
- env: COMPILER='ccache g++-4.8' BUILD_TYPE='Release'
-
- - os: linux
- compiler: gcc
- addons: *gcc48
- env: COMPILER='ccache g++-4.8' BUILD_TYPE='Debug'
-
-
- - os: linux
- compiler: gcc
- addons: &gcc49
- apt:
- sources: ['ubuntu-toolchain-r-test']
- packages: ['g++-4.9']
- env: COMPILER='ccache g++-4.9' BUILD_TYPE='Release'
-
- - os: linux
- compiler: gcc
- addons: *gcc49
- env: COMPILER='ccache g++-4.9' BUILD_TYPE='Debug'
-
-
- - os: linux
- compiler: gcc
- addons: &gcc5
- apt:
- sources: ['ubuntu-toolchain-r-test']
- packages: ['g++-5']
- env: COMPILER='ccache g++-5' BUILD_TYPE='Release'
-
- - os: linux
- compiler: gcc
- addons: *gcc5
- env: COMPILER='ccache g++-5' BUILD_TYPE='Debug'
-
-
- # 3/ OSX Clang Builds
- - os: osx
- osx_image: xcode6.4
- compiler: clang
- env: COMPILER='ccache clang++' BUILD_TYPE='Debug'
-
- - os: osx
- osx_image: xcode6.4
- compiler: clang
- env: COMPILER='ccache clang++' BUILD_TYPE='Release'
-
-
- - os: osx
- osx_image: xcode7
- compiler: clang
- env: COMPILER='ccache clang++' BUILD_TYPE='Debug'
-
- - os: osx
- osx_image: xcode7
- compiler: clang
- env: COMPILER='ccache clang++' BUILD_TYPE='Release'
-
-
-install:
- - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
- - mkdir -p ${DEPS_DIR} && cd ${DEPS_DIR}
- - |
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
- CMAKE_URL="http://www.cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz"
- mkdir cmake && travis_retry wget --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
- export PATH=${DEPS_DIR}/cmake/bin:${PATH}
- elif [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
- brew install cmake ccache
- fi
-
-before_script:
- - export CXX=${COMPILER}
- - cd ${TRAVIS_BUILD_DIR}
- - cmake -Hprojects/CMake -BBuild -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
- - cd Build
-
-script:
- - make -j 2
- - ctest -V -j 2
diff --git a/3rdparty/sol2/Catch/LICENSE_1_0.txt b/3rdparty/sol2/Catch/LICENSE_1_0.txt
deleted file mode 100644
index 36b7cd93cdf..00000000000
--- a/3rdparty/sol2/Catch/LICENSE_1_0.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-Boost Software License - Version 1.0 - August 17th, 2003
-
-Permission is hereby granted, free of charge, to any person or organization
-obtaining a copy of the software and accompanying documentation covered by
-this license (the "Software") to use, reproduce, display, distribute,
-execute, and transmit the Software, and to prepare derivative works of the
-Software, and to permit third-parties to whom the Software is furnished to
-do so, all subject to the following:
-
-The copyright notices in the Software and this entire statement, including
-the above license grant, this restriction and the following disclaimer,
-must be included in all copies of the Software, in whole or in part, and
-all derivative works of the Software, unless such copies or derivative
-works are solely in the form of machine-executable object code generated by
-a source language processor.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
-SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
-FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-DEALINGS IN THE SOFTWARE.
diff --git a/3rdparty/sol2/Catch/README.md b/3rdparty/sol2/Catch/README.md
deleted file mode 100644
index 33d124135c9..00000000000
--- a/3rdparty/sol2/Catch/README.md
+++ /dev/null
@@ -1,22 +0,0 @@
-![catch logo](catch-logo-small.png)
-
-*v1.3.4*
-
-Build status (on Travis CI) [![Build Status](https://travis-ci.org/philsquared/Catch.png)](https://travis-ci.org/philsquared/Catch)
-
-<a href="https://raw.githubusercontent.com/philsquared/Catch/master/single_include/catch.hpp">The latest, single header, version can be downloaded directly using this link</a>
-
-## What's the Catch?
-
-Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience.
-
-## How to use it
-This documentation comprises these three parts:
-
-* [Why do we need yet another C++ Test Framework?](docs/why-catch.md)
-* [Tutorial](docs/tutorial.md) - getting started
-* [Reference section](docs/Readme.md) - all the details
-
-## More
-* Issues and bugs can be raised on the [Issue tracker on GitHub](https://github.com/philsquared/Catch/issues)
-* For discussion or questions please use [the dedicated Google Groups forum](https://groups.google.com/forum/?fromgroups#!forum/catch-forum)
diff --git a/3rdparty/sol2/Catch/catch-logo-small.png b/3rdparty/sol2/Catch/catch-logo-small.png
deleted file mode 100644
index a4e74e8a27e..00000000000
--- a/3rdparty/sol2/Catch/catch-logo-small.png
+++ /dev/null
Binary files differ
diff --git a/3rdparty/sol2/Catch/docs/Readme.md b/3rdparty/sol2/Catch/docs/Readme.md
deleted file mode 100644
index 74b876de33b..00000000000
--- a/3rdparty/sol2/Catch/docs/Readme.md
+++ /dev/null
@@ -1,20 +0,0 @@
-These are the currently documented areas of the framework. There is more to come.
-
-Before looking at this material be sure to read the [tutorial](tutorial.md)
-
-* [Assertion macros](assertions.md)
-* [Logging macros](logging.md)
-* [Test cases and sections](test-cases-and-sections.md)
-* [Test fixtures](test-fixtures.md)
-* [Command line](command-line.md)
-* [Build systems](build-systems.md)
-* [Supplying your own main()](own-main.md)
-* [Configuration](configuration.md)
-* [String Conversions](tostring.md)
-* [Why are my tests slow to compile?](slow-compiles.md)
-
-Other
-
-* [Why Catch?](why-catch.md)
-* [What's changed](whats-changed.md)
-* [Contributing](contributing.md)
diff --git a/3rdparty/sol2/Catch/docs/assertions.md b/3rdparty/sol2/Catch/docs/assertions.md
deleted file mode 100644
index 82bb96a3447..00000000000
--- a/3rdparty/sol2/Catch/docs/assertions.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# Assertion Macros
-
-Most test frameworks have a large collection of assertion macros to capture all possible conditional forms (```_EQUALS```, ```_NOTEQUALS```, ```_GREATER_THAN``` etc).
-
-Catch is different. Because it decomposes natural C-style conditional expressions most of these forms are reduced to one or two that you will use all the time. That said there are a rich set of auxilliary macros as well. We'll describe all of these here.
-
-Most of these macros come in two forms:
-
-## Natural Expressions
-
-The ```REQUIRE``` family of macros tests an expression and aborts the test case if it fails.
-The ```CHECK``` family are equivalent but execution continues in the same test case even if the assertion fails. This is useful if you have a series of essentially orthogonal assertions and it is useful to see all the results rather than stopping at the first failure.
-
-* **REQUIRE(** _expression_ **)** and
-* **CHECK(** _expression_ **)**
-
-Evaluates the expression and records the result. If an exception is thrown it is caught, reported, and counted as a failure. These are the macros you will use most of the time
-
-Examples:
-```
-CHECK( str == "string value" );
-CHECK( thisReturnsTrue() );
-REQUIRE( i == 42 );
-```
-
-* **REQUIRE_FALSE(** _expression_ **)** and
-* **CHECK_FALSE(** _expression_ **)**
-
-Evaluates the expression and records the _logical NOT_ of the result. If an exception is thrown it is caught, reported, and counted as a failure.
-(these forms exist as a workaround for the fact that ! prefixed expressions cannot be decomposed).
-
-Example:
-```
-REQUIRE_FALSE( thisReturnsFalse() );
-```
-
-### Floating point comparisons
-
-When comparing floating point numbers - especially if at least one of them has been computed - great care must be taken to allow for rounding errors and inexact representations.
-
-Catch provides a way to perform tolerant comparisons of floating point values through use of a wrapper class called ```Approx```. ```Approx``` can be used on either side of a comparison expression. It overloads the comparisons operators to take a tolerance into account. Here's a simple example:
-
-```
-REQUIRE( performComputation() == Approx( 2.1 ) );
-```
-
-By default a small epsilon value is used that covers many simple cases of rounding errors. When this is insufficent the epsilon value (the amount within which a difference either way is ignored) can be specified by calling the ```epsilon()``` method on the ```Approx``` instance. e.g.:
-
-```
-REQUIRE( 22/7 == Approx( 3.141 ).epsilon( 0.01 ) );
-```
-
-When dealing with very large or very small numbers it can be useful to specify a scale, which can be achieved by calling the ```scale()``` method on the ```Approx``` instance.
-
-## Exceptions
-
-* **REQUIRE_THROWS(** _expression_ **)** and
-* **CHECK_THROWS(** _expression_ **)**
-
-Expects that an exception (of any type) is be thrown during evaluation of the expression.
-
-* **REQUIRE_THROWS_AS(** _expression_, _exception type_ **)** and
-* **CHECK_THROWS_AS(** _expression_, _exception type_ **)**
-
-Expects that an exception of the _specified type_ is thrown during evaluation of the expression.
-
-* **REQUIRE_NOTHROW(** _expression_ **)** and
-* **CHECK_NOTHROW(** _expression_ **)**
-
-Expects that no exception is thrown during evaluation of the expression.
-
-## Matcher expressions
-
-To support Matchers a slightly different form is used. Matchers will be more fully documented elsewhere. *Note that Matchers are still at early stage development and are subject to change.*
-
-* **REQUIRE_THAT(** _lhs_, _matcher call_ **)** and
-* **CHECK_THAT(** _lhs_, _matcher call_ **)**
-
-
----
-
-[Home](Readme.md) \ No newline at end of file
diff --git a/3rdparty/sol2/Catch/docs/build-systems.md b/3rdparty/sol2/Catch/docs/build-systems.md
deleted file mode 100644
index b001dc19d99..00000000000
--- a/3rdparty/sol2/Catch/docs/build-systems.md
+++ /dev/null
@@ -1,86 +0,0 @@
-# Integration with build systems
-
-Build Systems may refer to low-level tools, like CMake, or larger systems that run on servers, like Jenkins or TeamCity. This page will talk about both.
-
-# Continuous Integration systems
-
-Probably the most important aspect to using Catch with a build server is the use of different reporters. Catch comes bundled with three reporters that should cover the majority of build servers out there - although adding more for better integration with some is always a possibility (as has been done with TeamCity).
-
-Two of these reporters are built in (XML and JUnit) and the third (TeamCity) is included as a separate header. It's possible that the other two may be split out in the future too - as that would make the core of Catch smaller for those that don't need them.
-
-## XML Reporter
-```-r xml```
-
-The XML Reporter writes in an XML format that is specific to Catch.
-
-The advantage of this format is that it corresponds well to the way Catch works (especially the more unusual features, such as nested sections) and is a fully streaming format - that is it writes output as it goes, without having to store up all its results before it can start writing.
-
-The disadvantage is that, being specific to Catch, no existing build servers understand the format natively. It can be used as input to an XSLT transformation that could covert it to, say, HTML - although this loses the streaming advantage, of course.
-
-## JUnit Reporter
-```-r junit```
-
-The JUnit Reporter writes in an XML format that mimics the JUnit ANT schema.
-
-The advantage of this format is that the JUnit Ant schema is widely understood by most build servers and so can usually be consumed with no additional work.
-
-The disadvantage is that this schema was designed to correspond to how JUnit works - and there is a significant mismatch with how Catch works. Additionally the format is not streamable (because opening elements hold counts of failed and passing tests as attributes) - so the whole test run must complete before it can be written.
-
-## TeamCity Reporter
-```-r teamcity```
-
-The TeamCity Reporter writes TeamCity service messages to stdout. In order to be able to use this reporter an additional header must also be included.
-
-```catch_reporter_teamcity.hpp``` can be found in the ```include\reporters``` directory. It should be included in the same file that ```#define```s ```CATCH_CONFIG_MAIN``` or ```CATCH_CONFIG_RUNNER```. The ```#include``` should be placed after ```#include```ing Catch itself.
-
-e.g.:
-
-```
-#define CATCH_CONFIG_MAIN
-#include "catch.hpp"
-#include "catch_reporter_teamcity.hpp"
-```
-
-Being specific to TeamCity this is the best reporter to use with it - but it is completely unsuitable for any other purpose. It is a streaming format (it writes as it goes) - although test results don't appear in the TeamCity interface until the completion of a suite (usually the whole test run).
-
-# Low-level tools
-
-## CMake
-
-You can use the following CMake script to automatically fetch Catch from github and configure it as an external project:
-
-```CMake
-cmake_minimum_required(VERSION 2.8.8)
-project(catch_builder CXX)
-include(ExternalProject)
-find_package(Git REQUIRED)
-
-ExternalProject_Add(
- catch
- PREFIX ${CMAKE_BINARY_DIR}/catch
- GIT_REPOSITORY https://github.com/philsquared/Catch.git
- TIMEOUT 10
- UPDATE_COMMAND ${GIT_EXECUTABLE} pull
- CONFIGURE_COMMAND ""
- BUILD_COMMAND ""
- INSTALL_COMMAND ""
- LOG_DOWNLOAD ON
- )
-
-# Expose required variable (CATCH_INCLUDE_DIR) to parent scope
-ExternalProject_Get_Property(catch source_dir)
-set(CATCH_INCLUDE_DIR ${source_dir}/include CACHE INTERNAL "Path to include folder for Catch")
-```
-
-If you put it in, e.g., `${PROJECT_SRC_DIR}/${EXT_PROJECTS_DIR}/catch/`, you can use it in your project by adding the following to your root CMake file:
-
-```CMake
-# Includes Catch in the project:
-add_subdirectory(${EXT_PROJECTS_DIR}/catch)
-include_directories(${CATCH_INCLUDE_DIR} ${COMMON_INCLUDES})
-enable_testing(true) # Enables unit-testing.
-```
-
----
-
-[Home](Readme.md) \ No newline at end of file
diff --git a/3rdparty/sol2/Catch/docs/command-line.md b/3rdparty/sol2/Catch/docs/command-line.md
deleted file mode 100644
index d1d4bd4a614..00000000000
--- a/3rdparty/sol2/Catch/docs/command-line.md
+++ /dev/null
@@ -1,220 +0,0 @@
-Catch works quite nicely without any command line options at all - but for those times when you want greater control the following options are available.
-Click one of the followings links to take you straight to that option - or scroll on to browse the available options.
-
-<a href="#specifying-which-tests-to-run"> ` <test-spec> ...`</a><br />
-<a href="#usage"> ` -h, -?, --help`</a><br />
-<a href="#listing-available-tests-tags-or-reporters"> ` -l, --list-tests`</a><br />
-<a href="#listing-available-tests-tags-or-reporters"> ` -t, --list-tags`</a><br />
-<a href="#showing-results-for-successful-tests"> ` -s, --success`</a><br />
-<a href="#breaking-into-the-debugger"> ` -b, --break`</a><br />
-<a href="#eliding-assertions-expected-to-throw"> ` -e, --nothrow`</a><br />
-<a href="#invisibles"> ` -i, --invisibles`</a><br />
-<a href="#sending-output-to-a-file"> ` -o, --out`</a><br />
-<a href="#choosing-a-reporter-to-use"> ` -r, --reporter`</a><br />
-<a href="#naming-a-test-run"> ` -n, --name`</a><br />
-<a href="#aborting-after-a-certain-number-of-failures"> ` -a, --abort`</a><br />
-<a href="#aborting-after-a-certain-number-of-failures"> ` -x, --abortx`</a><br />
-<a href="#warnings"> ` -w, --warn`</a><br />
-<a href="#reporting-timings"> ` -d, --durations`</a><br />
-<a href="#input-file"> ` -f, --input-file`</a><br />
-
-</br>
-
-<a href="#list-test-names-only"> ` --list-test-names-only`</a><br />
-<a href="#listing-available-tests-tags-or-reporters"> ` --list-reporters`</a><br />
-<a href="#order"> ` --order`</a><br />
-<a href="#rng-seed"> ` --rng-seed`</a><br />
-
-</br>
-
-
-
-<a id="specifying-which-tests-to-run"></a>
-## Specifying which tests to run
-
-<pre>&lt;test-spec> ...</pre>
-
-Test cases, wildcarded test cases, tags and tag expressions are all passed directly as arguments. Tags are distinguished by being enclosed in square brackets.
-
-If no test specs are supplied then all test cases, except "hidden" tests, are run.
-A test is hidden by giving it any tag starting with (or just) a period (```.```) - or, in the deprecated case, tagged ```[hide]``` or given name starting with `'./'`. To specify hidden tests from the command line ```[.]``` or ```[hide]``` can be used *regardless of how they were declared*.
-
-Specs must be enclosed in quotes if they contain spaces. If they do not contain spaces the quotes are optional.
-
-Wildcards consist of the `*` character at the beginning and/or end of test case names and can substitute for any number of any characters (including none).
-
-Test specs are case insensitive.
-
-If a spec is prefixed with `exclude:` or the `~` character then the pattern matches an exclusion. This means that tests matching the pattern are excluded from the set - even if a prior inclusion spec included them. Subsequent inclusion specs will take precendence, however.
-Inclusions and exclusions are evaluated in left-to-right order.
-
-Test case examples:
-
-<pre>thisTestOnly Matches the test case called, 'thisTestOnly'
-"this test only" Matches the test case called, 'this test only'
-these* Matches all cases starting with 'these'
-exclude:notThis Matches all tests except, 'notThis'
-~notThis Matches all tests except, 'notThis'
-~*private* Matches all tests except those that contain 'private'
-a* ~ab* abc Matches all tests that start with 'a', except those that
- start with 'ab', except 'abc', which is included
-</pre>
-
-Names within square brackets are interpreted as tags.
-A series of tags form an AND expression wheras a comma-separated sequence forms an OR expression. e.g.:
-
-<pre>[one][two],[three]</pre>
-This matches all tests tagged `[one]` and `[two]`, as well as all tests tagged `[three]`
-
-
-<a id="choosing-a-reporter-to-use"></a>
-## Choosing a reporter to use
-
-<pre>-r, --reporter &lt;reporter></pre>
-
-A reporter is an object that formats and structures the output of running tests, and potentially summarises the results. By default a console reporter is used that writes, IDE friendly, textual output. Catch comes bundled with some alternative reporters, but more can be added in client code.<br />
-The bundled reporters are:
-
-<pre>-r console
--r compact
--r xml
--r junit
-</pre>
-
-The JUnit reporter is an xml format that follows the structure of the JUnit XML Report ANT task, as consumed by a number of third-party tools, including Continuous Integration servers such as Hudson. If not otherwise needed, the standard XML reporter is preferred as this is a streaming reporter, whereas the Junit reporter needs to hold all its results until the end so it can write the overall results into attributes of the root node.
-
-<a id="breaking-into-the-debugger"></a>
-## Breaking into the debugger
-<pre>-b, --break</pre>
-
-In some IDEs (currently XCode and Visual Studio) it is possible for Catch to break into the debugger on a test failure. This can be very helpful during debug sessions - especially when there is more than one path through a particular test.
-In addition to the command line option, ensure you have built your code with the DEBUG preprocessor symbol
-
-<a id="showing-results-for-successful-tests"></a>
-## Showing results for successful tests
-<pre>-s, --success</pre>
-
-Usually you only want to see reporting for failed tests. Sometimes it's useful to see *all* the output (especially when you don't trust that that test you just added worked first time!).
-To see successful, as well as failing, test results just pass this option. Note that each reporter may treat this option differently. The Junit reporter, for example, logs all results regardless.
-
-<a id="aborting-after-a-certain-number-of-failures"></a>
-## Aborting after a certain number of failures
-<pre>-a, --abort
--x, --abortx [&lt;failure threshold>]
-</pre>
-
-If a ```REQUIRE``` assertion fails the test case aborts, but subsequent test cases are still run.
-If a ```CHECK``` assertion fails even the current test case is not aborted.
-
-Sometimes this results in a flood of failure messages and you'd rather just see the first few. Specifying ```-a``` or ```--abort``` on its own will abort the whole test run on the first failed assertion of any kind. Use ```-x``` or ```--abortx``` followed by a number to abort after that number of assertion failures.
-
-<a id="listing-available-tests-tags-or-reporters"></a>
-## Listing available tests, tags or reporters
-<pre>-l, --list-tests
--t, --list-tags
---list-reporters
-</pre>
-
-```-l``` or ```--list-tests`` will list all registered tests, along with any tags.
-If one or more test-specs have been supplied too then only the matching tests will be listed.
-
-```-t``` or ```--list-tags``` lists all available tags, along with the number of test cases they match. Again, supplying test specs limits the tags that match.
-
-```--list-reporters``` lists the available reporters.
-
-<a id="sending-output-to-a-file"></a>
-## Sending output to a file
-<pre>-o, --out &lt;filename>
-</pre>
-
-Use this option to send all output to a file. By default output is sent to stdout (note that uses of stdout and stderr *from within test cases* are redirected and included in the report - so even stderr will effectively end up on stdout).
-
-<a id="naming-a-test-run"></a>
-## Naming a test run
-<pre>-n, --name &lt;name for test run></pre>
-
-If a name is supplied it will be used by the reporter to provide an overall name for the test run. This can be useful if you are sending to a file, for example, and need to distinguish different test runs - either from different Catch executables or runs of the same executable with different options. If not supplied the name is defaulted to the name of the executable.
-
-<a id="eliding-assertions-expected-to-throw"></a>
-## Eliding assertions expected to throw
-<pre>-e, --nothrow</pre>
-
-Skips all assertions that test that an exception is thrown, e.g. ```REQUIRE_THROWS```.
-
-These can be a nuisance in certain debugging environments that may break when exceptions are thrown (while this is usually optional for handled exceptions, it can be useful to have enabled if you are trying to track down something unexpected).
-
-Sometimes exceptions are expected outside of one of the assertions that tests for them (perhaps thrown and caught within the code-under-test). The whole test case can be skipped when using ```-e``` by marking it with the ```[!throws]``` tag.
-
-When running with this option any throw checking assertions are skipped so as not to contribute additional noise. Be careful if this affects the behaviour of subsequent tests.
-
-<a id="invisibles"></a>
-## Make whitespace visible
-<pre>-i, --invisibles</pre>
-
-If a string comparison fails due to differences in whitespace - especially leading or trailing whitespace - it can be hard to see what's going on.
-This option transforms tabs and newline characters into ```\t``` and ```\n``` respectively when printing.
-
-<a id="warnings"></a>
-## Warnings
-<pre>-w, --warn &lt;warning name></pre>
-
-Enables reporting of warnings (only one, at time of this writing). If a warning is issued it fails the test.
-
-The ony available warning, presently, is ```NoAssertions```. This warning fails a test case, or (leaf) section if no assertions (```REQUIRE```/ ```CHECK``` etc) are encountered.
-
-<a id="reporting-timings"></a>
-## Reporting timings
-<pre>-d, --durations &lt;yes/no></pre>
-
-When set to ```yes``` Catch will report the duration of each test case, in milliseconds. Note that it does this regardless of whether a test case passes or fails. Note, also, the certain reporters (e.g. Junit) always report test case durations regardless of this option being set or not.
-
-<a id="input-file"></a>
-## Load test names to run from a file
-<pre>-f, --input-file &lt;filename></pre>
-
-Provide the name of a file that contains a list of test case names - one per line. Blank lines are skipped and anything after the comment character, ```#```, is ignored.
-
-A useful way to generate an initial instance of this file is to use the <a href="#list-test-names-only">list-test-names-only</a> option. This can then be manually curated to specify a specific subset of tests - or in a specific order.
-
-<a id="list-test-names-only"></a>
-## Just test names
-<pre>--list-test-names-only</pre>
-
-This option lists all available tests in a non-indented form, one on each line. This makes it ideal for saving to a file and feeding back into the <a href="#input-file">```-f``` or ```--input-file```</a> option.
-
-
-<a id="order"></a>
-## Specify the order test cases are run
-<pre>--order &lt;decl|lex|rand&gt;</pre>
-
-Test cases are ordered one of three ways:
-
-
-### decl
-Declaration order. The order the tests were originally declared in. Note that ordering between files is not guaranteed and is implementation dependent.
-
-### lex
-Lexicographically sorted. Tests are sorted, alpha-numerically, by name.
-
-### rand
-Randomly sorted. Test names are sorted using ```std::random_shuffle()```. By default the random number generator is seeded with 0 - and so the order is repeatable. To control the random seed see <a href="#rng-seed">rng-seed</a>.
-
-<a id="rng-seed"></a>
-## Specify a seed for the Random Number Generator
-<pre>--rng-seed &lt;'time'|number&gt;</pre>
-
-Sets a seed for the random number generator using ```std::srand()```.
-If a number is provided this is used directly as the seed so the random pattern is repeatable.
-Alternatively if the keyword ```time``` is provided then the result of calling ```std::time(0)``` is used and so the pattern becomes unpredictable.
-
-In either case the actual value for the seed is printed as part of Catch's output so if an issue is discovered that is sensitive to test ordering the ordering can be reproduced - even if it was originally seeded from ```std::time(0)```.
-
-<a id="usage"></a>
-## Usage
-<pre>-h, -?, --help</pre>
-
-Prints the command line arguments to stdout
-
----
-
-[Home](Readme.md) \ No newline at end of file
diff --git a/3rdparty/sol2/Catch/docs/configuration.md b/3rdparty/sol2/Catch/docs/configuration.md
deleted file mode 100644
index 33052190cf3..00000000000
--- a/3rdparty/sol2/Catch/docs/configuration.md
+++ /dev/null
@@ -1,73 +0,0 @@
-Catch is designed to "just work" as much as possible. For most people the only configuration needed is telling Catch which source file should host all the implementation code (```CATCH_CONFIG_MAIN```).
-
-Nonetheless there are still some occasions where finer control is needed. For these occasions Catch exposes a small set of macros for configuring how it is built.
-
-# main()/ implementation
-
- CATCH_CONFIG_MAIN // Designates this as implementation file and defines main()
- CATCH_CONFIG_RUNNER // Designates this as implementation file
-
-Although Catch is header only it still, internally, maintains a distinction between interface headers and headers that contain implementation. Only one source file in your test project should compile the implementation headers and this is controlled through the use of one of these macros - one of these identifiers should be defined before including Catch in *exactly one implementation file in your project*.
-
-# Prefixing Catch macros
-
- CATCH_CONFIG_PREFIX_ALL
-
-To keep test code clean and uncluttered Catch uses short macro names (e.g. ```TEST_CASE``` and ```REQUIRE```). Occasionally these may conflict with identifiers from platform headers or the system under test. In this case the above identifier can be defined. This will cause all the Catch user macros to be prefixed with ```CATCH_``` (e.g. ```CATCH_TEST_CASE``` and ```CATCH_REQUIRE```).
-
-
-# Terminal colour
-
- CATCH_CONFIG_COLOUR_NONE // completely disables all text colouring
- CATCH_CONFIG_COLOUR_WINDOWS // forces the Win32 console API to be used
- CATCH_CONFIG_COLOUR_ANSI // forces ANSI colour codes to be used
-
-Yes, I am English, so I will continue to spell "colour" with a 'u'.
-
-When sending output to the terminal, if it detects that it can, Catch will use colourised text. On Windows the Win32 API, ```SetConsoleTextAttribute```, is used. On POSIX systems ANSI colour escape codes are inserted into the stream.
-
-For finer control you can define one of the above identifiers (these are mutually exclusive - but that is not checked so may behave unexpectedly if you mix them):
-
-Note that when ANSI colour codes are used "unistd.h" must be includable - along with a definition of ```isatty()```
-
-Typically you should place the ```#define``` before #including "catch.hpp" in your main source file - but if you prefer you can define it for your whole project by whatever your IDE or build system provides for you to do so.
-
-# Console width
-
- CATCH_CONFIG_CONSOLE_WIDTH = x // where x is a number
-
-Catch formats output intended for the console to fit within a fixed number of characters. This is especially important as indentation is used extensively and uncontrolled line wraps break this.
-By default a console width of 80 is assumed but this can be controlled by defining the above identifier to be a different value.
-
-# stdout
-
- CATCH_CONFIG_NOSTDOUT
-
-Catch does not use ```std::cout``` and ```std::cerr``` directly but gets them from ```Catch::cout()``` and ```Catch::cerr()``` respectively. If the above identifier is defined these functions are left unimplemented and you must implement them yourself. Their signatures are:
-
- std::ostream& cout();
- std::ostream& cerr();
-
-This can be useful on certain platforms that do not provide ```std::cout``` and ```std::cerr```, such as certain embedded systems.
-
-# C++ conformance toggles
-
- CATCH_CONFIG_CPP11_NULLPTR // nullptr is supported?
- CATCH_CONFIG_CPP11_NOEXCEPT // noexcept is supported?
- CATCH_CONFIG_CPP11_GENERATED_METHODS // delete and default keywords for methods
- CATCH_CONFIG_CPP11_IS_ENUM // std::is_enum is supported?
- CATCH_CONFIG_CPP11_TUPLE // std::tuple is supported
- CATCH_CONFIG_VARIADIC_MACROS // Usually pre-C++11 compiler extensions are sufficient
- CATCH_CONFIG_CPP11_LONG_LONG // generates overloads for the long long type
- CATCH_CONFIG_CPP11_OVERRIDE // CATCH_OVERRIDE expands to override (for virtual function implementations)
- CATCH_CONFIG_CPP11_UNIQUE_PTR // Use std::unique_ptr instead of std::auto_ptr
-
-Catch has some basic compiler detection that will attempt to select the appropriate mix of these macros. However being incomplete - and often without access to the respective compilers - this detection tends to be conservative.
-So overriding control is given to the user. If a compiler supports a feature (and Catch does not already detect it) then one or more of these may be defined to enable it (or suppress it, in some cases). If you do do this please raise an issue, specifying your compiler version (ideally with an idea of how to detect it) and stating that it has such support.
-You may also suppress any of these features by using the `_NO_` form, e.g. `CATCH_CONFIG_CPP11_NO_NULLPTR`.
-
-All C++11 support can be disabled with `CATCH_CONFIG_NO_CPP11`
-
----
-
-[Home](Readme.md) \ No newline at end of file
diff --git a/3rdparty/sol2/Catch/docs/contributing.md b/3rdparty/sol2/Catch/docs/contributing.md
deleted file mode 100644
index 49a663c042b..00000000000
--- a/3rdparty/sol2/Catch/docs/contributing.md
+++ /dev/null
@@ -1,23 +0,0 @@
-# Contributing to Catch
-
-So you want to contribute something to Catch? That's great! Whether it's a bug fix, a new feature, support for additional compilers - or just a fix to the documentation - all contributions are very welcome and very much appreciated. Of course so are bug reports and other comments and questions.
-
-If you are contributing to the code base there are a few simple guidelines to keep in mind. This also includes notes to help you find your way around. As this is liable to drift out of date please raise an issue or, better still, a pull request for this file, if you notice that.
-
-## Branches
-
-Ongoing development is on the "develop" branch (if there is one, currently), or on feature branches that are branched off of develop. Please target any pull requests at develop, or, for larger chunks of work, a branch off of develop.
-
-## Directory structure
-
-Users of Catch primarily use the single header version. Maintainers should work with the full source (which is still, primarily, in headers). This can be found in the ```include``` folder, but you may prefer to use one of the IDE project files (for MSVC or XCode). These can be found under ```projects/```*IDE Name*```/```*project name*. A number of contributors have proposed make files, and submitted their own versions. At some point these should be made available too.
-
-In addition to the include files and IDE projects there are a number of tests in cpp files. These can all be found in ```projects/SelfTest```. You'll also see a ```SurrogateCpps``` directory in there. This contains a set of cpp files that each ```#include``` a single header. While these files are not essential to compilation they help to keep the implementation headers self-contained. At time of writing this set is not complete but has reasonable coverage. If you add additional headers please try to remember to add a surrogate cpp for it.
-
-The other directories are ```scripts``` which contains a set of python scripts to help in testing Catch as well as generating the single include, and docs, which contains the documentation as a set of markdown files.
-
- *this document is in-progress...*
-
----
-
-[Home](Readme.md) \ No newline at end of file
diff --git a/3rdparty/sol2/Catch/docs/logging.md b/3rdparty/sol2/Catch/docs/logging.md
deleted file mode 100644
index a659b3e8e81..00000000000
--- a/3rdparty/sol2/Catch/docs/logging.md
+++ /dev/null
@@ -1,52 +0,0 @@
-# Logging macros
-
-Additional messages can be logged during a test case.
-
-## Streaming macros
-
-All these macros allow heterogenous sequences of values to be streaming using the insertion operator (```<<```) in the same way that std::ostream, std::cout, etc support it.
-
-E.g.:
-```c++
-INFO( "The number is " << i );
-```
-
-(Note that there is no initial ```<<``` - instead the insertion sequence is placed in parentheses.)
-These macros come in three forms:
-
-**INFO(** _message expression_ **)**
-
-The message is logged to a buffer, but only reported with the next assertion that is logged. This allows you to log contextual information in case of failures which is not shown during a successful test run (for the console reporter, without -s). Messages are removed from the buffer at the end of their scope, so may be used, for example, in loops.
-
-**WARN(** _message expression_ **)**
-
-The message is always reported but does not fail the test.
-
-**FAIL(** _message expression_ **)**
-
-The message is reported and the test case fails.
-
-## Quickly capture a variable value
-
-**CAPTURE(** _expression_ **)**
-
-Sometimes you just want to log the name and value of a variable. While you can easily do this with the INFO macro, above, as a convenience the CAPTURE macro handles the stringising of the variable name for you (actually it works with any expression, not just variables).
-
-E.g.
-```c++
-CAPTURE( theAnswer );
-```
-
-This would log something like:
-
-<pre>"theAnswer := 42"</pre>
-
-## Deprecated macros
-
-**SCOPED_INFO and SCOPED_CAPTURE**
-
-These macros are now deprecated and are just aliases for INFO and CAPTURE (which were not previously scoped).
-
----
-
-[Home](Readme.md) \ No newline at end of file
diff --git a/3rdparty/sol2/Catch/docs/own-main.md b/3rdparty/sol2/Catch/docs/own-main.md
deleted file mode 100644
index f8c836e6f27..00000000000
--- a/3rdparty/sol2/Catch/docs/own-main.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# Supplying main() yourself
-
-The easiest way to use Catch is to let it supply ```main()``` for you and handle configuring itself from the command line.
-
-This is achieved by writing ```#define CATCH_CONFIG_MAIN``` before the ```#include "catch.hpp"``` in *exactly one* source file.
-
-Sometimes, though, you need to write your own version of main(). You can do this by writing ```#define CATCH_CONFIG_RUNNER``` instead. Now you are free to write ```main()``` as normal and call into Catch yourself manually.
-
-You now have a lot of flexibility - but here are three recipes to get your started:
-
-## Let Catch take full control of args and config
-
-If you just need to have code that executes before and/ or after Catch this is the simplest option.
-
-```c++
-#define CATCH_CONFIG_RUNNER
-#include "catch.hpp"
-
-int main( int argc, char* const argv[] )
-{
- // global setup...
-
- int result = Catch::Session().run( argc, argv );
-
- // global clean-up...
-
- return result;
-}
-```
-
-## Amending the config
-
-If you still want Catch to process the command line, but you want to programatically tweak the config, you can do so in one of two ways:
-
-```c++
-#define CATCH_CONFIG_RUNNER
-#include "catch.hpp"
-
-int main( int argc, char* const argv[] )
-{
- Catch::Session session; // There must be exactly once instance
-
- // writing to session.configData() here sets defaults
- // this is the preferred way to set them
-
- int returnCode = session.applyCommandLine( argc, argv );
- if( returnCode != 0 ) // Indicates a command line error
- return returnCode;
-
- // writing to session.configData() or session.Config() here
- // overrides command line args
- // only do this if you know you need to
-
- return session.run();
-}
-```
-
-Take a look at the definitions of Config and ConfigData to see what you can do with them.
-
-To take full control of the config simply omit the call to ```applyCommandLine()```.
-
-## Adding your own command line options
-
-Catch embeds a powerful command line parser which you can also use to parse your own options out. This capability is still in active development but will be documented here when it is ready.
-
----
-
-[Home](Readme.md) \ No newline at end of file
diff --git a/3rdparty/sol2/Catch/docs/slow-compiles.md b/3rdparty/sol2/Catch/docs/slow-compiles.md
deleted file mode 100644
index 5291aeccc1d..00000000000
--- a/3rdparty/sol2/Catch/docs/slow-compiles.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# Why do my tests take so long to compile?
-
-Several people have reported that test code written with Catch takes much longer to compile than they would expect. Why is that?
-
-Catch is implemented entirely in headers. There is a little overhead due to this - but not as much as you might think - and you can minimise it simply by organising your test code as follows:
-
-## Short answer
-Exactly one source file must ```#define``` either ```CATCH_CONFIG_MAIN``` or ```CATCH_CONFIG_RUNNER``` before ```#include```-ing Catch. In this file *do not write any test cases*! In most cases that means this file will just contain two lines (the ```#define``` and the ```#include```).
-
-## Long answer
-
-Usually C++ code is split between a header file, containing declarations and prototypes, and an implementation file (.cpp) containing the definition, or implementation, code. Each implementation file, along with all the headers that it includes (and which those headers include, etc), is expanded into a single entity called a translation unit - which is then passed to the compiler and compiled down to an object file.
-
-But functions and methods can also be written inline in header files. The downside to this is that these definitions will then be compiled in *every* translation unit that includes the header.
-
-Because Catch is implemented *entirely* in headers you might think that the whole of Catch must be compiled into every translation unit that uses it! Actually it's not quite as bad as that. Catch mitigates this situation by effectively maintaining the traditional separation between the implementation code and declarations. Internally the implementation code is protected by ```#ifdef```s and is conditionally compiled into only one translation unit. This translation unit is that one that ```#define```s ```CATCH_CONFIG_MAIN``` or ```CATCH_CONFIG_RUNNER```. Let's call this the main source file.
-
-As a result the main source file *does* compile the whole of Catch every time! So it makes sense to dedicate this file to *only* ```#define```-ing the identifier and ```#include```-ing Catch (and implementing the runner code, if you're doing that). Keep all your test cases in other files. This way you won't pay the recompilation cost for the whole of Catch
-
----
-
-[Home](Readme.md) \ No newline at end of file
diff --git a/3rdparty/sol2/Catch/docs/test-cases-and-sections.md b/3rdparty/sol2/Catch/docs/test-cases-and-sections.md
deleted file mode 100644
index 86644f006cd..00000000000
--- a/3rdparty/sol2/Catch/docs/test-cases-and-sections.md
+++ /dev/null
@@ -1,86 +0,0 @@
-# Test cases and sections
-
-While Catch fully supports the traditional, xUnit, style of class-based fixtures containing test case methods this is not the preferred style.
-
-Instead Catch provides a powerful mechanism for nesting test case sections within a test case. For a more detailed discussion see the [tutorial](tutorial.md#testCasesAndSections).
-
-Test cases and sections are very easy to use in practice:
-
-* **TEST_CASE(** _test name_ \[, _tags_ \] **)**
-* **SECTION(** _section name_ **)**
-
-_test name_ and _section name_ are free form, quoted, strings. The optional _tags_ argument is a quoted string containing one or more tags enclosed in square brackets. Tags are discussed below. Test names must be unique within the Catch executable.
-
-For examples see the [Tutorial](tutorial.md)
-
-## Tags
-
-Tags allow an arbitrary number of additional strings to be associated with a test case. Test cases can be selected (for running, or just for listing) by tag - or even by an expression that combines several tags. At their most basic level they provide a simple way to group several related tests together.
-
-As an example - given the following test cases:
-
- TEST_CASE( "A", "[widget]" ) { /* ... */ }
- TEST_CASE( "B", "[widget]" ) { /* ... */ }
- TEST_CASE( "C", "[gadget]" ) { /* ... */ }
- TEST_CASE( "D", "[widget][gadget]" ) { /* ... */ }
-
-The tag expression, ```"[widget]"``` selects A, B & D. ```"[gadget]"``` selects C & D. ```"[widget][gadget]"``` selects just D and ```"[widget],[gadget]"``` selects all four test cases.
-
-For more detail on command line selection see [the command line docs](command-line.md#specifying-which-tests-to-run)
-
-Tag names are not case sensitive.
-
-### Special Tags
-
-All tag names beginning with non-alphanumeric characters are reserved by Catch. Catch defines a number of "special" tags, which have meaning to the test runner itself. These special tags all begin with a symbol character. Following is a list of currently defined special tags and their meanings.
-
-* `[!hide]` or `[.]` (or, for legacy reasons, `[hide]`) - causes test cases to be skipped from the default list (ie when no test cases have been explicitly selected through tag expressions or name wildcards). The hide tag is often combined with another, user, tag (for example `[.][integration]` - so all integration tests are excluded from the default run but can be run by passing `[integration]` on the command line). As a short-cut you can combine these by simply prefixing your user tag with a `.` - e.g. `[.integration]`. Because the hide tag has evolved to have several forms, all forms are added as tags if you use one of them.
-
-* `[!throws]` - lets Catch know that this test is likely to throw an exception even if successful. This causes the test to be exluded when running with `-e` or `--nothrow`.
-
-* `[!shouldfail]` - reverse the failing logic of the test: if the test is successful if it fails, and vice-versa.
-
-* `[!mayfail]` - doesn't fail the test if any given assertion fails (but still reports it). This can be useful to flag a work-in-progress, or a known issue that you don't want to immediately fix but still want to track in the your tests.
-
-* `[#<filename>]` - running with `-#` or `--filenames-as-tags` causes Catch to add the filename, prefixed with `#` (and with any extension stripped) as a tag. e.g. tests in testfile.cpp would all be tagged `[#testfile]`.
-
-* `[@<alias>]` - tag aliases all begin with `@` (see below).
-
-## Tag aliases
-
-Between tag expressions and wildcarded test names (as well as combinations of the two) quite complex patterns can be constructed to direct which test cases are run. If a complex pattern is used often it is convenient to be able to create an alias for the expression. this can be done, in code, using the following form:
-
- CATCH_REGISTER_TAG_ALIAS( <alias string>, <tag expression> )
-
-Aliases must begining with the `@` character. An example of a tag alias is:
-
- CATCH_REGISTER_TAG_ALIAS( "[@nhf]", "[failing]~[.]" )
-
-Now when `[@nhf]` is used on the command line this matches all tests that are tagged `[failing]`, but which are not also hidden.
-
-## BDD-style test cases
-
-In addition to Catch's take on the classic style of test cases, Catch supports an alternative syntax that allow tests to be written as "executable specifications" (one of the early goals of [Behaviour Driven Development](http://dannorth.net/introducing-bdd/)). This set of macros map on to ```TEST_CASE```s and ```SECTION```s, with a little internal support to make them smoother to work with.
-
-* **SCENARIO(** _scenario name_ \[, _tags_ \] **)**
-
-This macro maps onto ```TEST_CASE``` and works in the same way, except that the test case name will be prefixed by "Scenario: "
-
-* **GIVEN(** _something_ **)**
-* **WHEN(** _something_ **)**
-* **THEN(** _something_ **)**
-
-These macros map onto ```SECTION```s except that the section names are the _something_s prefixed by "given: ", "when: " or "then: " respectively.
-
-* **AND_WHEN(** _something_ **)**
-* **AND_THEN(** _something_ **)**
-
-Similar to ```WHEN``` and ```THEN``` except that the prefixes start with "and ". These are used to chain ```WHEN```s and ```THEN```s together.
-
-When any of these macros are used the console reporter recognises them and formats the test case header such that the Givens, Whens and Thens are aligned to aid readability.
-
-Other than the additional prefixes and the formatting in the console reporter these macros behave exactly as ```TEST_CASE```s and ```SECTION```s. As such there is nothing enforcing the correct sequencing of these macros - that's up to the programmer!
-
----
-
-[Home](Readme.md) \ No newline at end of file
diff --git a/3rdparty/sol2/Catch/docs/test-fixtures.md b/3rdparty/sol2/Catch/docs/test-fixtures.md
deleted file mode 100644
index 6bef762b8e3..00000000000
--- a/3rdparty/sol2/Catch/docs/test-fixtures.md
+++ /dev/null
@@ -1,32 +0,0 @@
-Although Catch allows you to group tests together as sections within a test case, it can still convenient, sometimes, to group them using a more traditional test fixture. Catch fully supports this too. You define the test fixture as a simple structure:
-
-```c++
-class UniqueTestsFixture {
- private:
- static int uniqueID;
- protected:
- DBConnection conn;
- public:
- UniqueTestsFixture() : conn(DBConnection::createConnection("myDB")) {
- }
- protected:
- int getID() {
- return ++uniqueID;
- }
- };
-
- int UniqueTestsFixture::uniqueID = 0;
-
- TEST_CASE_METHOD(UniqueTestsFixture, "Create Employee/No Name", "[create]") {
- REQUIRE_THROWS(conn.executeSQL("INSERT INTO employee (id, name) VALUES (?, ?)", getID(), ""));
- }
- TEST_CASE_METHOD(UniqueTestsFixture, "Create Employee/Normal", "[create]") {
- REQUIRE(conn.executeSQL("INSERT INTO employee (id, name) VALUES (?, ?)", getID(), "Joe Bloggs"));
- }
-```
-
-The two test cases here will create uniquely-named derived classes of UniqueTestsFixture and thus can access the `getID()` protected method and `conn` member variables. This ensures that both the test cases are able to create a DBConnection using the same method (DRY principle) and that any ID's created are unique such that the order that tests are executed does not matter.
-
----
-
-[Home](Readme.md) \ No newline at end of file
diff --git a/3rdparty/sol2/Catch/docs/tostring.md b/3rdparty/sol2/Catch/docs/tostring.md
deleted file mode 100644
index dbb6cb8d5d0..00000000000
--- a/3rdparty/sol2/Catch/docs/tostring.md
+++ /dev/null
@@ -1,70 +0,0 @@
-# String conversions
-
-Catch needs to be able to convert types you use in assertions and logging expressions into strings (for logging and reporting purposes).
-Most built-in or std types are supported out of the box but there are three ways that you can tell Catch how to convert your own types (or other, third-party types) into strings.
-
-## operator << overload for std::ostream
-
-This is the standard way of providing string conversions in C++ - and the chances are you may already provide this for your own purposes. If you're not familiar with this idiom it involves writing a free function of the form:
-
-```
-std::ostream& operator << ( std::ostream& os, T const& value ) {
- os << convertMyTypeToString( value );
- return os;
-}
-```
-
-(where ```T``` is your type and ```convertMyTypeToString``` is where you'll write whatever code is necessary to make your type printable - it doesn't have to be in another function).
-
-You should put this function in the same namespace as your type.
-
-Alternatively you may prefer to write it as a member function:
-
-```
-std::ostream& T::operator << ( std::ostream& os ) const {
- os << convertMyTypeToString( *this );
- return os;
-}
-```
-
-## Catch::toString overload
-
-If you don't want to provide an ```operator <<``` overload, or you want to convert your type differently for testing purposes, you can provide an overload for ```Catch::toString()``` for your type.
-
-```
-namespace Catch {
- std::string toString( T const& value ) {
- return convertMyTypeToString( value );
- }
-}
-```
-
-Again ```T``` is your type and ```convertMyTypeToString``` is where you'll write whatever code is necessary to make your type printable. Note that the function must be in the Catch namespace, which itself must be in the global namespace.
-
-## Catch::StringMaker<T> specialisation
-
-There are some cases where overloading toString does not work as expected. Specialising StringMaker<T> gives you more precise, and reliable, control - but at the cost of slightly more code and complexity:
-
-```
-namespace Catch {
- template<> struct StringMaker<T> {
- static std::string convert( T const& value ) {
- return convertMyTypeToString( value );
- }
- };
-}
-```
-
-## Exceptions
-
-By default all exceptions deriving from `std::exception` will be translated to strings by calling the `what()` method. For exception types that do not derive from `std::exception` - or if `what()` does not return a suitable string - use `CATCH_TRANSLATE_EXCEPTION`. This defines a function that takes your exception type, by reference, and returns a string. It can appear anywhere in the code - it doesn't have to be in the same translation unit. For example:
-
-```
-CATCH_TRANSLATE_EXCEPTION( MyType& ex ) {
- return ex.message();
-}
-```
-
----
-
-[Home](Readme.md)
diff --git a/3rdparty/sol2/Catch/docs/tutorial.md b/3rdparty/sol2/Catch/docs/tutorial.md
deleted file mode 100644
index 0fdaff9bbe3..00000000000
--- a/3rdparty/sol2/Catch/docs/tutorial.md
+++ /dev/null
@@ -1,249 +0,0 @@
-# Getting Catch
-
-The simplest way to get Catch is to download the single header version from [http://builds.catch-lib.net](http://builds.catch-lib.net). Don't be put off by the word "builds" there. The single header is generated by merging a set of individual headers but it is still just normal source code in a header file.
-
-The full source for Catch, including test projects, documentation, and other things, is hosted on GitHub. [http://catch-lib.net](http://catch-lib.net) will redirect you there.
-
-
-## Where to put it?
-
-Catch is header only. All you need to do is drop the file(s) somewhere reachable from your project - either in some central location you can set your header search path to find, or directly into your project tree itself! This is a particularly good option for other Open-Source projects that want to use Catch for their test suite. See [this blog entry for more on that](http://www.levelofindirection.com/journal/2011/5/27/unit-testing-in-c-and-objective-c-just-got-ridiculously-easi.html).
-
-The rest of this tutorial will assume that the Catch single-include header (or the include folder) is available unqualified - but you may need to prefix it with a folder name if necessary.
-
-# Writing tests
-
-Let's start with a really simple example. Say you have written a function to calculate factorials and now you want to test it (let's leave aside TDD for now).
-
-```c++
-unsigned int Factorial( unsigned int number ) {
- return number <= 1 ? number : Factorial(number-1)*number;
-}
-```
-
-To keep things simple we'll put everything in a single file (<a href="#scaling-up">see later for more on how to structure your test files</a>)
-
-```c++
-#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
-#include "catch.hpp"
-
-unsigned int Factorial( unsigned int number ) {
- return number <= 1 ? number : Factorial(number-1)*number;
-}
-
-TEST_CASE( "Factorials are computed", "[factorial]" ) {
- REQUIRE( Factorial(1) == 1 );
- REQUIRE( Factorial(2) == 2 );
- REQUIRE( Factorial(3) == 6 );
- REQUIRE( Factorial(10) == 3628800 );
-}
-```
-
-This will compile to a complete executable which responds to [command line arguments](command-line.md). If you just run it with no arguments it will execute all test cases (in this case there is just one), report any failures, report a summary of how many tests passed and failed and return the number of failed tests (useful for if you just want a yes/ no answer to: "did it work").
-
-If you run this as written it will pass. Everything is good. Right?
-Well, there is still a bug here. In fact the first version of this tutorial I posted here genuinely had the bug in! So it's not completely contrived (thanks to Daryle Walker (```@CTMacUser```) for pointing this out).
-
-What is the bug? Well what is the factorial of zero?
-[The factorial of zero is one](http://mathforum.org/library/drmath/view/57128.html) - which is just one of those things you have to know (and remember!).
-
-Let's add that to the test case:
-
-```c++
-TEST_CASE( "Factorials are computed", "[factorial]" ) {
- REQUIRE( Factorial(0) == 1 );
- REQUIRE( Factorial(1) == 1 );
- REQUIRE( Factorial(2) == 2 );
- REQUIRE( Factorial(3) == 6 );
- REQUIRE( Factorial(10) == 3628800 );
-}
-```
-
-Now we get a failure - something like:
-
-```
-Example.cpp:9: FAILED:
- REQUIRE( Factorial(0) == 1 )
-with expansion:
- 0 == 1
-```
-
-Note that we get the actual return value of Factorial(0) printed for us (0) - even though we used a natural expression with the == operator. That let's us immediately see what the problem is.
-
-Let's change the factorial function to:
-
-```c++
-unsigned int Factorial( unsigned int number ) {
- return number > 1 ? Factorial(number-1)*number : 1;
-}
-```
-
-Now all the tests pass.
-
-Of course there are still more issues to do deal with. For example we'll hit problems when the return value starts to exceed the range of an unsigned int. With factorials that can happen quite quickly. You might want to add tests for such cases and decide how to handle them. We'll stop short of doing that here.
-
-## What did we do here?
-
-Although this was a simple test it's been enough to demonstrate a few things about how Catch is used. Let's take moment to consider those before we move on.
-
-1. All we did was ```#define``` one identifier and ```#include``` one header and we got everything - even an implementation of ```main()``` that will [respond to command line arguments](command-line.md). You can only use that ```#define``` in one implementation file, for (hopefully) obvious reasons. Once you have more than one file with unit tests in you'll just ```#include "catch.hpp"``` and go. Usually it's a good idea to have a dedicated implementation file that just has ```#define CATCH_CONFIG_MAIN``` and ```#include "catch.hpp"```. You can also provide your own implementation of main and drive Catch yourself (see [Supplying-your-own-main()](own-main.md)).
-2. We introduce test cases with the ```TEST_CASE``` macro. This macro takes one or two arguments - a free form test name and, optionally, one or more tags (for more see <a href="#test-cases-and-sections">Test cases and Sections</a>, ). The test name must be unique. You can run sets of tests by specifying a wildcarded test name or a tag expression. See the [command line docs](command-line.md) for more information on running tests.
-3. The name and tags arguments are just strings. We haven't had to declare a function or method - or explicitly register the test case anywhere. Behind the scenes a function with a generated name is defined for you, and automatically registered using static registry classes. By abstracting the function name away we can name our tests without the constraints of identifier names.
-4. We write our individual test assertions using the ```REQUIRE``` macro. Rather than a separate macro for each type of condition we express the condition naturally using C/C++ syntax. Behind the scenes a simple set of expression templates captures the left-hand-side and right-hand-side of the expression so we can display the values in our test report. As we'll see later there _are_ other assertion macros - but because of this technique the number of them is drastically reduced.
-
-<a id="test-cases-and-sections"></a>
-## Test cases and sections
-
-Most test frameworks have a class-based fixture mechanism. That is, test cases map to methods on a class and common setup and teardown can be performed in ```setup()``` and ```teardown()``` methods (or constructor/ destructor in languages, like C++, that support deterministic destruction).
-
-While Catch fully supports this way of working there are a few problems with the approach. In particular the way your code must be split up, and the blunt granularity of it, may cause problems. You can only have one setup/ teardown pair across a set of methods, but sometimes you want slightly different setup in each method, or you may even want several levels of setup (a concept which we will clarify later on in this tutorial). It was <a href="http://jamesnewkirk.typepad.com/posts/2007/09/why-you-should-.html">problems like these</a> that led James Newkirk, who led the team that built NUnit, to start again from scratch and <a href="http://jamesnewkirk.typepad.com/posts/2007/09/announcing-xuni.html">build xUnit</a>).
-
-Catch takes a different approach (to both NUnit and xUnit) that is a more natural fit for C++ and the C family of languages. This is best explained through an example:
-
-```c++
-TEST_CASE( "vectors can be sized and resized", "[vector]" ) {
-
- std::vector<int> v( 5 );
-
- REQUIRE( v.size() == 5 );
- REQUIRE( v.capacity() >= 5 );
-
- SECTION( "resizing bigger changes size and capacity" ) {
- v.resize( 10 );
-
- REQUIRE( v.size() == 10 );
- REQUIRE( v.capacity() >= 10 );
- }
- SECTION( "resizing smaller changes size but not capacity" ) {
- v.resize( 0 );
-
- REQUIRE( v.size() == 0 );
- REQUIRE( v.capacity() >= 5 );
- }
- SECTION( "reserving bigger changes capacity but not size" ) {
- v.reserve( 10 );
-
- REQUIRE( v.size() == 5 );
- REQUIRE( v.capacity() >= 10 );
- }
- SECTION( "reserving smaller does not change size or capacity" ) {
- v.reserve( 0 );
-
- REQUIRE( v.size() == 5 );
- REQUIRE( v.capacity() >= 5 );
- }
-}
-```
-
-For each ```SECTION``` the ```TEST_CASE``` is executed from the start - so as we enter each section we know that size is 5 and capacity is at least 5. We enforced those requirements with the ```REQUIRE```s at the top level so we can be confident in them.
-This works because the ```SECTION``` macro contains an if statement that calls back into Catch to see if the section should be executed. One leaf section is executed on each run through a ```TEST_CASE```. The other sections are skipped. Next time through the next section is executed, and so on until no new sections are encountered.
-
-So far so good - this is already an improvement on the setup/teardown approach because now we see our setup code inline and use the stack.
-
-The power of sections really shows, however, when we need to execute a sequence of, checked, operations. Continuing the vector example, we might want to verify that attempting to reserve a capacity smaller than the current capacity of the vector changes nothing. We can do that, naturally, like so:
-
-```c++
- SECTION( "reserving bigger changes capacity but not size" ) {
- v.reserve( 10 );
-
- REQUIRE( v.size() == 5 );
- REQUIRE( v.capacity() >= 10 );
-
- SECTION( "reserving smaller again does not change capacity" ) {
- v.reserve( 7 );
-
- REQUIRE( v.capacity() >= 10 );
- }
- }
-```
-
-Sections can be nested to an arbitrary depth (limited only by your stack size). Each leaf section (i.e. a section that contains no nested sections) will be executed exactly once, on a separate path of execution from any other leaf section (so no leaf section can interfere with another). A failure in a parent section will prevent nested sections from running - but then that's the idea.
-
-## BDD-Style
-
-If you name your test cases and sections appropriately you can achieve a BDD-style specification structure. This became such a useful way of working that first class support has been added to Catch. Scenarios can be specified using ```SCENARIO```, ```GIVEN```, ```WHEN``` and ```THEN``` macros, which map on to ```TEST_CASE```s and ```SECTION```s, respectively. For more details see [Test cases and sections](test-cases-and-sections.md).
-
-The vector example can be adjusted to use these macros like so:
-
-```c++
-SCENARIO( "vectors can be sized and resized", "[vector]" ) {
-
- GIVEN( "A vector with some items" ) {
- std::vector<int> v( 5 );
-
- REQUIRE( v.size() == 5 );
- REQUIRE( v.capacity() >= 5 );
-
- WHEN( "the size is increased" ) {
- v.resize( 10 );
-
- THEN( "the size and capacity change" ) {
- REQUIRE( v.size() == 10 );
- REQUIRE( v.capacity() >= 10 );
- }
- }
- WHEN( "the size is reduced" ) {
- v.resize( 0 );
-
- THEN( "the size changes but not capacity" ) {
- REQUIRE( v.size() == 0 );
- REQUIRE( v.capacity() >= 5 );
- }
- }
- WHEN( "more capacity is reserved" ) {
- v.reserve( 10 );
-
- THEN( "the capacity changes but not the size" ) {
- REQUIRE( v.size() == 5 );
- REQUIRE( v.capacity() >= 10 );
- }
- }
- WHEN( "less capacity is reserved" ) {
- v.reserve( 0 );
-
- THEN( "neither size nor capacity are changed" ) {
- REQUIRE( v.size() == 5 );
- REQUIRE( v.capacity() >= 5 );
- }
- }
- }
-}
-```
-
-Conveniently, these tests will be reported as follows when run:
-
-```
-Scenario: vectors can be sized and resized
- Given: A vector with some items
- When: more capacity is reserved
- Then: the capacity changes but not the size
-```
-
-<a id="scaling-up"></a>
-## Scaling up
-
-To keep the tutorial simple we put all our code in a single file. This is fine to get started - and makes jumping into Catch even quicker and easier. As you write more real-world tests, though, this is not really the best approach.
-
-The requirement is that the following block of code ([or equivalent](own-main.md)):
-
-```c++
-#define CATCH_CONFIG_MAIN
-#include "catch.hpp"
-```
-
-appears in _exactly one_ source file. Use as many additional cpp files (or whatever you call your implementation files) as you need for your tests, partitioned however makes most sense for your way of working. Each additional file need only ```#include "catch.hpp"``` - do not repeat the ```#define```!
-
-In fact it is usually a good idea to put the block with the ```#define``` [in it's own source file](slow-compiles.md).
-
-Do not write your tests in header files!
-
-
-## Next steps
-
-This has been a brief introduction to get you up and running with Catch, and to point out some of the key differences between Catch and other frameworks you may already be familiar with. This will get you going quite far already and you are now in a position to dive in and write some tests.
-
-Of course there is more to learn - most of which you should be able to page-fault in as you go. Please see the ever-growing [Reference section](Readme.md) for what's available.
-
----
-
-[Home](Readme.md)
diff --git a/3rdparty/sol2/Catch/docs/why-catch.md b/3rdparty/sol2/Catch/docs/why-catch.md
deleted file mode 100644
index 93488d2291d..00000000000
--- a/3rdparty/sol2/Catch/docs/why-catch.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# Why do we need yet another C++ test framework?
-
-Good question. For C++ there are quite a number of established frameworks, including (but not limited to), [CppUnit](http://sourceforge.net/apps/mediawiki/cppunit/index.php?title=Main_Page), [Google Test](http://code.google.com/p/googletest/), [Boost.Test](http://www.boost.org/doc/libs/1_49_0/libs/test/doc/html/index.html), [Aeryn](https://launchpad.net/aeryn), [Cute](http://r2.ifs.hsr.ch/cute), [Fructose](http://fructose.sourceforge.net/) and [many, many more](http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#C.2B.2B). Even for Objective-C there are a few, including OCUnit - which now comes bundled with XCode.
-
-So what does Catch bring to the party that differentiates it from these? Apart from a Catchy name, of course.
-
-## Key Features
-
-* Really easy to get started. Just download catch.hpp, #include it and you're away.
-* No external dependencies. As long as you can compile C++98 and have a C++ standard library available.
-* Write test cases as, self-registering, functions or methods.
-* Divide test cases into sections, each of which is run in isolation (eliminates the need for fixtures!)
-* Use BDD-style Given-When-Then sections as well as traditional unit test cases.
-* Only one core assertion macro for comparisons. Standard C/C++ operators are used for the comparison - yet the full expression is decomposed and lhs and rhs values are logged.
-
-## Other core features
-
-* Tests are named using free-form strings - no more couching names in legal identifiers.
-* Tests can be tagged for easily running ad-hoc groups of tests.
-* Failures can (optionally) break into the debugger on Windows and Mac.
-* Output is through modular reporter objects. Basic textual and XML reporters are included. Custom reporters can easily be added.
-* JUnit xml output is supported for integration with third-party tools, such as CI servers.
-* A default main() function is provided (in a header), but you can supply your own for complete control (e.g. integration into your own test runner GUI).
-* A command line parser is provided and can still be used if you choose to provided your own main() function.
-* Catch can test itself.
-* Alternative assertion macro(s) report failures but don't abort the test case
-* Floating point tolerance comparisons are built in using an expressive Approx() syntax.
-* Internal and friendly macros are isolated so name clashes can be managed
-* Support for Matchers (early stages)
-
-## Objective-C-specific features
-
-* Automatically detects if you are using it from an Objective-C project
-* Works with and without ARC with no additional configuration
-* Implement test fixtures using Obj-C classes too (like OCUnit)
-* Additional built in matchers that work with Obj-C types (e.g. string matchers)
-
-See the [tutorial](tutorial.md) to get more of a taste of using CATCH in practice
-
----
-
-[Home](Readme.md) \ No newline at end of file
diff --git a/3rdparty/sol2/Catch/projects/CMake/CMakeLists.txt b/3rdparty/sol2/Catch/projects/CMake/CMakeLists.txt
deleted file mode 100644
index 960d9fb1fcb..00000000000
--- a/3rdparty/sol2/Catch/projects/CMake/CMakeLists.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-cmake_minimum_required(VERSION 2.8)
-
-project(Catch)
-
-# define some folders
-get_filename_component(CATCH_DIR "${CMAKE_CURRENT_SOURCE_DIR}" PATH)
-get_filename_component(CATCH_DIR "${CATCH_DIR}" PATH)
-set(SELF_TEST_DIR ${CATCH_DIR}/projects/SelfTest)
-if(USE_CPP11)
- ## We can't turn this on by default, since it breaks on travis
- message(STATUS "Enabling C++11")
- set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
-endif()
-
-# define the sources of the self test
-set(SOURCES
- ${SELF_TEST_DIR}/ApproxTests.cpp
- ${SELF_TEST_DIR}/BDDTests.cpp
- ${SELF_TEST_DIR}/ClassTests.cpp
- ${SELF_TEST_DIR}/ConditionTests.cpp
- ${SELF_TEST_DIR}/ExceptionTests.cpp
- ${SELF_TEST_DIR}/GeneratorTests.cpp
- ${SELF_TEST_DIR}/MessageTests.cpp
- ${SELF_TEST_DIR}/MiscTests.cpp
- ${SELF_TEST_DIR}/PartTrackerTests.cpp
- ${SELF_TEST_DIR}/TestMain.cpp
- ${SELF_TEST_DIR}/TrickyTests.cpp
- ${SELF_TEST_DIR}/VariadicMacrosTests.cpp
- ${SELF_TEST_DIR}/EnumToString.cpp
- ${SELF_TEST_DIR}/ToStringPair.cpp
- ${SELF_TEST_DIR}/ToStringVector.cpp
- ${SELF_TEST_DIR}/ToStringWhich.cpp
- ${SELF_TEST_DIR}/ToStringTuple.cpp
-)
-
-# configure the executable
-include_directories(${CATCH_DIR}/include)
-add_executable(SelfTest ${SOURCES})
-
-# configure unit tests via CTest
-enable_testing()
-add_test(NAME RunTests COMMAND SelfTest)
-
-add_test(NAME ListTests COMMAND SelfTest --list-tests)
-set_tests_properties(ListTests PROPERTIES PASS_REGULAR_EXPRESSION "[0-9]+ test cases")
-
-add_test(NAME ListTags COMMAND SelfTest --list-tags)
-set_tests_properties(ListTags PROPERTIES PASS_REGULAR_EXPRESSION "[0-9]+ tags")
diff --git a/3rdparty/sol2/Catch/projects/SelfTest/ApproxTests.cpp b/3rdparty/sol2/Catch/projects/SelfTest/ApproxTests.cpp
deleted file mode 100644
index 53656596c0a..00000000000
--- a/3rdparty/sol2/Catch/projects/SelfTest/ApproxTests.cpp
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- * Created by Phil on 28/04/2011.
- * Copyright 2011 Two Blue Cubes Ltd. All rights reserved.
- *
- * Distributed under the Boost Software License, Version 1.0. (See accompanying
- * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- */
-
-#include "catch.hpp"
-
-///////////////////////////////////////////////////////////////////////////////
-TEST_CASE
-(
- "Some simple comparisons between doubles",
- "[Approx]"
-)
-{
- double d = 1.23;
-
- REQUIRE( d == Approx( 1.23 ) );
- REQUIRE( d != Approx( 1.22 ) );
- REQUIRE( d != Approx( 1.24 ) );
-
- REQUIRE( Approx( d ) == 1.23 );
- REQUIRE( Approx( d ) != 1.22 );
- REQUIRE( Approx( d ) != 1.24 );
-}
-
-///////////////////////////////////////////////////////////////////////////////
-TEST_CASE
-(
- "Approximate comparisons with different epsilons",
- "[Approx]"
- )
-{
- double d = 1.23;
-
- REQUIRE( d != Approx( 1.231 ) );
- REQUIRE( d == Approx( 1.231 ).epsilon( 0.1 ) );
-}
-
-///////////////////////////////////////////////////////////////////////////////
-TEST_CASE
-(
- "Approximate comparisons with floats",
- "[Approx]"
-)
-{
- REQUIRE( 1.23f == Approx( 1.23f ) );
- REQUIRE( 0.0f == Approx( 0.0f ) );
-}
-
-///////////////////////////////////////////////////////////////////////////////
-TEST_CASE
-(
- "Approximate comparisons with ints",
- "[Approx]"
-)
-{
- REQUIRE( 1 == Approx( 1 ) );
- REQUIRE( 0 == Approx( 0 ) );
-}
-
-///////////////////////////////////////////////////////////////////////////////
-TEST_CASE
-(
- "Approximate comparisons with mixed numeric types",
- "[Approx]"
-)
-{
- const double dZero = 0;
- const double dSmall = 0.00001;
- const double dMedium = 1.234;
-
- REQUIRE( 1.0f == Approx( 1 ) );
- REQUIRE( 0 == Approx( dZero) );
- REQUIRE( 0 == Approx( dSmall ).epsilon( 0.001 ) );
- REQUIRE( 1.234f == Approx( dMedium ) );
- REQUIRE( dMedium == Approx( 1.234f ) );
-}
-
-///////////////////////////////////////////////////////////////////////////////
-TEST_CASE
-(
- "Use a custom approx",
- "[Approx][custom]"
-)
-{
- double d = 1.23;
-
- Approx approx = Approx::custom().epsilon( 0.005 );
-
- REQUIRE( d == approx( 1.23 ) );
- REQUIRE( d == approx( 1.22 ) );
- REQUIRE( d == approx( 1.24 ) );
- REQUIRE( d != approx( 1.25 ) );
-
- REQUIRE( approx( d ) == 1.23 );
- REQUIRE( approx( d ) == 1.22 );
- REQUIRE( approx( d ) == 1.24 );
- REQUIRE( approx( d ) != 1.25 );
-}
-
-inline double divide( double a, double b ) {
- return a/b;
-}
-
-TEST_CASE( "Approximate PI", "[Approx][PI]" )
-{
- REQUIRE( divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) );
- REQUIRE( divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) );
-}
diff --git a/3rdparty/sol2/Catch/projects/SelfTest/BDDTests.cpp b/3rdparty/sol2/Catch/projects/SelfTest/BDDTests.cpp
deleted file mode 100644
index 2c8bc2495b0..00000000000
--- a/3rdparty/sol2/Catch/projects/SelfTest/BDDTests.cpp
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * Created by Phil on 29/11/2010.
- * Copyright 2010 Two Blue Cubes Ltd. All rights reserved.
- *
- * Distributed under the Boost Software License, Version 1.0. (See accompanying
- * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- */
-
-#include "catch.hpp"
-
-inline bool itDoesThis(){ return true; }
-inline bool itDoesThat(){ return true; }
-
-SCENARIO( "Do that thing with the thing", "[Tags]" ) {
- GIVEN( "This stuff exists" ) {
- // make stuff exist
- WHEN( "I do this" ) {
- // do this
- THEN( "it should do this")
- {
- REQUIRE( itDoesThis() );
- AND_THEN( "do that")
- REQUIRE( itDoesThat() );
- }
- }
- }
-}
-
-SCENARIO( "Vector resizing affects size and capacity", "[vector][bdd][size][capacity]" ) {
- GIVEN( "an empty vector" ) {
- std::vector<int> v;
- REQUIRE( v.size() == 0 );
-
- WHEN( "it is made larger" ) {
- v.resize( 10 );
- THEN( "the size and capacity go up" ) {
- REQUIRE( v.size() == 10 );
- REQUIRE( v.capacity() >= 10 );
-
- AND_WHEN( "it is made smaller again" ) {
- v.resize( 5 );
- THEN( "the size goes down but the capacity stays the same" ) {
- REQUIRE( v.size() == 5 );
- REQUIRE( v.capacity() >= 10 );
- }
- }
- }
- }
-
- WHEN( "we reserve more space" ) {
- v.reserve( 10 );
- THEN( "The capacity is increased but the size remains the same" ) {
- REQUIRE( v.capacity() >= 10 );
- REQUIRE( v.size() == 0 );
- }
- }
- }
-}
-
-SCENARIO( "This is a really long scenario name to see how the list command deals with wrapping",
- "[very long tags][lots][long][tags][verbose]"
- "[one very long tag name that should cause line wrapping writing out using the list command]"
- "[anotherReallyLongTagNameButThisOneHasNoObviousWrapPointsSoShouldSplitWithinAWordUsingADashCharacter]" ) {
- GIVEN( "A section name that is so long that it cannot fit in a single console width" )
- WHEN( "The test headers are printed as part of the normal running of the scenario" )
- THEN( "The, deliberately very long and overly verbose (you see what I did there?) section names must wrap, along with an indent" )
- SUCCEED("boo!");
-}
-
-namespace {
-
-// a trivial fixture example to support SCENARIO_METHOD tests
-struct Fixture
-{
- Fixture()
- : d_counter(0)
- {
- }
-
- int counter()
- {
- return d_counter++;
- }
-
- int d_counter;
-};
-
-}
-
-SCENARIO_METHOD(Fixture,
- "BDD tests requiring Fixtures to provide commonly-accessed data or methods",
- "[bdd][fixtures]") {
- const int before(counter());
- GIVEN("No operations precede me") {
- REQUIRE(before == 0);
- WHEN("We get the count") {
- const int after(counter());
- THEN("Subsequently values are higher") {
- REQUIRE(after > before);
- }
- }
- }
-}
diff --git a/3rdparty/sol2/Catch/projects/SelfTest/Baselines/console.std.approved.txt b/3rdparty/sol2/Catch/projects/SelfTest/Baselines/console.std.approved.txt
deleted file mode 100644
index 7bbae96e57b..00000000000
--- a/3rdparty/sol2/Catch/projects/SelfTest/Baselines/console.std.approved.txt
+++ /dev/null
@@ -1,835 +0,0 @@
-
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-CatchSelfTest is a <version> host application.
-Run with -? for options
-
--------------------------------------------------------------------------------
-A METHOD_AS_TEST_CASE based test run that fails
--------------------------------------------------------------------------------
-ClassTests.cpp:<line number>
-...............................................................................
-
-ClassTests.cpp:<line number>: FAILED:
- REQUIRE( s == "world" )
-with expansion:
- "hello" == "world"
-
--------------------------------------------------------------------------------
-A TEST_CASE_METHOD based test run that fails
--------------------------------------------------------------------------------
-ClassTests.cpp:<line number>
-...............................................................................
-
-ClassTests.cpp:<line number>: FAILED:
- REQUIRE( m_a == 2 )
-with expansion:
- 1 == 2
-
--------------------------------------------------------------------------------
-Equality checks that should fail
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven == 6 )
-with expansion:
- 7 == 6
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven == 8 )
-with expansion:
- 7 == 8
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven == 0 )
-with expansion:
- 7 == 0
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one == Approx( 9.11f ) )
-with expansion:
- 9.1f == Approx( 9.1099996567 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one == Approx( 9.0f ) )
-with expansion:
- 9.1f == Approx( 9.0 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one == Approx( 1 ) )
-with expansion:
- 9.1f == Approx( 1.0 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one == Approx( 0 ) )
-with expansion:
- 9.1f == Approx( 0.0 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.double_pi == Approx( 3.1415 ) )
-with expansion:
- 3.1415926535 == Approx( 3.1415 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello == "goodbye" )
-with expansion:
- "hello" == "goodbye"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello == "hell" )
-with expansion:
- "hello" == "hell"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello == "hello1" )
-with expansion:
- "hello" == "hello1"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello.size() == 6 )
-with expansion:
- 5 == 6
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( x == Approx( 1.301 ) )
-with expansion:
- 1.3 == Approx( 1.301 )
-
--------------------------------------------------------------------------------
-Inequality checks that should fail
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven != 7 )
-with expansion:
- 7 != 7
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one != Approx( 9.1f ) )
-with expansion:
- 9.1f != Approx( 9.1000003815 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.double_pi != Approx( 3.1415926535 ) )
-with expansion:
- 3.1415926535 != Approx( 3.1415926535 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello != "hello" )
-with expansion:
- "hello" != "hello"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello.size() != 5 )
-with expansion:
- 5 != 5
-
--------------------------------------------------------------------------------
-Ordering comparison checks that should fail
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven > 7 )
-with expansion:
- 7 > 7
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven < 7 )
-with expansion:
- 7 < 7
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven > 8 )
-with expansion:
- 7 > 8
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven < 6 )
-with expansion:
- 7 < 6
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven < 0 )
-with expansion:
- 7 < 0
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven < -1 )
-with expansion:
- 7 < -1
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven >= 8 )
-with expansion:
- 7 >= 8
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven <= 6 )
-with expansion:
- 7 <= 6
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one < 9 )
-with expansion:
- 9.1f < 9
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one > 10 )
-with expansion:
- 9.1f > 10
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one > 9.2 )
-with expansion:
- 9.1f > 9.2
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello > "hello" )
-with expansion:
- "hello" > "hello"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello < "hello" )
-with expansion:
- "hello" < "hello"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello > "hellp" )
-with expansion:
- "hello" > "hellp"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello > "z" )
-with expansion:
- "hello" > "z"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello < "hellm" )
-with expansion:
- "hello" < "hellm"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello < "a" )
-with expansion:
- "hello" < "a"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello >= "z" )
-with expansion:
- "hello" >= "z"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello <= "a" )
-with expansion:
- "hello" <= "a"
-
--------------------------------------------------------------------------------
-'Not' checks that should fail
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( false != false )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( true != true )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( !true )
-with expansion:
- false
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK_FALSE( true )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( !trueValue )
-with expansion:
- false
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK_FALSE( trueValue )
-with expansion:
- !true
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( !(1 == 1) )
-with expansion:
- false
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK_FALSE( 1 == 1 )
-with expansion:
- !(1 == 1)
-
--------------------------------------------------------------------------------
-Expected exceptions that don't throw or unexpected exceptions fail the test
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- CHECK_THROWS_AS( thisThrows() )
-due to unexpected exception with message:
- expected exception
-
-ExceptionTests.cpp:<line number>: FAILED:
- CHECK_THROWS_AS( thisDoesntThrow() )
-because no exception was thrown where one was expected:
-
-ExceptionTests.cpp:<line number>: FAILED:
- CHECK_NOTHROW( thisThrows() )
-due to unexpected exception with message:
- expected exception
-
--------------------------------------------------------------------------------
-When unchecked exceptions are thrown directly they are always failures
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
-due to unexpected exception with message:
- unexpected exception
-
--------------------------------------------------------------------------------
-An unchecked exception reports the line of the last assertion
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- {Unknown expression after the reported line}
-due to unexpected exception with message:
- unexpected exception
-
--------------------------------------------------------------------------------
-When unchecked exceptions are thrown from sections they are always failures
- section name
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
-due to unexpected exception with message:
- unexpected exception
-
--------------------------------------------------------------------------------
-When unchecked exceptions are thrown from functions they are always failures
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- CHECK( thisThrows() == 0 )
-due to unexpected exception with message:
- expected exception
-
--------------------------------------------------------------------------------
-When unchecked exceptions are thrown during a REQUIRE the test should abort
-fail
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- REQUIRE( thisThrows() == 0 )
-due to unexpected exception with message:
- expected exception
-
--------------------------------------------------------------------------------
-When unchecked exceptions are thrown during a CHECK the test should abort and
-fail
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- CHECK( thisThrows() == 0 )
-due to unexpected exception with message:
- expected exception
-
--------------------------------------------------------------------------------
-Non-std exceptions can be translated
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
-due to unexpected exception with message:
- custom exception
-
--------------------------------------------------------------------------------
-Custom std-exceptions can be custom translated
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
-due to unexpected exception with message:
- custom std exception
-
--------------------------------------------------------------------------------
-Custom exceptions can be translated when testing for nothrow
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- REQUIRE_NOTHROW( throwCustom() )
-due to unexpected exception with message:
- custom exception - not std
-
--------------------------------------------------------------------------------
-Custom exceptions can be translated when testing for throwing as something else
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- REQUIRE_THROWS_AS( throwCustom() )
-due to unexpected exception with message:
- custom exception - not std
-
--------------------------------------------------------------------------------
-Unexpected exceptions can be translated
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
-due to unexpected exception with message:
- 3.14
-
--------------------------------------------------------------------------------
-Mismatching exception messages failing the test
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- REQUIRE_THROWS_WITH( thisThrows(), "should fail" )
-with expansion:
- expected exception
-
--------------------------------------------------------------------------------
-INFO and WARN do not abort tests
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>:
-warning:
- this is a warning
-
--------------------------------------------------------------------------------
-INFO gets logged on failure
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
- REQUIRE( a == 1 )
-with expansion:
- 2 == 1
-with messages:
- this message should be logged
- so should this
-
--------------------------------------------------------------------------------
-INFO gets logged on failure, even if captured before successful assertions
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
- CHECK( a == 1 )
-with expansion:
- 2 == 1
-with messages:
- this message may be logged later
- this message should be logged
-
-MessageTests.cpp:<line number>: FAILED:
- CHECK( a == 0 )
-with expansion:
- 2 == 0
-with message:
- and this, but later
-
--------------------------------------------------------------------------------
-FAIL aborts the test
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
-explicitly with message:
- This is a failure
-
--------------------------------------------------------------------------------
-FAIL does not require an argument
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
-
--------------------------------------------------------------------------------
-Output from all sections is reported
- one
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
-explicitly with message:
- Message from section one
-
--------------------------------------------------------------------------------
-Output from all sections is reported
- two
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
-explicitly with message:
- Message from section two
-
-Message from section one
-Message from section two
--------------------------------------------------------------------------------
-SCOPED_INFO is reset for each loop
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
- REQUIRE( i < 10 )
-with expansion:
- 10 < 10
-with messages:
- current counter 10
- i := 10
-
--------------------------------------------------------------------------------
-just failure
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
-explicitly with message:
- Previous info should not be seen
-
--------------------------------------------------------------------------------
-sends information to INFO
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
- REQUIRE( false )
-with messages:
- hi
- i := 7
-
--------------------------------------------------------------------------------
-Pointers can be converted to strings
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>:
-warning:
- actual address of p: 0x<hex digits>
-
-MessageTests.cpp:<line number>:
-warning:
- toString(p): 0x<hex digits>
-
--------------------------------------------------------------------------------
-more nested SECTION tests
- s1
- s2
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- REQUIRE( a == b )
-with expansion:
- 1 == 2
-
--------------------------------------------------------------------------------
-looped SECTION tests
- s1
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( b > a )
-with expansion:
- 0 > 1
-
--------------------------------------------------------------------------------
-looped tests
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 1 == 0
-with message:
- Testing if fib[0] (1) is even
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 1 == 0
-with message:
- Testing if fib[1] (1) is even
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 1 == 0
-with message:
- Testing if fib[3] (3) is even
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 1 == 0
-with message:
- Testing if fib[4] (5) is even
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 1 == 0
-with message:
- Testing if fib[6] (13) is even
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 1 == 0
-with message:
- Testing if fib[7] (21) is even
-
-A string sent directly to stdout
-A string sent directly to stderr
--------------------------------------------------------------------------------
-checkedIf, failing
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECKED_IF( flag )
-with expansion:
- false
-
-MiscTests.cpp:<line number>: FAILED:
- REQUIRE( testCheckedIf( false ) )
-with expansion:
- false
-
--------------------------------------------------------------------------------
-checkedElse, failing
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECKED_ELSE( flag )
-with expansion:
- false
-
-MiscTests.cpp:<line number>: FAILED:
- REQUIRE( testCheckedElse( false ) )
-with expansion:
- false
-
--------------------------------------------------------------------------------
-send a single char to INFO
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- REQUIRE( false )
-with message:
- 3
-
--------------------------------------------------------------------------------
-Contains string matcher
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK_THAT( testStringForMatching(), Contains( "not there" ) )
-with expansion:
- "this string contains 'abc' as a substring" contains: "not there"
-
--------------------------------------------------------------------------------
-StartsWith string matcher
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK_THAT( testStringForMatching(), StartsWith( "string" ) )
-with expansion:
- "this string contains 'abc' as a substring" starts with: "string"
-
--------------------------------------------------------------------------------
-EndsWith string matcher
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK_THAT( testStringForMatching(), EndsWith( "this" ) )
-with expansion:
- "this string contains 'abc' as a substring" ends with: "this"
-
--------------------------------------------------------------------------------
-Equals string matcher
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK_THAT( testStringForMatching(), Equals( "something else" ) )
-with expansion:
- "this string contains 'abc' as a substring" equals: "something else"
-
--------------------------------------------------------------------------------
-Matchers can be composed with both && and || - failing
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK_THAT( testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) )
-with expansion:
- "this string contains 'abc' as a substring" ( ( contains: "string" or
- contains: "different" ) and contains: "random" )
-
--------------------------------------------------------------------------------
-Matchers can be negated (Not) with the ! operator - failing
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK_THAT( testStringForMatching(), !Contains( "substring" ) )
-with expansion:
- "this string contains 'abc' as a substring" not contains: "substring"
-
--------------------------------------------------------------------------------
-Nice descriptive name
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-warning:
- This one ran
-
--------------------------------------------------------------------------------
-A couple of nested sections followed by a failure
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
-explicitly with message:
- to infinity and beyond
-
--------------------------------------------------------------------------------
-Tabs and newlines show in output
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( s1 == s2 )
-with expansion:
- "if ($b == 10) {
- $a= 20;
- }"
- ==
- "if ($b == 10) {
- $a = 20;
- }
- "
-
-hello
-hello
--------------------------------------------------------------------------------
-Where there is more to the expression after the RHS
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-warning:
- Uncomment the code in this test to check that it gives a sensible compiler
- error
-
--------------------------------------------------------------------------------
-Where the LHS is not a simple value
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-warning:
- Uncomment the code in this test to check that it gives a sensible compiler
- error
-
--------------------------------------------------------------------------------
-A failing expression with a non streamable type is still captured
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>: FAILED:
- CHECK( &o1 == &o2 )
-with expansion:
- 0x<hex digits> == 0x<hex digits>
-
-TrickyTests.cpp:<line number>: FAILED:
- CHECK( o1 == o2 )
-with expansion:
- {?} == {?}
-
--------------------------------------------------------------------------------
-string literals of different sizes can be compared
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>: FAILED:
- REQUIRE( std::string( "first" ) == "second" )
-with expansion:
- "first" == "second"
-
-===============================================================================
-test cases: 167 | 124 passed | 42 failed | 1 failed as expected
-assertions: 914 | 818 passed | 83 failed | 13 failed as expected
-
diff --git a/3rdparty/sol2/Catch/projects/SelfTest/Baselines/console.sw.approved.txt b/3rdparty/sol2/Catch/projects/SelfTest/Baselines/console.sw.approved.txt
deleted file mode 100644
index d8c0b9b910a..00000000000
--- a/3rdparty/sol2/Catch/projects/SelfTest/Baselines/console.sw.approved.txt
+++ /dev/null
@@ -1,9050 +0,0 @@
-
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-CatchSelfTest is a <version> host application.
-Run with -? for options
-
--------------------------------------------------------------------------------
-toString(enum)
--------------------------------------------------------------------------------
-EnumToString.cpp:<line number>
-...............................................................................
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e0) == "0" )
-with expansion:
- "0" == "0"
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e1) == "1" )
-with expansion:
- "1" == "1"
-
--------------------------------------------------------------------------------
-toString(enum w/operator<<)
--------------------------------------------------------------------------------
-EnumToString.cpp:<line number>
-...............................................................................
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e0) == "E2{0}" )
-with expansion:
- "E2{0}" == "E2{0}"
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e1) == "E2{1}" )
-with expansion:
- "E2{1}" == "E2{1}"
-
--------------------------------------------------------------------------------
-toString(enum class)
--------------------------------------------------------------------------------
-EnumToString.cpp:<line number>
-...............................................................................
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e0) == "0" )
-with expansion:
- "0" == "0"
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e1) == "1" )
-with expansion:
- "1" == "1"
-
--------------------------------------------------------------------------------
-toString(enum class w/operator<<)
--------------------------------------------------------------------------------
-EnumToString.cpp:<line number>
-...............................................................................
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e0) == "E2/V0" )
-with expansion:
- "E2/V0" == "E2/V0"
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e1) == "E2/V1" )
-with expansion:
- "E2/V1" == "E2/V1"
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e3) == "Unknown enum value 10" )
-with expansion:
- "Unknown enum value 10"
- ==
- "Unknown enum value 10"
-
--------------------------------------------------------------------------------
-Some simple comparisons between doubles
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d == Approx( 1.23 ) )
-with expansion:
- 1.23 == Approx( 1.23 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d != Approx( 1.22 ) )
-with expansion:
- 1.23 != Approx( 1.22 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d != Approx( 1.24 ) )
-with expansion:
- 1.23 != Approx( 1.24 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( Approx( d ) == 1.23 )
-with expansion:
- Approx( 1.23 ) == 1.23
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( Approx( d ) != 1.22 )
-with expansion:
- Approx( 1.23 ) != 1.22
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( Approx( d ) != 1.24 )
-with expansion:
- Approx( 1.23 ) != 1.24
-
--------------------------------------------------------------------------------
-Approximate comparisons with different epsilons
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d != Approx( 1.231 ) )
-with expansion:
- 1.23 != Approx( 1.231 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d == Approx( 1.231 ).epsilon( 0.1 ) )
-with expansion:
- 1.23 == Approx( 1.231 )
-
--------------------------------------------------------------------------------
-Approximate comparisons with floats
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 1.23f == Approx( 1.23f ) )
-with expansion:
- 1.23f == Approx( 1.2300000191 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 0.0f == Approx( 0.0f ) )
-with expansion:
- 0.0f == Approx( 0.0 )
-
--------------------------------------------------------------------------------
-Approximate comparisons with ints
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 1 == Approx( 1 ) )
-with expansion:
- 1 == Approx( 1.0 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 0 == Approx( 0 ) )
-with expansion:
- 0 == Approx( 0.0 )
-
--------------------------------------------------------------------------------
-Approximate comparisons with mixed numeric types
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 1.0f == Approx( 1 ) )
-with expansion:
- 1.0f == Approx( 1.0 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 0 == Approx( dZero) )
-with expansion:
- 0 == Approx( 0.0 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 0 == Approx( dSmall ).epsilon( 0.001 ) )
-with expansion:
- 0 == Approx( 0.00001 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 1.234f == Approx( dMedium ) )
-with expansion:
- 1.234f == Approx( 1.234 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( dMedium == Approx( 1.234f ) )
-with expansion:
- 1.234 == Approx( 1.2339999676 )
-
--------------------------------------------------------------------------------
-Use a custom approx
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d == approx( 1.23 ) )
-with expansion:
- 1.23 == Approx( 1.23 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d == approx( 1.22 ) )
-with expansion:
- 1.23 == Approx( 1.22 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d == approx( 1.24 ) )
-with expansion:
- 1.23 == Approx( 1.24 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d != approx( 1.25 ) )
-with expansion:
- 1.23 != Approx( 1.25 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( approx( d ) == 1.23 )
-with expansion:
- Approx( 1.23 ) == 1.23
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( approx( d ) == 1.22 )
-with expansion:
- Approx( 1.23 ) == 1.22
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( approx( d ) == 1.24 )
-with expansion:
- Approx( 1.23 ) == 1.24
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( approx( d ) != 1.25 )
-with expansion:
- Approx( 1.23 ) != 1.25
-
--------------------------------------------------------------------------------
-Approximate PI
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) )
-with expansion:
- 3.1428571429 == Approx( 3.141 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) )
-with expansion:
- 3.1428571429 != Approx( 3.141 )
-
--------------------------------------------------------------------------------
-A METHOD_AS_TEST_CASE based test run that succeeds
--------------------------------------------------------------------------------
-ClassTests.cpp:<line number>
-...............................................................................
-
-ClassTests.cpp:<line number>:
-PASSED:
- REQUIRE( s == "hello" )
-with expansion:
- "hello" == "hello"
-
--------------------------------------------------------------------------------
-A METHOD_AS_TEST_CASE based test run that fails
--------------------------------------------------------------------------------
-ClassTests.cpp:<line number>
-...............................................................................
-
-ClassTests.cpp:<line number>: FAILED:
- REQUIRE( s == "world" )
-with expansion:
- "hello" == "world"
-
--------------------------------------------------------------------------------
-A TEST_CASE_METHOD based test run that succeeds
--------------------------------------------------------------------------------
-ClassTests.cpp:<line number>
-...............................................................................
-
-ClassTests.cpp:<line number>:
-PASSED:
- REQUIRE( m_a == 1 )
-with expansion:
- 1 == 1
-
--------------------------------------------------------------------------------
-A TEST_CASE_METHOD based test run that fails
--------------------------------------------------------------------------------
-ClassTests.cpp:<line number>
-...............................................................................
-
-ClassTests.cpp:<line number>: FAILED:
- REQUIRE( m_a == 2 )
-with expansion:
- 1 == 2
-
--------------------------------------------------------------------------------
-Equality checks that should succeed
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven == 7 )
-with expansion:
- 7 == 7
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one == Approx( 9.1f ) )
-with expansion:
- 9.1f == Approx( 9.1000003815 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.double_pi == Approx( 3.1415926535 ) )
-with expansion:
- 3.1415926535 == Approx( 3.1415926535 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello == "hello" )
-with expansion:
- "hello" == "hello"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( "hello" == data.str_hello )
-with expansion:
- "hello" == "hello"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello.size() == 5 )
-with expansion:
- 5 == 5
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( x == Approx( 1.3 ) )
-with expansion:
- 1.3 == Approx( 1.3 )
-
--------------------------------------------------------------------------------
-Equality checks that should fail
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven == 6 )
-with expansion:
- 7 == 6
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven == 8 )
-with expansion:
- 7 == 8
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven == 0 )
-with expansion:
- 7 == 0
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one == Approx( 9.11f ) )
-with expansion:
- 9.1f == Approx( 9.1099996567 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one == Approx( 9.0f ) )
-with expansion:
- 9.1f == Approx( 9.0 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one == Approx( 1 ) )
-with expansion:
- 9.1f == Approx( 1.0 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one == Approx( 0 ) )
-with expansion:
- 9.1f == Approx( 0.0 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.double_pi == Approx( 3.1415 ) )
-with expansion:
- 3.1415926535 == Approx( 3.1415 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello == "goodbye" )
-with expansion:
- "hello" == "goodbye"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello == "hell" )
-with expansion:
- "hello" == "hell"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello == "hello1" )
-with expansion:
- "hello" == "hello1"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello.size() == 6 )
-with expansion:
- 5 == 6
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( x == Approx( 1.301 ) )
-with expansion:
- 1.3 == Approx( 1.301 )
-
--------------------------------------------------------------------------------
-Inequality checks that should succeed
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven != 6 )
-with expansion:
- 7 != 6
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven != 8 )
-with expansion:
- 7 != 8
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one != Approx( 9.11f ) )
-with expansion:
- 9.1f != Approx( 9.1099996567 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one != Approx( 9.0f ) )
-with expansion:
- 9.1f != Approx( 9.0 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one != Approx( 1 ) )
-with expansion:
- 9.1f != Approx( 1.0 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one != Approx( 0 ) )
-with expansion:
- 9.1f != Approx( 0.0 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.double_pi != Approx( 3.1415 ) )
-with expansion:
- 3.1415926535 != Approx( 3.1415 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello != "goodbye" )
-with expansion:
- "hello" != "goodbye"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello != "hell" )
-with expansion:
- "hello" != "hell"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello != "hello1" )
-with expansion:
- "hello" != "hello1"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello.size() != 6 )
-with expansion:
- 5 != 6
-
--------------------------------------------------------------------------------
-Inequality checks that should fail
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven != 7 )
-with expansion:
- 7 != 7
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one != Approx( 9.1f ) )
-with expansion:
- 9.1f != Approx( 9.1000003815 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.double_pi != Approx( 3.1415926535 ) )
-with expansion:
- 3.1415926535 != Approx( 3.1415926535 )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello != "hello" )
-with expansion:
- "hello" != "hello"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello.size() != 5 )
-with expansion:
- 5 != 5
-
--------------------------------------------------------------------------------
-Ordering comparison checks that should succeed
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven < 8 )
-with expansion:
- 7 < 8
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven > 6 )
-with expansion:
- 7 > 6
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven > 0 )
-with expansion:
- 7 > 0
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven > -1 )
-with expansion:
- 7 > -1
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven >= 7 )
-with expansion:
- 7 >= 7
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven >= 6 )
-with expansion:
- 7 >= 6
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven <= 7 )
-with expansion:
- 7 <= 7
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven <= 8 )
-with expansion:
- 7 <= 8
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one > 9 )
-with expansion:
- 9.1f > 9
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one < 10 )
-with expansion:
- 9.1f < 10
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one < 9.2 )
-with expansion:
- 9.1f < 9.2
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello <= "hello" )
-with expansion:
- "hello" <= "hello"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello >= "hello" )
-with expansion:
- "hello" >= "hello"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello < "hellp" )
-with expansion:
- "hello" < "hellp"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello < "zebra" )
-with expansion:
- "hello" < "zebra"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello > "hellm" )
-with expansion:
- "hello" > "hellm"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello > "a" )
-with expansion:
- "hello" > "a"
-
--------------------------------------------------------------------------------
-Ordering comparison checks that should fail
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven > 7 )
-with expansion:
- 7 > 7
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven < 7 )
-with expansion:
- 7 < 7
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven > 8 )
-with expansion:
- 7 > 8
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven < 6 )
-with expansion:
- 7 < 6
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven < 0 )
-with expansion:
- 7 < 0
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven < -1 )
-with expansion:
- 7 < -1
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven >= 8 )
-with expansion:
- 7 >= 8
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven <= 6 )
-with expansion:
- 7 <= 6
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one < 9 )
-with expansion:
- 9.1f < 9
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one > 10 )
-with expansion:
- 9.1f > 10
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one > 9.2 )
-with expansion:
- 9.1f > 9.2
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello > "hello" )
-with expansion:
- "hello" > "hello"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello < "hello" )
-with expansion:
- "hello" < "hello"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello > "hellp" )
-with expansion:
- "hello" > "hellp"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello > "z" )
-with expansion:
- "hello" > "z"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello < "hellm" )
-with expansion:
- "hello" < "hellm"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello < "a" )
-with expansion:
- "hello" < "a"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello >= "z" )
-with expansion:
- "hello" >= "z"
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.str_hello <= "a" )
-with expansion:
- "hello" <= "a"
-
--------------------------------------------------------------------------------
-Comparisons with int literals don't warn when mixing signed/ unsigned
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( i == 1 )
-with expansion:
- 1 == 1
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( ui == 2 )
-with expansion:
- 2 == 2
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( l == 3 )
-with expansion:
- 3 == 3
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( ul == 4 )
-with expansion:
- 4 == 4
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( c == 5 )
-with expansion:
- 5 == 5
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( uc == 6 )
-with expansion:
- 6 == 6
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( 1 == i )
-with expansion:
- 1 == 1
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( 2 == ui )
-with expansion:
- 2 == 2
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( 3 == l )
-with expansion:
- 3 == 3
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( 4 == ul )
-with expansion:
- 4 == 4
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( 5 == c )
-with expansion:
- 5 == 5
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( 6 == uc )
-with expansion:
- 6 == 6
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( (std::numeric_limits<unsigned long>::max)() > ul )
-with expansion:
- 18446744073709551615 (0x<hex digits>)
- >
- 4
-
--------------------------------------------------------------------------------
-comparisons between int variables
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( long_var == unsigned_char_var )
-with expansion:
- 1 == 1
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( long_var == unsigned_short_var )
-with expansion:
- 1 == 1
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( long_var == unsigned_int_var )
-with expansion:
- 1 == 1
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( long_var == unsigned_long_var )
-with expansion:
- 1 == 1
-
--------------------------------------------------------------------------------
-comparisons between const int variables
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( unsigned_char_var == 1 )
-with expansion:
- 1 == 1
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( unsigned_short_var == 1 )
-with expansion:
- 1 == 1
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( unsigned_int_var == 1 )
-with expansion:
- 1 == 1
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( unsigned_long_var == 1 )
-with expansion:
- 1 == 1
-
--------------------------------------------------------------------------------
-Comparisons between unsigned ints and negative signed ints match c++ standard
-behaviour
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>:
-PASSED:
- CHECK( ( -1 > 2u ) )
-with expansion:
- true
-
-ConditionTests.cpp:<line number>:
-PASSED:
- CHECK( -1 > 2u )
-with expansion:
- -1 > 2
-
-ConditionTests.cpp:<line number>:
-PASSED:
- CHECK( ( 2u < -1 ) )
-with expansion:
- true
-
-ConditionTests.cpp:<line number>:
-PASSED:
- CHECK( 2u < -1 )
-with expansion:
- 2 < -1
-
-ConditionTests.cpp:<line number>:
-PASSED:
- CHECK( ( minInt > 2u ) )
-with expansion:
- true
-
-ConditionTests.cpp:<line number>:
-PASSED:
- CHECK( minInt > 2u )
-with expansion:
- -2147483648 > 2
-
--------------------------------------------------------------------------------
-Comparisons between ints where one side is computed
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>:
-PASSED:
- CHECK( 54 == 6*9 )
-with expansion:
- 54 == 54
-
--------------------------------------------------------------------------------
-Pointers can be compared to null
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( p == nullptr )
-with expansion:
- NULL == nullptr
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( p == pNULL )
-with expansion:
- NULL == NULL
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( p != nullptr )
-with expansion:
- 0x<hex digits> != nullptr
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( cp != nullptr )
-with expansion:
- 0x<hex digits> != nullptr
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( cpc != nullptr )
-with expansion:
- 0x<hex digits> != nullptr
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( returnsNull() == nullptr )
-with expansion:
- {null string} == nullptr
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( returnsConstNull() == nullptr )
-with expansion:
- {null string} == nullptr
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( nullptr != p )
-with expansion:
- nullptr != 0x<hex digits>
-
--------------------------------------------------------------------------------
-'Not' checks that should succeed
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( false == false )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( true == true )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( !false )
-with expansion:
- true
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE_FALSE( false )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( !falseValue )
-with expansion:
- true
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE_FALSE( falseValue )
-with expansion:
- !false
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( !(1 == 2) )
-with expansion:
- true
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE_FALSE( 1 == 2 )
-with expansion:
- !(1 == 2)
-
--------------------------------------------------------------------------------
-'Not' checks that should fail
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( false != false )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( true != true )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( !true )
-with expansion:
- false
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK_FALSE( true )
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( !trueValue )
-with expansion:
- false
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK_FALSE( trueValue )
-with expansion:
- !true
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( !(1 == 1) )
-with expansion:
- false
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK_FALSE( 1 == 1 )
-with expansion:
- !(1 == 1)
-
--------------------------------------------------------------------------------
-When checked exceptions are thrown they can be expected or unexpected
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>:
-PASSED:
- REQUIRE_THROWS_AS( thisThrows() )
-
-ExceptionTests.cpp:<line number>:
-PASSED:
- REQUIRE_NOTHROW( thisDoesntThrow() )
-
-ExceptionTests.cpp:<line number>:
-PASSED:
- REQUIRE_THROWS( thisThrows() )
-
--------------------------------------------------------------------------------
-Expected exceptions that don't throw or unexpected exceptions fail the test
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- CHECK_THROWS_AS( thisThrows() )
-due to unexpected exception with message:
- expected exception
-
-ExceptionTests.cpp:<line number>: FAILED:
- CHECK_THROWS_AS( thisDoesntThrow() )
-because no exception was thrown where one was expected:
-
-ExceptionTests.cpp:<line number>: FAILED:
- CHECK_NOTHROW( thisThrows() )
-due to unexpected exception with message:
- expected exception
-
--------------------------------------------------------------------------------
-When unchecked exceptions are thrown directly they are always failures
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
-due to unexpected exception with message:
- unexpected exception
-
--------------------------------------------------------------------------------
-An unchecked exception reports the line of the last assertion
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>:
-PASSED:
- CHECK( 1 == 1 )
-
-ExceptionTests.cpp:<line number>: FAILED:
- {Unknown expression after the reported line}
-due to unexpected exception with message:
- unexpected exception
-
--------------------------------------------------------------------------------
-When unchecked exceptions are thrown from sections they are always failures
- section name
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
-due to unexpected exception with message:
- unexpected exception
-
--------------------------------------------------------------------------------
-When unchecked exceptions are thrown from functions they are always failures
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- CHECK( thisThrows() == 0 )
-due to unexpected exception with message:
- expected exception
-
--------------------------------------------------------------------------------
-When unchecked exceptions are thrown during a REQUIRE the test should abort
-fail
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- REQUIRE( thisThrows() == 0 )
-due to unexpected exception with message:
- expected exception
-
--------------------------------------------------------------------------------
-When unchecked exceptions are thrown during a CHECK the test should abort and
-fail
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- CHECK( thisThrows() == 0 )
-due to unexpected exception with message:
- expected exception
-
--------------------------------------------------------------------------------
-Non-std exceptions can be translated
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
-due to unexpected exception with message:
- custom exception
-
--------------------------------------------------------------------------------
-Custom std-exceptions can be custom translated
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
-due to unexpected exception with message:
- custom std exception
-
--------------------------------------------------------------------------------
-Custom exceptions can be translated when testing for nothrow
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- REQUIRE_NOTHROW( throwCustom() )
-due to unexpected exception with message:
- custom exception - not std
-
--------------------------------------------------------------------------------
-Custom exceptions can be translated when testing for throwing as something else
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
- REQUIRE_THROWS_AS( throwCustom() )
-due to unexpected exception with message:
- custom exception - not std
-
--------------------------------------------------------------------------------
-Unexpected exceptions can be translated
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>: FAILED:
-due to unexpected exception with message:
- 3.14
-
--------------------------------------------------------------------------------
-NotImplemented exception
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>:
-PASSED:
- REQUIRE_THROWS( thisFunctionNotImplemented( 7 ) )
-
--------------------------------------------------------------------------------
-Exception messages can be tested for
- exact match
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>:
-PASSED:
- REQUIRE_THROWS_WITH( thisThrows(), "expected exception" )
-
--------------------------------------------------------------------------------
-Exception messages can be tested for
- different case
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>:
-PASSED:
- REQUIRE_THROWS_WITH( thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) )
-
--------------------------------------------------------------------------------
-Exception messages can be tested for
- wildcarded
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>:
-PASSED:
- REQUIRE_THROWS_WITH( thisThrows(), StartsWith( "expected" ) )
-
-ExceptionTests.cpp:<line number>:
-PASSED:
- REQUIRE_THROWS_WITH( thisThrows(), EndsWith( "exception" ) )
-
-ExceptionTests.cpp:<line number>:
-PASSED:
- REQUIRE_THROWS_WITH( thisThrows(), Contains( "except" ) )
-
-ExceptionTests.cpp:<line number>:
-PASSED:
- REQUIRE_THROWS_WITH( thisThrows(), Contains( "exCept", Catch::CaseSensitive::No ) )
-
--------------------------------------------------------------------------------
-Mismatching exception messages failing the test
--------------------------------------------------------------------------------
-ExceptionTests.cpp:<line number>
-...............................................................................
-
-ExceptionTests.cpp:<line number>:
-PASSED:
- REQUIRE_THROWS_WITH( thisThrows(), "expected exception" )
-
-ExceptionTests.cpp:<line number>: FAILED:
- REQUIRE_THROWS_WITH( thisThrows(), "should fail" )
-with expansion:
- expected exception
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 2 == 2
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 200 == 200
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 4 == 4
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 200 == 200
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 6 == 6
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 200 == 200
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 8 == 8
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 200 == 200
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 10 == 10
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 200 == 200
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 30 == 30
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 200 == 200
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 40 == 40
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 200 == 200
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 42 == 42
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 200 == 200
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 72 == 72
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 200 == 200
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 2 == 2
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 202 == 202
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 4 == 4
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 202 == 202
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 6 == 6
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 202 == 202
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 8 == 8
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 202 == 202
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 10 == 10
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 202 == 202
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 30 == 30
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 202 == 202
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 40 == 40
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 202 == 202
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 42 == 42
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 202 == 202
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 72 == 72
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 202 == 202
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 2 == 2
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 204 == 204
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 4 == 4
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 204 == 204
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 6 == 6
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 204 == 204
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 8 == 8
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 204 == 204
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 10 == 10
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 204 == 204
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 30 == 30
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 204 == 204
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 40 == 40
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 204 == 204
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 42 == 42
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 204 == 204
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 72 == 72
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 204 == 204
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 2 == 2
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 206 == 206
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 4 == 4
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 206 == 206
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 6 == 6
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 206 == 206
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 8 == 8
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 206 == 206
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 10 == 10
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 206 == 206
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 30 == 30
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 206 == 206
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 40 == 40
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 206 == 206
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 42 == 42
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 206 == 206
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 72 == 72
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 206 == 206
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 2 == 2
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 208 == 208
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 4 == 4
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 208 == 208
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 6 == 6
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 208 == 208
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 8 == 8
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 208 == 208
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 10 == 10
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 208 == 208
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 30 == 30
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 208 == 208
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 40 == 40
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 208 == 208
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 42 == 42
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 208 == 208
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 72 == 72
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 208 == 208
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 2 == 2
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 210 == 210
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 4 == 4
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 210 == 210
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 6 == 6
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 210 == 210
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 8 == 8
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 210 == 210
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 10 == 10
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 210 == 210
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 30 == 30
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 210 == 210
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 40 == 40
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 210 == 210
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 42 == 42
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 210 == 210
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 72 == 72
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 210 == 210
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 2 == 2
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 212 == 212
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 4 == 4
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 212 == 212
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 6 == 6
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 212 == 212
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 8 == 8
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 212 == 212
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 10 == 10
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 212 == 212
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 30 == 30
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 212 == 212
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 40 == 40
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 212 == 212
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 42 == 42
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 212 == 212
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 72 == 72
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 212 == 212
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 2 == 2
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 214 == 214
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 4 == 4
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 214 == 214
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 6 == 6
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 214 == 214
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 8 == 8
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 214 == 214
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 10 == 10
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 214 == 214
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 30 == 30
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 214 == 214
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 40 == 40
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 214 == 214
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 42 == 42
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 214 == 214
-
--------------------------------------------------------------------------------
-Generators over two ranges
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( i, 2 ) == i*2 )
-with expansion:
- 72 == 72
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( multiply( j, 2 ) == j*2 )
-with expansion:
- 214 == 214
-
--------------------------------------------------------------------------------
-Generator over a range of pairs
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( i->first == i->second-1 )
-with expansion:
- 0 == 0
-
--------------------------------------------------------------------------------
-Generator over a range of pairs
--------------------------------------------------------------------------------
-GeneratorTests.cpp:<line number>
-...............................................................................
-
-GeneratorTests.cpp:<line number>:
-PASSED:
- CATCH_REQUIRE( i->first == i->second-1 )
-with expansion:
- 2 == 2
-
--------------------------------------------------------------------------------
-INFO and WARN do not abort tests
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>:
-warning:
- this is a message
- this is a warning
-
--------------------------------------------------------------------------------
-SUCCEED counts as a test pass
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>:
-PASSED:
-with message:
- this is a success
-
--------------------------------------------------------------------------------
-INFO gets logged on failure
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
- REQUIRE( a == 1 )
-with expansion:
- 2 == 1
-with messages:
- this message should be logged
- so should this
-
--------------------------------------------------------------------------------
-INFO gets logged on failure, even if captured before successful assertions
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>:
-PASSED:
- CHECK( a == 2 )
-with expansion:
- 2 == 2
-with message:
- this message may be logged later
-
-MessageTests.cpp:<line number>: FAILED:
- CHECK( a == 1 )
-with expansion:
- 2 == 1
-with message:
- this message should be logged
-
-MessageTests.cpp:<line number>: FAILED:
- CHECK( a == 0 )
-with expansion:
- 2 == 0
-with message:
- and this, but later
-
-MessageTests.cpp:<line number>:
-PASSED:
- CHECK( a == 2 )
-with expansion:
- 2 == 2
-with message:
- but not this
-
--------------------------------------------------------------------------------
-FAIL aborts the test
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
-explicitly with message:
- This is a failure
-
--------------------------------------------------------------------------------
-FAIL does not require an argument
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
-
--------------------------------------------------------------------------------
-SUCCESS does not require an argument
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>:
-PASSED:
-
--------------------------------------------------------------------------------
-Output from all sections is reported
- one
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
-explicitly with message:
- Message from section one
-
--------------------------------------------------------------------------------
-Output from all sections is reported
- two
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
-explicitly with message:
- Message from section two
-
-Message from section one
--------------------------------------------------------------------------------
-Standard output from all sections is reported
- one
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-
-No assertions in section 'one'
-
-Message from section two
--------------------------------------------------------------------------------
-Standard output from all sections is reported
- two
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-
-No assertions in section 'two'
-
--------------------------------------------------------------------------------
-SCOPED_INFO is reset for each loop
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>:
-PASSED:
- REQUIRE( i < 10 )
-with expansion:
- 0 < 10
-with messages:
- current counter 0
- i := 0
-
-MessageTests.cpp:<line number>:
-PASSED:
- REQUIRE( i < 10 )
-with expansion:
- 1 < 10
-with messages:
- current counter 1
- i := 1
-
-MessageTests.cpp:<line number>:
-PASSED:
- REQUIRE( i < 10 )
-with expansion:
- 2 < 10
-with messages:
- current counter 2
- i := 2
-
-MessageTests.cpp:<line number>:
-PASSED:
- REQUIRE( i < 10 )
-with expansion:
- 3 < 10
-with messages:
- current counter 3
- i := 3
-
-MessageTests.cpp:<line number>:
-PASSED:
- REQUIRE( i < 10 )
-with expansion:
- 4 < 10
-with messages:
- current counter 4
- i := 4
-
-MessageTests.cpp:<line number>:
-PASSED:
- REQUIRE( i < 10 )
-with expansion:
- 5 < 10
-with messages:
- current counter 5
- i := 5
-
-MessageTests.cpp:<line number>:
-PASSED:
- REQUIRE( i < 10 )
-with expansion:
- 6 < 10
-with messages:
- current counter 6
- i := 6
-
-MessageTests.cpp:<line number>:
-PASSED:
- REQUIRE( i < 10 )
-with expansion:
- 7 < 10
-with messages:
- current counter 7
- i := 7
-
-MessageTests.cpp:<line number>:
-PASSED:
- REQUIRE( i < 10 )
-with expansion:
- 8 < 10
-with messages:
- current counter 8
- i := 8
-
-MessageTests.cpp:<line number>:
-PASSED:
- REQUIRE( i < 10 )
-with expansion:
- 9 < 10
-with messages:
- current counter 9
- i := 9
-
-MessageTests.cpp:<line number>: FAILED:
- REQUIRE( i < 10 )
-with expansion:
- 10 < 10
-with messages:
- current counter 10
- i := 10
-
--------------------------------------------------------------------------------
-The NO_FAIL macro reports a failure but does not fail the test
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>:
-FAILED - but was ok:
- CHECK_NOFAIL( 1 == 2 )
-
--------------------------------------------------------------------------------
-just failure
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
-explicitly with message:
- Previous info should not be seen
-
--------------------------------------------------------------------------------
-sends information to INFO
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>: FAILED:
- REQUIRE( false )
-with messages:
- hi
- i := 7
-
--------------------------------------------------------------------------------
-Pointers can be converted to strings
--------------------------------------------------------------------------------
-MessageTests.cpp:<line number>
-...............................................................................
-
-MessageTests.cpp:<line number>:
-warning:
- actual address of p: 0x<hex digits>
-
-MessageTests.cpp:<line number>:
-warning:
- toString(p): 0x<hex digits>
-
--------------------------------------------------------------------------------
-random SECTION tests
- s1
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( a != b )
-with expansion:
- 1 != 2
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( b != a )
-with expansion:
- 2 != 1
-
--------------------------------------------------------------------------------
-random SECTION tests
- s2
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( a != b )
-with expansion:
- 1 != 2
-
--------------------------------------------------------------------------------
-nested SECTION tests
- s1
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( a != b )
-with expansion:
- 1 != 2
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( b != a )
-with expansion:
- 2 != 1
-
--------------------------------------------------------------------------------
-nested SECTION tests
- s1
- s2
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( a != b )
-with expansion:
- 1 != 2
-
--------------------------------------------------------------------------------
-more nested SECTION tests
- s1
- s2
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- REQUIRE( a == b )
-with expansion:
- 1 == 2
-
--------------------------------------------------------------------------------
-more nested SECTION tests
- s1
- s3
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( a != b )
-with expansion:
- 1 != 2
-
--------------------------------------------------------------------------------
-more nested SECTION tests
- s1
- s4
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( a < b )
-with expansion:
- 1 < 2
-
--------------------------------------------------------------------------------
-even more nested SECTION tests
- c
- d (leaf)
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
-
--------------------------------------------------------------------------------
-even more nested SECTION tests
- c
- e (leaf)
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
-
--------------------------------------------------------------------------------
-even more nested SECTION tests
- f (leaf)
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
-
--------------------------------------------------------------------------------
-looped SECTION tests
- s1
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( b > a )
-with expansion:
- 0 > 1
-
--------------------------------------------------------------------------------
-looped tests
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 1 == 0
-with message:
- Testing if fib[0] (1) is even
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 1 == 0
-with message:
- Testing if fib[1] (1) is even
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 0 == 0
-with message:
- Testing if fib[2] (2) is even
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 1 == 0
-with message:
- Testing if fib[3] (3) is even
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 1 == 0
-with message:
- Testing if fib[4] (5) is even
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 0 == 0
-with message:
- Testing if fib[5] (8) is even
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 1 == 0
-with message:
- Testing if fib[6] (13) is even
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( ( fib[i] % 2 ) == 0 )
-with expansion:
- 1 == 0
-with message:
- Testing if fib[7] (21) is even
-
-A string sent directly to stdout
-A string sent directly to stderr
--------------------------------------------------------------------------------
-null strings
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( makeString( false ) != static_cast<char*>(nullptr) )
-with expansion:
- "valid string" != {null string}
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( makeString( true ) == static_cast<char*>(nullptr) )
-with expansion:
- {null string} == {null string}
-
--------------------------------------------------------------------------------
-checkedIf
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECKED_IF( flag )
-with expansion:
- true
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCheckedIf( true ) )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-checkedIf, failing
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECKED_IF( flag )
-with expansion:
- false
-
-MiscTests.cpp:<line number>: FAILED:
- REQUIRE( testCheckedIf( false ) )
-with expansion:
- false
-
--------------------------------------------------------------------------------
-checkedElse
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECKED_ELSE( flag )
-with expansion:
- true
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCheckedElse( true ) )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-checkedElse, failing
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECKED_ELSE( flag )
-with expansion:
- false
-
-MiscTests.cpp:<line number>: FAILED:
- REQUIRE( testCheckedElse( false ) )
-with expansion:
- false
-
--------------------------------------------------------------------------------
-xmlentitycheck
- embedded xml
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
-
--------------------------------------------------------------------------------
-xmlentitycheck
- encoded chars
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
-
--------------------------------------------------------------------------------
-send a single char to INFO
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- REQUIRE( false )
-with message:
- 3
-
--------------------------------------------------------------------------------
-atomic if
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( x == 0 )
-with expansion:
- 0 == 0
-
--------------------------------------------------------------------------------
-String matchers
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE_THAT( testStringForMatching(), Contains( "string" ) )
-with expansion:
- "this string contains 'abc' as a substring" contains: "string"
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( testStringForMatching(), Contains( "abc" ) )
-with expansion:
- "this string contains 'abc' as a substring" contains: "abc"
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( testStringForMatching(), StartsWith( "this" ) )
-with expansion:
- "this string contains 'abc' as a substring" starts with: "this"
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( testStringForMatching(), EndsWith( "substring" ) )
-with expansion:
- "this string contains 'abc' as a substring" ends with: "substring"
-
--------------------------------------------------------------------------------
-Contains string matcher
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK_THAT( testStringForMatching(), Contains( "not there" ) )
-with expansion:
- "this string contains 'abc' as a substring" contains: "not there"
-
--------------------------------------------------------------------------------
-StartsWith string matcher
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK_THAT( testStringForMatching(), StartsWith( "string" ) )
-with expansion:
- "this string contains 'abc' as a substring" starts with: "string"
-
--------------------------------------------------------------------------------
-EndsWith string matcher
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK_THAT( testStringForMatching(), EndsWith( "this" ) )
-with expansion:
- "this string contains 'abc' as a substring" ends with: "this"
-
--------------------------------------------------------------------------------
-Equals string matcher
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK_THAT( testStringForMatching(), Equals( "something else" ) )
-with expansion:
- "this string contains 'abc' as a substring" equals: "something else"
-
--------------------------------------------------------------------------------
-Equals string matcher, with NULL
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE_THAT( "", Equals(nullptr) )
-with expansion:
- "" equals: ""
-
--------------------------------------------------------------------------------
-AllOf matcher
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( testStringForMatching(), AllOf( Catch::Contains( "string" ), Catch::Contains( "abc" ) ) )
-with expansion:
- "this string contains 'abc' as a substring" ( contains: "string" and
- contains: "abc" )
-
--------------------------------------------------------------------------------
-AnyOf matcher
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( testStringForMatching(), AnyOf( Catch::Contains( "string" ), Catch::Contains( "not there" ) ) )
-with expansion:
- "this string contains 'abc' as a substring" ( contains: "string" or contains:
- "not there" )
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( testStringForMatching(), AnyOf( Catch::Contains( "not there" ), Catch::Contains( "string" ) ) )
-with expansion:
- "this string contains 'abc' as a substring" ( contains: "not there" or
- contains: "string" )
-
--------------------------------------------------------------------------------
-Equals
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( testStringForMatching(), Equals( "this string contains 'abc' as a substring" ) )
-with expansion:
- "this string contains 'abc' as a substring" equals: "this string contains
- 'abc' as a substring"
-
--------------------------------------------------------------------------------
-Matchers can be (AllOf) composed with the && operator
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( testStringForMatching(), Contains( "string" ) && Contains( "abc" ) && Contains( "substring" ) && Contains( "contains" ) )
-with expansion:
- "this string contains 'abc' as a substring" ( contains: "string" and
- contains: "abc" and contains: "substring" and contains: "contains" )
-
--------------------------------------------------------------------------------
-Matchers can be (AnyOf) composed with the || operator
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( testStringForMatching(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) )
-with expansion:
- "this string contains 'abc' as a substring" ( contains: "string" or contains:
- "different" or contains: "random" )
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( testStringForMatching2(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) )
-with expansion:
- "some completely different text that contains one common word" ( contains:
- "string" or contains: "different" or contains: "random" )
-
--------------------------------------------------------------------------------
-Matchers can be composed with both && and ||
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "substring" ) )
-with expansion:
- "this string contains 'abc' as a substring" ( ( contains: "string" or
- contains: "different" ) and contains: "substring" )
-
--------------------------------------------------------------------------------
-Matchers can be composed with both && and || - failing
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK_THAT( testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) )
-with expansion:
- "this string contains 'abc' as a substring" ( ( contains: "string" or
- contains: "different" ) and contains: "random" )
-
--------------------------------------------------------------------------------
-Matchers can be negated (Not) with the ! operator
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( testStringForMatching(), !Contains( "different" ) )
-with expansion:
- "this string contains 'abc' as a substring" not contains: "different"
-
--------------------------------------------------------------------------------
-Matchers can be negated (Not) with the ! operator - failing
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK_THAT( testStringForMatching(), !Contains( "substring" ) )
-with expansion:
- "this string contains 'abc' as a substring" not contains: "substring"
-
--------------------------------------------------------------------------------
-Factorials are computed
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( Factorial(0) == 1 )
-with expansion:
- 1 == 1
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( Factorial(1) == 1 )
-with expansion:
- 1 == 1
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( Factorial(2) == 2 )
-with expansion:
- 2 == 2
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( Factorial(3) == 6 )
-with expansion:
- 6 == 6
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( Factorial(10) == 3628800 )
-with expansion:
- 3628800 (0x<hex digits>) == 3628800 (0x<hex digits>)
-
--------------------------------------------------------------------------------
-Nice descriptive name
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-warning:
- This one ran
-
--------------------------------------------------------------------------------
-vectors can be sized and resized
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 5 )
-with expansion:
- 5 == 5
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.capacity() >= 5 )
-with expansion:
- 5 >= 5
-
--------------------------------------------------------------------------------
-vectors can be sized and resized
- resizing bigger changes size and capacity
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 10 )
-with expansion:
- 10 == 10
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.capacity() >= 10 )
-with expansion:
- 10 >= 10
-
--------------------------------------------------------------------------------
-vectors can be sized and resized
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 5 )
-with expansion:
- 5 == 5
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.capacity() >= 5 )
-with expansion:
- 5 >= 5
-
--------------------------------------------------------------------------------
-vectors can be sized and resized
- resizing smaller changes size but not capacity
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 0 )
-with expansion:
- 0 == 0
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.capacity() >= 5 )
-with expansion:
- 5 >= 5
-
--------------------------------------------------------------------------------
-vectors can be sized and resized
- resizing smaller changes size but not capacity
- We can use the 'swap trick' to reset the capacity
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.capacity() == 0 )
-with expansion:
- 0 == 0
-
--------------------------------------------------------------------------------
-vectors can be sized and resized
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 5 )
-with expansion:
- 5 == 5
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.capacity() >= 5 )
-with expansion:
- 5 >= 5
-
--------------------------------------------------------------------------------
-vectors can be sized and resized
- reserving bigger changes capacity but not size
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 5 )
-with expansion:
- 5 == 5
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.capacity() >= 10 )
-with expansion:
- 10 >= 10
-
--------------------------------------------------------------------------------
-vectors can be sized and resized
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 5 )
-with expansion:
- 5 == 5
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.capacity() >= 5 )
-with expansion:
- 5 >= 5
-
--------------------------------------------------------------------------------
-vectors can be sized and resized
- reserving smaller does not change size or capacity
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 5 )
-with expansion:
- 5 == 5
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.capacity() >= 5 )
-with expansion:
- 5 >= 5
-
--------------------------------------------------------------------------------
-A couple of nested sections followed by a failure
- Outer
- Inner
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
-with message:
- that's not flying - that's failing in style
-
--------------------------------------------------------------------------------
-A couple of nested sections followed by a failure
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
-explicitly with message:
- to infinity and beyond
-
--------------------------------------------------------------------------------
-not allowed
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
-
--------------------------------------------------------------------------------
-Tabs and newlines show in output
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>: FAILED:
- CHECK( s1 == s2 )
-with expansion:
- "if ($b == 10) {
- $a= 20;
- }"
- ==
- "if ($b == 10) {
- $a = 20;
- }
- "
-
--------------------------------------------------------------------------------
-toString on const wchar_t const pointer returns the string contents
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK( result == "\"wide load\"" )
-with expansion:
- ""wide load"" == ""wide load""
-
--------------------------------------------------------------------------------
-toString on const wchar_t pointer returns the string contents
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK( result == "\"wide load\"" )
-with expansion:
- ""wide load"" == ""wide load""
-
--------------------------------------------------------------------------------
-toString on wchar_t const pointer returns the string contents
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK( result == "\"wide load\"" )
-with expansion:
- ""wide load"" == ""wide load""
-
--------------------------------------------------------------------------------
-toString on wchar_t returns the string contents
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- CHECK( result == "\"wide load\"" )
-with expansion:
- ""wide load"" == ""wide load""
-
--------------------------------------------------------------------------------
-XmlEncode
- normal string
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( encode( "normal string" ) == "normal string" )
-with expansion:
- "normal string" == "normal string"
-
--------------------------------------------------------------------------------
-XmlEncode
- empty string
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( encode( "" ) == "" )
-with expansion:
- "" == ""
-
--------------------------------------------------------------------------------
-XmlEncode
- string with ampersand
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( encode( "smith & jones" ) == "smith &amp; jones" )
-with expansion:
- "smith &amp; jones" == "smith &amp; jones"
-
--------------------------------------------------------------------------------
-XmlEncode
- string with less-than
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( encode( "smith < jones" ) == "smith &lt; jones" )
-with expansion:
- "smith &lt; jones" == "smith &lt; jones"
-
--------------------------------------------------------------------------------
-XmlEncode
- string with greater-than
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( encode( "smith > jones" ) == "smith > jones" )
-with expansion:
- "smith > jones" == "smith > jones"
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( encode( "smith ]]> jones" ) == "smith ]]&gt; jones" )
-with expansion:
- "smith ]]&gt; jones"
- ==
- "smith ]]&gt; jones"
-
--------------------------------------------------------------------------------
-XmlEncode
- string with quotes
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( encode( stringWithQuotes ) == stringWithQuotes )
-with expansion:
- "don't "quote" me on that"
- ==
- "don't "quote" me on that"
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( encode( stringWithQuotes, Catch::XmlEncode::ForAttributes ) == "don't &quot;quote&quot; me on that" )
-with expansion:
- "don't &quot;quote&quot; me on that"
- ==
- "don't &quot;quote&quot; me on that"
-
--------------------------------------------------------------------------------
-XmlEncode
- string with control char (1)
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( encode( "[\x01]" ) == "[&#x1]" )
-with expansion:
- "[&#x1]" == "[&#x1]"
-
--------------------------------------------------------------------------------
-XmlEncode
- string with control char (x7F)
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( encode( "[\x7F]" ) == "[&#x7F]" )
-with expansion:
- "[&#x7F]" == "[&#x7F]"
-
--------------------------------------------------------------------------------
-long long
--------------------------------------------------------------------------------
-MiscTests.cpp:<line number>
-...............................................................................
-
-MiscTests.cpp:<line number>:
-PASSED:
- REQUIRE( l == std::numeric_limits<long long>::max() )
-with expansion:
- 9223372036854775807 (0x<hex digits>)
- ==
- 9223372036854775807 (0x<hex digits>)
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- default - no arguments
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( config.shouldDebugBreak == false )
-with expansion:
- false == false
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( config.abortAfter == -1 )
-with expansion:
- -1 == -1
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( config.noThrow == false )
-with expansion:
- false == false
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( config.reporterNames.empty() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- test lists
- 1 test
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( cfg.testSpec().matches( fakeTestCase( "notIncluded" ) ) == false )
-with expansion:
- false == false
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( cfg.testSpec().matches( fakeTestCase( "test1" ) ) )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- test lists
- Specify one test case exclusion using exclude:
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false )
-with expansion:
- false == false
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- test lists
- Specify one test case exclusion using ~
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false )
-with expansion:
- false == false
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- reporter
- -r/console
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.reporterNames[0] == "console" )
-with expansion:
- "console" == "console"
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- reporter
- -r/xml
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.reporterNames[0] == "xml" )
-with expansion:
- "xml" == "xml"
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- reporter
- -r xml and junit
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.reporterNames.size() == 2 )
-with expansion:
- 2 == 2
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.reporterNames[0] == "xml" )
-with expansion:
- "xml" == "xml"
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.reporterNames[1] == "junit" )
-with expansion:
- "junit" == "junit"
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- reporter
- --reporter/junit
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.reporterNames[0] == "junit" )
-with expansion:
- "junit" == "junit"
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- debugger
- -b
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.shouldDebugBreak == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- debugger
- --break
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.shouldDebugBreak )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- abort
- -a aborts after first failure
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.abortAfter == 1 )
-with expansion:
- 1 == 1
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- abort
- -x 2 aborts after two failures
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.abortAfter == 2 )
-with expansion:
- 2 == 2
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- abort
- -x must be greater than zero
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE_THAT( parseIntoConfigAndReturnError( argv, config ), Contains( "greater than zero" ) )
-with expansion:
- "Value after -x or --abortAfter must be greater than zero
- - while parsing: (-x, --abortx <no. failures>)" contains: "greater than zero"
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- abort
- -x must be numeric
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE_THAT( parseIntoConfigAndReturnError( argv, config ), Contains( "-x" ) )
-with expansion:
- "Unable to convert oops to destination type
- - while parsing: (-x, --abortx <no. failures>)" contains: "-x"
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- nothrow
- -e
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.noThrow == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- nothrow
- --nothrow
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.noThrow == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- output filename
- -o filename
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.outputFilename == "filename.ext" )
-with expansion:
- "filename.ext" == "filename.ext"
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- output filename
- --out
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.outputFilename == "filename.ext" )
-with expansion:
- "filename.ext" == "filename.ext"
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- combinations
- Single character flags can be combined
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( config.abortAfter == 1 )
-with expansion:
- 1 == 1
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( config.shouldDebugBreak )
-with expansion:
- true
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( config.noThrow == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- force-colour
- --force-colour
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( config.forceColour )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Process can be configured on command line
- force-colour
- without --force-colour
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_NOTHROW( parseIntoConfig( argv, config ) )
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( !config.forceColour )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Long strings can be wrapped
- plain string
- No wrapping
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString )
-with expansion:
- "one two three four"
- ==
- "one two three four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString )
-with expansion:
- "one two three four"
- ==
- "one two three four"
-
--------------------------------------------------------------------------------
-Long strings can be wrapped
- plain string
- Wrapped once
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 17 ) ).toString() == "one two three\nfour" )
-with expansion:
- "one two three
- four"
- ==
- "one two three
- four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 16 ) ).toString() == "one two three\nfour" )
-with expansion:
- "one two three
- four"
- ==
- "one two three
- four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 14 ) ).toString() == "one two three\nfour" )
-with expansion:
- "one two three
- four"
- ==
- "one two three
- four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 13 ) ).toString() == "one two three\nfour" )
-with expansion:
- "one two three
- four"
- ==
- "one two three
- four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 12 ) ).toString() == "one two\nthree four" )
-with expansion:
- "one two
- three four"
- ==
- "one two
- three four"
-
--------------------------------------------------------------------------------
-Long strings can be wrapped
- plain string
- Wrapped twice
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" )
-with expansion:
- "one two
- three
- four"
- ==
- "one two
- three
- four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" )
-with expansion:
- "one two
- three
- four"
- ==
- "one two
- three
- four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" )
-with expansion:
- "one two
- three
- four"
- ==
- "one two
- three
- four"
-
--------------------------------------------------------------------------------
-Long strings can be wrapped
- plain string
- Wrapped three times
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" )
-with expansion:
- "one
- two
- three
- four"
- ==
- "one
- two
- three
- four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 5 ) ).toString() == "one\ntwo\nthree\nfour" )
-with expansion:
- "one
- two
- three
- four"
- ==
- "one
- two
- three
- four"
-
--------------------------------------------------------------------------------
-Long strings can be wrapped
- plain string
- Short wrap
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( "abcdef", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef" )
-with expansion:
- "abc-
- def"
- ==
- "abc-
- def"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( "abcdefg", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndefg" )
-with expansion:
- "abc-
- defg"
- ==
- "abc-
- defg"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( "abcdefgh", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef-\ngh" )
-with expansion:
- "abc-
- def-
- gh"
- ==
- "abc-
- def-
- gh"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 4 ) ).toString() == "one\ntwo\nthr-\nee\nfour" )
-with expansion:
- "one
- two
- thr-
- ee
- four"
- ==
- "one
- two
- thr-
- ee
- four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 3 ) ).toString() == "one\ntwo\nth-\nree\nfo-\nur" )
-with expansion:
- "one
- two
- th-
- ree
- fo-
- ur"
- ==
- "one
- two
- th-
- ree
- fo-
- ur"
-
--------------------------------------------------------------------------------
-Long strings can be wrapped
- plain string
- As container
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- REQUIRE( text.size() == 4 )
-with expansion:
- 4 == 4
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( text[0] == "one" )
-with expansion:
- "one" == "one"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( text[1] == "two" )
-with expansion:
- "two" == "two"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( text[2] == "three" )
-with expansion:
- "three" == "three"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( text[3] == "four" )
-with expansion:
- "four" == "four"
-
--------------------------------------------------------------------------------
-Long strings can be wrapped
- plain string
- Indent first line differently
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( text.toString() == " one two\n three\n four" )
-with expansion:
- " one two
- three
- four"
- ==
- " one two
- three
- four"
-
--------------------------------------------------------------------------------
-Long strings can be wrapped
- With newlines
- No wrapping
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString )
-with expansion:
- "one two
- three four"
- ==
- "one two
- three four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString )
-with expansion:
- "one two
- three four"
- ==
- "one two
- three four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 10 ) ).toString() == testString )
-with expansion:
- "one two
- three four"
- ==
- "one two
- three four"
-
--------------------------------------------------------------------------------
-Long strings can be wrapped
- With newlines
- Trailing newline
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( "abcdef\n", TextAttributes().setWidth( 10 ) ).toString() == "abcdef\n" )
-with expansion:
- "abcdef
- "
- ==
- "abcdef
- "
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( "abcdef", TextAttributes().setWidth( 6 ) ).toString() == "abcdef" )
-with expansion:
- "abcdef" == "abcdef"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( "abcdef\n", TextAttributes().setWidth( 6 ) ).toString() == "abcdef\n" )
-with expansion:
- "abcdef
- "
- ==
- "abcdef
- "
-
--------------------------------------------------------------------------------
-Long strings can be wrapped
- With newlines
- Wrapped once
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" )
-with expansion:
- "one two
- three
- four"
- ==
- "one two
- three
- four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" )
-with expansion:
- "one two
- three
- four"
- ==
- "one two
- three
- four"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" )
-with expansion:
- "one two
- three
- four"
- ==
- "one two
- three
- four"
-
--------------------------------------------------------------------------------
-Long strings can be wrapped
- With newlines
- Wrapped twice
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" )
-with expansion:
- "one
- two
- three
- four"
- ==
- "one
- two
- three
- four"
-
--------------------------------------------------------------------------------
-Long strings can be wrapped
- With tabs
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( testString, TextAttributes().setWidth( 15 ) ).toString() == "one two three\n four\n five\n six" )
-with expansion:
- "one two three
- four
- five
- six"
- ==
- "one two three
- four
- five
- six"
-
--------------------------------------------------------------------------------
-replaceInPlace
- replace single char
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( replaceInPlace( letters, "b", "z" ) )
-with expansion:
- true
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( letters == "azcdefcg" )
-with expansion:
- "azcdefcg" == "azcdefcg"
-
--------------------------------------------------------------------------------
-replaceInPlace
- replace two chars
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( replaceInPlace( letters, "c", "z" ) )
-with expansion:
- true
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( letters == "abzdefzg" )
-with expansion:
- "abzdefzg" == "abzdefzg"
-
--------------------------------------------------------------------------------
-replaceInPlace
- replace first char
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( replaceInPlace( letters, "a", "z" ) )
-with expansion:
- true
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( letters == "zbcdefcg" )
-with expansion:
- "zbcdefcg" == "zbcdefcg"
-
--------------------------------------------------------------------------------
-replaceInPlace
- replace last char
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( replaceInPlace( letters, "g", "z" ) )
-with expansion:
- true
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( letters == "abcdefcz" )
-with expansion:
- "abcdefcz" == "abcdefcz"
-
--------------------------------------------------------------------------------
-replaceInPlace
- replace all chars
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( replaceInPlace( letters, letters, "replaced" ) )
-with expansion:
- true
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( letters == "replaced" )
-with expansion:
- "replaced" == "replaced"
-
--------------------------------------------------------------------------------
-replaceInPlace
- replace no chars
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_FALSE( replaceInPlace( letters, "x", "z" ) )
-with expansion:
- !false
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( letters == letters )
-with expansion:
- "abcdefcg" == "abcdefcg"
-
--------------------------------------------------------------------------------
-replaceInPlace
- escape '
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( replaceInPlace( s, "'", "|'" ) )
-with expansion:
- true
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( s == "didn|'t" )
-with expansion:
- "didn|'t" == "didn|'t"
-
-hello
-hello
--------------------------------------------------------------------------------
-Text can be formatted using the Text class
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( "hi there" ).toString() == "hi there" )
-with expansion:
- "hi there" == "hi there"
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK( Text( "hi there", narrow ).toString() == "hi\nthere" )
-with expansion:
- "hi
- there"
- ==
- "hi
- there"
-
--------------------------------------------------------------------------------
-Long text is truncted
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
- CHECK_THAT( t.toString(), EndsWith( "... message truncated due to excessive size" ) )
-with expansion:
- "***************************************************************************-
- ***-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
- ****************************************************************************-
- **-
- ****************************************************************************-
- **-
- ************************
-... message truncated due to excessive size
-
--------------------------------------------------------------------------------
-ManuallyRegistered
--------------------------------------------------------------------------------
-TestMain.cpp:<line number>
-...............................................................................
-
-TestMain.cpp:<line number>:
-PASSED:
-with message:
- was called
-
--------------------------------------------------------------------------------
-Parsing a std::pair
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( (std::pair<int, int>( 1, 2 )) == aNicePair )
-with expansion:
- std::pair( 1, 2 ) == std::pair( 1, 2 )
-
--------------------------------------------------------------------------------
-Where there is more to the expression after the RHS
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-warning:
- Uncomment the code in this test to check that it gives a sensible compiler
- error
-
--------------------------------------------------------------------------------
-Where the LHS is not a simple value
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-warning:
- Uncomment the code in this test to check that it gives a sensible compiler
- error
-
--------------------------------------------------------------------------------
-A failing expression with a non streamable type is still captured
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>: FAILED:
- CHECK( &o1 == &o2 )
-with expansion:
- 0x<hex digits> == 0x<hex digits>
-
-TrickyTests.cpp:<line number>: FAILED:
- CHECK( o1 == o2 )
-with expansion:
- {?} == {?}
-
--------------------------------------------------------------------------------
-string literals of different sizes can be compared
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>: FAILED:
- REQUIRE( std::string( "first" ) == "second" )
-with expansion:
- "first" == "second"
-
--------------------------------------------------------------------------------
-An expression with side-effects should only be evaluated once
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( i++ == 7 )
-with expansion:
- 7 == 7
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( i++ == 8 )
-with expansion:
- 8 == 8
-
--------------------------------------------------------------------------------
-Operators at different namespace levels not hijacked by Koenig lookup
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( 0x<hex digits> == o )
-with expansion:
- 3221225472 (0x<hex digits>) == {?}
-
--------------------------------------------------------------------------------
-Demonstrate that a non-const == is not used
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( t == 1u )
-with expansion:
- {?} == 1
-
--------------------------------------------------------------------------------
-Test enum bit values
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( 0x<hex digits> == bit30and31 )
-with expansion:
- 3221225472 (0x<hex digits>) == 3221225472
-
--------------------------------------------------------------------------------
-boolean member
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( obj.prop != nullptr )
-with expansion:
- 0x<hex digits> != nullptr
-
--------------------------------------------------------------------------------
-(unimplemented) static bools can be evaluated
- compare to true
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( is_true<true>::value == true )
-with expansion:
- true == true
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( true == is_true<true>::value )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-(unimplemented) static bools can be evaluated
- compare to false
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( is_true<false>::value == false )
-with expansion:
- false == false
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( false == is_true<false>::value )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-(unimplemented) static bools can be evaluated
- negation
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( !is_true<false>::value )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-(unimplemented) static bools can be evaluated
- double negation
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( !!is_true<true>::value )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-(unimplemented) static bools can be evaluated
- direct
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( is_true<true>::value )
-with expansion:
- true
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE_FALSE( is_true<false>::value )
-with expansion:
- !false
-
--------------------------------------------------------------------------------
-Objects that evaluated in boolean contexts can be checked
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- CHECK( True )
-with expansion:
- true
-
-TrickyTests.cpp:<line number>:
-PASSED:
- CHECK( !False )
-with expansion:
- true
-
-TrickyTests.cpp:<line number>:
-PASSED:
- CHECK_FALSE( False )
-with expansion:
- !false
-
--------------------------------------------------------------------------------
-Assertions then sections
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::alwaysTrue() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Assertions then sections
- A section
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::alwaysTrue() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Assertions then sections
- A section
- Another section
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::alwaysTrue() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Assertions then sections
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::alwaysTrue() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Assertions then sections
- A section
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::alwaysTrue() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Assertions then sections
- A section
- Another other section
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::alwaysTrue() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-non streamable - with conv. op
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( s == "7" )
-with expansion:
- "7" == "7"
-
--------------------------------------------------------------------------------
-Comparing function pointers
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( a )
-with expansion:
- true
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( a == &foo )
-with expansion:
- 0x<hex digits> == 0x<hex digits>
-
--------------------------------------------------------------------------------
-Comparing member function pointers
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- CHECK( m == &S::f )
-with expansion:
- 0x<hex digits>
- ==
- 0x<hex digits>
-
--------------------------------------------------------------------------------
-pointer to class
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( p == 0 )
-with expansion:
- NULL == 0
-
--------------------------------------------------------------------------------
-null_ptr
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
- REQUIRE( ptr.get() == nullptr )
-with expansion:
- NULL == nullptr
-
--------------------------------------------------------------------------------
-X/level/0/a
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
-
--------------------------------------------------------------------------------
-X/level/0/b
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
-
--------------------------------------------------------------------------------
-X/level/1/a
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
-
--------------------------------------------------------------------------------
-X/level/1/b
--------------------------------------------------------------------------------
-TrickyTests.cpp:<line number>
-...............................................................................
-
-TrickyTests.cpp:<line number>:
-PASSED:
-
--------------------------------------------------------------------------------
-toString( has_toString )
--------------------------------------------------------------------------------
-ToStringWhich.cpp:<line number>
-...............................................................................
-
-ToStringWhich.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString( item ) == "toString( has_toString )" )
-with expansion:
- "toString( has_toString )"
- ==
- "toString( has_toString )"
-
--------------------------------------------------------------------------------
-toString( has_maker )
--------------------------------------------------------------------------------
-ToStringWhich.cpp:<line number>
-...............................................................................
-
-ToStringWhich.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString( item ) == "StringMaker<has_maker>" )
-with expansion:
- "StringMaker<has_maker>"
- ==
- "StringMaker<has_maker>"
-
--------------------------------------------------------------------------------
-toString( has_maker_and_toString )
--------------------------------------------------------------------------------
-ToStringWhich.cpp:<line number>
-...............................................................................
-
-ToStringWhich.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString( item ) == "toString( has_maker_and_toString )" )
-with expansion:
- "toString( has_maker_and_toString )"
- ==
- "toString( has_maker_and_toString )"
-
--------------------------------------------------------------------------------
-toString( vectors<has_toString )
--------------------------------------------------------------------------------
-ToStringWhich.cpp:<line number>
-...............................................................................
-
-ToStringWhich.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString( v ) == "{ {?} }" )
-with expansion:
- "{ {?} }" == "{ {?} }"
-
--------------------------------------------------------------------------------
-toString( vectors<has_maker )
--------------------------------------------------------------------------------
-ToStringWhich.cpp:<line number>
-...............................................................................
-
-ToStringWhich.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString( v ) == "{ StringMaker<has_maker> }" )
-with expansion:
- "{ StringMaker<has_maker> }"
- ==
- "{ StringMaker<has_maker> }"
-
--------------------------------------------------------------------------------
-toString( vectors<has_maker_and_toString )
--------------------------------------------------------------------------------
-ToStringWhich.cpp:<line number>
-...............................................................................
-
-ToStringWhich.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString( v ) == "{ StringMaker<has_maker_and_toString> }" )
-with expansion:
- "{ StringMaker<has_maker_and_toString> }"
- ==
- "{ StringMaker<has_maker_and_toString> }"
-
--------------------------------------------------------------------------------
-Tracker
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isOpen() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
- successfully close one section
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isSuccessfullyCompleted() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( ctx.completedCycle() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isSuccessfullyCompleted() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isOpen() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
- fail one section
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isSuccessfullyCompleted() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( ctx.completedCycle() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isSuccessfullyCompleted() == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Tracker
- fail one section
- re-enter after failed section
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1b.isOpen() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( ctx.completedCycle() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isSuccessfullyCompleted() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isOpen() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
- fail one section
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isSuccessfullyCompleted() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( ctx.completedCycle() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isSuccessfullyCompleted() == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Tracker
- fail one section
- re-enter after failed section and find next section
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1b.isOpen() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( ctx.completedCycle() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isSuccessfullyCompleted() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isOpen() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
- successfully close one section, then find another
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2.isOpen() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isComplete() == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Tracker
- successfully close one section, then find another
- Re-enter - skips S1 and enters S2
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1b.isOpen() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2b.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( ctx.completedCycle() == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Tracker
- successfully close one section, then find another
- Re-enter - skips S1 and enters S2
- Successfully close S2
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( ctx.completedCycle() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2b.isSuccessfullyCompleted() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isSuccessfullyCompleted() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isOpen() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
- successfully close one section, then find another
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2.isOpen() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isComplete() == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Tracker
- successfully close one section, then find another
- Re-enter - skips S1 and enters S2
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1b.isOpen() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2b.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( ctx.completedCycle() == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Tracker
- successfully close one section, then find another
- Re-enter - skips S1 and enters S2
- fail S2
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( ctx.completedCycle() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2b.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2b.isSuccessfullyCompleted() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isSuccessfullyCompleted() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase3.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1c.isOpen() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2c.isOpen() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase3.isSuccessfullyCompleted() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isOpen() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
- open a nested section
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isComplete() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isOpen() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
- start a generator
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1.index() == 0 )
-with expansion:
- 0 == 0
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isComplete() == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Tracker
- start a generator
- close outer section
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isSuccessfullyCompleted() == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Tracker
- start a generator
- close outer section
- Re-enter for second generation
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1b.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1b.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1b.index() == 1 )
-with expansion:
- 1 == 1
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1b.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1b.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isComplete() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isOpen() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
- start a generator
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1.index() == 0 )
-with expansion:
- 0 == 0
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isComplete() == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Tracker
- start a generator
- Start a new inner section
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isComplete() == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Tracker
- start a generator
- Start a new inner section
- Re-enter for second generation
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1b.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1b.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1b.index() == 1 )
-with expansion:
- 1 == 1
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2b.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2b.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1b.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1b.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isComplete() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isOpen() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Tracker
- start a generator
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1.index() == 0 )
-with expansion:
- 0 == 0
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isComplete() == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Tracker
- start a generator
- Fail an inner section
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2.isSuccessfullyCompleted() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase.isComplete() == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Tracker
- start a generator
- Fail an inner section
- Re-enter for second generation
--------------------------------------------------------------------------------
-PartTrackerTests.cpp:<line number>
-...............................................................................
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1b.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1b.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1b.index() == 0 )
-with expansion:
- 0 == 0
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2b.isOpen() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1b.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1b.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase2.isComplete() == false )
-with expansion:
- false == false
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase3.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1c.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1c.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1c.index() == 1 )
-with expansion:
- 1 == 1
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2c.isOpen() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s2c.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( g1c.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( s1c.isComplete() )
-with expansion:
- true
-
-PartTrackerTests.cpp:<line number>:
-PASSED:
- REQUIRE( testCase3.isComplete() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-std::pair<int,std::string> -> toString
--------------------------------------------------------------------------------
-ToStringPair.cpp:<line number>
-...............................................................................
-
-ToStringPair.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString( value ) == "{ 34, \"xyzzy\" }" )
-with expansion:
- "{ 34, "xyzzy" }" == "{ 34, "xyzzy" }"
-
--------------------------------------------------------------------------------
-std::pair<int,const std::string> -> toString
--------------------------------------------------------------------------------
-ToStringPair.cpp:<line number>
-...............................................................................
-
-ToStringPair.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(value) == "{ 34, \"xyzzy\" }" )
-with expansion:
- "{ 34, "xyzzy" }" == "{ 34, "xyzzy" }"
-
--------------------------------------------------------------------------------
-std::vector<std::pair<std::string,int> > -> toString
--------------------------------------------------------------------------------
-ToStringPair.cpp:<line number>
-...............................................................................
-
-ToStringPair.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString( pr ) == "{ { \"green\", 55 } }" )
-with expansion:
- "{ { "green", 55 } }"
- ==
- "{ { "green", 55 } }"
-
--------------------------------------------------------------------------------
-pair<pair<int,const char *,pair<std::string,int> > -> toString
--------------------------------------------------------------------------------
-ToStringPair.cpp:<line number>
-...............................................................................
-
-ToStringPair.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString( pair ) == "{ { 42, \"Arthur\" }, { \"Ford\", 24 } }" )
-with expansion:
- "{ { 42, "Arthur" }, { "Ford", 24 } }"
- ==
- "{ { 42, "Arthur" }, { "Ford", 24 } }"
-
--------------------------------------------------------------------------------
-vector<int> -> toString
--------------------------------------------------------------------------------
-ToStringVector.cpp:<line number>
-...............................................................................
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(vv) == "{ }" )
-with expansion:
- "{ }" == "{ }"
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(vv) == "{ 42 }" )
-with expansion:
- "{ 42 }" == "{ 42 }"
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(vv) == "{ 42, 250 }" )
-with expansion:
- "{ 42, 250 }" == "{ 42, 250 }"
-
--------------------------------------------------------------------------------
-vector<string> -> toString
--------------------------------------------------------------------------------
-ToStringVector.cpp:<line number>
-...............................................................................
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(vv) == "{ }" )
-with expansion:
- "{ }" == "{ }"
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(vv) == "{ \"hello\" }" )
-with expansion:
- "{ "hello" }" == "{ "hello" }"
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(vv) == "{ \"hello\", \"world\" }" )
-with expansion:
- "{ "hello", "world" }"
- ==
- "{ "hello", "world" }"
-
--------------------------------------------------------------------------------
-vector<int,allocator> -> toString
--------------------------------------------------------------------------------
-ToStringVector.cpp:<line number>
-...............................................................................
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(vv) == "{ }" )
-with expansion:
- "{ }" == "{ }"
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(vv) == "{ 42 }" )
-with expansion:
- "{ 42 }" == "{ 42 }"
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(vv) == "{ 42, 250 }" )
-with expansion:
- "{ 42, 250 }" == "{ 42, 250 }"
-
--------------------------------------------------------------------------------
-vec<vec<string,alloc>> -> toString
--------------------------------------------------------------------------------
-ToStringVector.cpp:<line number>
-...............................................................................
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(v) == "{ }" )
-with expansion:
- "{ }" == "{ }"
-
-ToStringVector.cpp:<line number>:
-PASSED:
- REQUIRE( Catch::toString(v) == "{ { \"hello\" }, { \"world\" } }" )
-with expansion:
- "{ { "hello" }, { "world" } }"
- ==
- "{ { "hello" }, { "world" } }"
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Empty test spec should have no filters
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Test spec from empty string should have no filters
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches(tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Test spec from just a comma should have no filters
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Test spec from name should have one filter
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Test spec from quoted name should have one filter
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Test spec from name should have one filter
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Wildcard at the start
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( parseTestSpec( "*a" ).matches( tcA ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Wildcard at the end
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( parseTestSpec( "a*" ).matches( tcA ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Wildcard at both ends
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( parseTestSpec( "*a*" ).matches( tcA ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Redundant wildcard at the start
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Redundant wildcard at the end
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Redundant wildcard at both ends
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Wildcard at both ends, redundant at start
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Just wildcard
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Single tag
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Single tag, two matches
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Two tags
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Two tags, spare separated
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Wildcarded name and tag
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- Single tag exclusion
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- One tag exclusion and one tag inclusion
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- One tag exclusion and one wldcarded name inclusion
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- One tag exclusion, using exclude:, and one wldcarded name inclusion
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- name exclusion
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-Parse test names and tags
- wildcarded name exclusion
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- wildcarded name exclusion with tag inclusion
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- wildcarded name exclusion, using exclude:, with tag inclusion
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- two wildcarded names
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- empty tag
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- empty quoted name
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == false )
-with expansion:
- false == false
-
--------------------------------------------------------------------------------
-Parse test names and tags
- quoted string followed by tag exclusion
--------------------------------------------------------------------------------
-CmdLineTests.cpp:<line number>
-...............................................................................
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.hasFilters() == true )
-with expansion:
- true == true
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcA ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcB ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcC ) == false )
-with expansion:
- false == false
-
-CmdLineTests.cpp:<line number>:
-PASSED:
- CHECK( spec.matches( tcD ) == true )
-with expansion:
- true == true
-
--------------------------------------------------------------------------------
-tuple<>
--------------------------------------------------------------------------------
-ToStringTuple.cpp:<line number>
-...............................................................................
-
-ToStringTuple.cpp:<line number>:
-PASSED:
- CHECK( "{ }" == Catch::toString(type{}) )
-with expansion:
- "{ }" == "{ }"
-
-ToStringTuple.cpp:<line number>:
-PASSED:
- CHECK( "{ }" == Catch::toString(value) )
-with expansion:
- "{ }" == "{ }"
-
--------------------------------------------------------------------------------
-tuple<int>
--------------------------------------------------------------------------------
-ToStringTuple.cpp:<line number>
-...............................................................................
-
-ToStringTuple.cpp:<line number>:
-PASSED:
- CHECK( "{ 0 }" == Catch::toString(type{0}) )
-with expansion:
- "{ 0 }" == "{ 0 }"
-
--------------------------------------------------------------------------------
-tuple<float,int>
--------------------------------------------------------------------------------
-ToStringTuple.cpp:<line number>
-...............................................................................
-
-ToStringTuple.cpp:<line number>:
-PASSED:
- CHECK( "1.2f" == Catch::toString(float(1.2)) )
-with expansion:
- "1.2f" == "1.2f"
-
-ToStringTuple.cpp:<line number>:
-PASSED:
- CHECK( "{ 1.2f, 0 }" == Catch::toString(type{1.2,0}) )
-with expansion:
- "{ 1.2f, 0 }" == "{ 1.2f, 0 }"
-
--------------------------------------------------------------------------------
-tuple<string,string>
--------------------------------------------------------------------------------
-ToStringTuple.cpp:<line number>
-...............................................................................
-
-ToStringTuple.cpp:<line number>:
-PASSED:
- CHECK( "{ \"hello\", \"world\" }" == Catch::toString(type{"hello","world"}) )
-with expansion:
- "{ "hello", "world" }"
- ==
- "{ "hello", "world" }"
-
--------------------------------------------------------------------------------
-tuple<tuple<int>,tuple<>,float>
--------------------------------------------------------------------------------
-ToStringTuple.cpp:<line number>
-...............................................................................
-
-ToStringTuple.cpp:<line number>:
-PASSED:
- CHECK( "{ { 42 }, { }, 1.2f }" == Catch::toString(value) )
-with expansion:
- "{ { 42 }, { }, 1.2f }"
- ==
- "{ { 42 }, { }, 1.2f }"
-
--------------------------------------------------------------------------------
-tuple<nullptr,int,const char *>
--------------------------------------------------------------------------------
-ToStringTuple.cpp:<line number>
-...............................................................................
-
-ToStringTuple.cpp:<line number>:
-PASSED:
- CHECK( "{ nullptr, 42, \"Catch me\" }" == Catch::toString(value) )
-with expansion:
- "{ nullptr, 42, "Catch me" }"
- ==
- "{ nullptr, 42, "Catch me" }"
-
--------------------------------------------------------------------------------
-Tag alias can be registered against tag patterns
- The same tag alias can only be registered once
--------------------------------------------------------------------------------
-TagAliasTests.cpp:<line number>
-...............................................................................
-
-TagAliasTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( what, Contains( "[@zzz]" ) )
-with expansion:
- "error: tag alias, "[@zzz]" already registered.
- First seen at file:2
- Redefined at file:10" contains: "
- [@zzz]"
-
-TagAliasTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( what, Contains( "file" ) )
-with expansion:
- "error: tag alias, "[@zzz]" already registered.
- First seen at file:2
- Redefined at file:10" contains:
- "file"
-
-TagAliasTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( what, Contains( "2" ) )
-with expansion:
- "error: tag alias, "[@zzz]" already registered.
- First seen at file:2
- Redefined at file:10" contains:
- "2"
-
-TagAliasTests.cpp:<line number>:
-PASSED:
- CHECK_THAT( what, Contains( "10" ) )
-with expansion:
- "error: tag alias, "[@zzz]" already registered.
- First seen at file:2
- Redefined at file:10" contains:
- "10"
-
--------------------------------------------------------------------------------
-Tag alias can be registered against tag patterns
- Tag aliases must be of the form [@name]
--------------------------------------------------------------------------------
-TagAliasTests.cpp:<line number>
-...............................................................................
-
-TagAliasTests.cpp:<line number>:
-PASSED:
- CHECK_THROWS( registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) )
-
-TagAliasTests.cpp:<line number>:
-PASSED:
- CHECK_THROWS( registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) )
-
-TagAliasTests.cpp:<line number>:
-PASSED:
- CHECK_THROWS( registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) )
-
-TagAliasTests.cpp:<line number>:
-PASSED:
- CHECK_THROWS( registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) )
-
--------------------------------------------------------------------------------
-Anonymous test case 1
--------------------------------------------------------------------------------
-VariadicMacrosTests.cpp:<line number>
-...............................................................................
-
-VariadicMacrosTests.cpp:<line number>:
-PASSED:
-with message:
- anonymous test case
-
--------------------------------------------------------------------------------
-Test case with one argument
--------------------------------------------------------------------------------
-VariadicMacrosTests.cpp:<line number>
-...............................................................................
-
-VariadicMacrosTests.cpp:<line number>:
-PASSED:
-with message:
- no assertions
-
--------------------------------------------------------------------------------
-Variadic macros
- Section with one argument
--------------------------------------------------------------------------------
-VariadicMacrosTests.cpp:<line number>
-...............................................................................
-
-VariadicMacrosTests.cpp:<line number>:
-PASSED:
-with message:
- no assertions
-
--------------------------------------------------------------------------------
-Scenario: Do that thing with the thing
- Given: This stuff exists
- When: I do this
- Then: it should do this
--------------------------------------------------------------------------------
-BDDTests.cpp:<line number>
-...............................................................................
-
-BDDTests.cpp:<line number>:
-PASSED:
- REQUIRE( itDoesThis() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Scenario: Do that thing with the thing
- Given: This stuff exists
- When: I do this
- Then: it should do this
- And: do that
--------------------------------------------------------------------------------
-BDDTests.cpp:<line number>
-...............................................................................
-
-BDDTests.cpp:<line number>:
-PASSED:
- REQUIRE( itDoesThat() )
-with expansion:
- true
-
--------------------------------------------------------------------------------
-Scenario: Vector resizing affects size and capacity
- Given: an empty vector
--------------------------------------------------------------------------------
-BDDTests.cpp:<line number>
-...............................................................................
-
-BDDTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 0 )
-with expansion:
- 0 == 0
-
--------------------------------------------------------------------------------
-Scenario: Vector resizing affects size and capacity
- Given: an empty vector
- When: it is made larger
- Then: the size and capacity go up
--------------------------------------------------------------------------------
-BDDTests.cpp:<line number>
-...............................................................................
-
-BDDTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 10 )
-with expansion:
- 10 == 10
-
-BDDTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.capacity() >= 10 )
-with expansion:
- 10 >= 10
-
--------------------------------------------------------------------------------
-Scenario: Vector resizing affects size and capacity
- Given: an empty vector
- When: it is made larger
- Then: the size and capacity go up
- And when: it is made smaller again
- Then: the size goes down but the capacity stays the same
--------------------------------------------------------------------------------
-BDDTests.cpp:<line number>
-...............................................................................
-
-BDDTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 5 )
-with expansion:
- 5 == 5
-
-BDDTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.capacity() >= 10 )
-with expansion:
- 10 >= 10
-
--------------------------------------------------------------------------------
-Scenario: Vector resizing affects size and capacity
- Given: an empty vector
--------------------------------------------------------------------------------
-BDDTests.cpp:<line number>
-...............................................................................
-
-BDDTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 0 )
-with expansion:
- 0 == 0
-
--------------------------------------------------------------------------------
-Scenario: Vector resizing affects size and capacity
- Given: an empty vector
- When: we reserve more space
- Then: The capacity is increased but the size remains the same
--------------------------------------------------------------------------------
-BDDTests.cpp:<line number>
-...............................................................................
-
-BDDTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.capacity() >= 10 )
-with expansion:
- 10 >= 10
-
-BDDTests.cpp:<line number>:
-PASSED:
- REQUIRE( v.size() == 0 )
-with expansion:
- 0 == 0
-
--------------------------------------------------------------------------------
-Scenario: This is a really long scenario name to see how the list command deals
- with wrapping
- Given: A section name that is so long that it cannot fit in a single
- console width
- When: The test headers are printed as part of the normal running of the
- scenario
- Then: The, deliberately very long and overly verbose (you see what I did
- there?) section names must wrap, along with an indent
--------------------------------------------------------------------------------
-BDDTests.cpp:<line number>
-...............................................................................
-
-BDDTests.cpp:<line number>:
-PASSED:
-with message:
- boo!
-
--------------------------------------------------------------------------------
-Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or
- methods
- Given: No operations precede me
--------------------------------------------------------------------------------
-BDDTests.cpp:<line number>
-...............................................................................
-
-BDDTests.cpp:<line number>:
-PASSED:
- REQUIRE( before == 0 )
-with expansion:
- 0 == 0
-
--------------------------------------------------------------------------------
-Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or
- methods
- Given: No operations precede me
- When: We get the count
- Then: Subsequently values are higher
--------------------------------------------------------------------------------
-BDDTests.cpp:<line number>
-...............................................................................
-
-BDDTests.cpp:<line number>:
-PASSED:
- REQUIRE( after > before )
-with expansion:
- 1 > 0
-
-===============================================================================
-test cases: 167 | 123 passed | 43 failed | 1 failed as expected
-assertions: 916 | 818 passed | 85 failed | 13 failed as expected
-
diff --git a/3rdparty/sol2/Catch/projects/SelfTest/Baselines/console.swa4.approved.txt b/3rdparty/sol2/Catch/projects/SelfTest/Baselines/console.swa4.approved.txt
deleted file mode 100644
index 0793f1d1eed..00000000000
--- a/3rdparty/sol2/Catch/projects/SelfTest/Baselines/console.swa4.approved.txt
+++ /dev/null
@@ -1,491 +0,0 @@
-
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-CatchSelfTest is a <version> host application.
-Run with -? for options
-
--------------------------------------------------------------------------------
-toString(enum)
--------------------------------------------------------------------------------
-EnumToString.cpp:<line number>
-...............................................................................
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e0) == "0" )
-with expansion:
- "0" == "0"
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e1) == "1" )
-with expansion:
- "1" == "1"
-
--------------------------------------------------------------------------------
-toString(enum w/operator<<)
--------------------------------------------------------------------------------
-EnumToString.cpp:<line number>
-...............................................................................
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e0) == "E2{0}" )
-with expansion:
- "E2{0}" == "E2{0}"
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e1) == "E2{1}" )
-with expansion:
- "E2{1}" == "E2{1}"
-
--------------------------------------------------------------------------------
-toString(enum class)
--------------------------------------------------------------------------------
-EnumToString.cpp:<line number>
-...............................................................................
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e0) == "0" )
-with expansion:
- "0" == "0"
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e1) == "1" )
-with expansion:
- "1" == "1"
-
--------------------------------------------------------------------------------
-toString(enum class w/operator<<)
--------------------------------------------------------------------------------
-EnumToString.cpp:<line number>
-...............................................................................
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e0) == "E2/V0" )
-with expansion:
- "E2/V0" == "E2/V0"
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e1) == "E2/V1" )
-with expansion:
- "E2/V1" == "E2/V1"
-
-EnumToString.cpp:<line number>:
-PASSED:
- CHECK( Catch::toString(e3) == "Unknown enum value 10" )
-with expansion:
- "Unknown enum value 10"
- ==
- "Unknown enum value 10"
-
--------------------------------------------------------------------------------
-Some simple comparisons between doubles
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d == Approx( 1.23 ) )
-with expansion:
- 1.23 == Approx( 1.23 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d != Approx( 1.22 ) )
-with expansion:
- 1.23 != Approx( 1.22 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d != Approx( 1.24 ) )
-with expansion:
- 1.23 != Approx( 1.24 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( Approx( d ) == 1.23 )
-with expansion:
- Approx( 1.23 ) == 1.23
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( Approx( d ) != 1.22 )
-with expansion:
- Approx( 1.23 ) != 1.22
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( Approx( d ) != 1.24 )
-with expansion:
- Approx( 1.23 ) != 1.24
-
--------------------------------------------------------------------------------
-Approximate comparisons with different epsilons
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d != Approx( 1.231 ) )
-with expansion:
- 1.23 != Approx( 1.231 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d == Approx( 1.231 ).epsilon( 0.1 ) )
-with expansion:
- 1.23 == Approx( 1.231 )
-
--------------------------------------------------------------------------------
-Approximate comparisons with floats
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 1.23f == Approx( 1.23f ) )
-with expansion:
- 1.23f == Approx( 1.2300000191 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 0.0f == Approx( 0.0f ) )
-with expansion:
- 0.0f == Approx( 0.0 )
-
--------------------------------------------------------------------------------
-Approximate comparisons with ints
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 1 == Approx( 1 ) )
-with expansion:
- 1 == Approx( 1.0 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 0 == Approx( 0 ) )
-with expansion:
- 0 == Approx( 0.0 )
-
--------------------------------------------------------------------------------
-Approximate comparisons with mixed numeric types
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 1.0f == Approx( 1 ) )
-with expansion:
- 1.0f == Approx( 1.0 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 0 == Approx( dZero) )
-with expansion:
- 0 == Approx( 0.0 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 0 == Approx( dSmall ).epsilon( 0.001 ) )
-with expansion:
- 0 == Approx( 0.00001 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( 1.234f == Approx( dMedium ) )
-with expansion:
- 1.234f == Approx( 1.234 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( dMedium == Approx( 1.234f ) )
-with expansion:
- 1.234 == Approx( 1.2339999676 )
-
--------------------------------------------------------------------------------
-Use a custom approx
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d == approx( 1.23 ) )
-with expansion:
- 1.23 == Approx( 1.23 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d == approx( 1.22 ) )
-with expansion:
- 1.23 == Approx( 1.22 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d == approx( 1.24 ) )
-with expansion:
- 1.23 == Approx( 1.24 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( d != approx( 1.25 ) )
-with expansion:
- 1.23 != Approx( 1.25 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( approx( d ) == 1.23 )
-with expansion:
- Approx( 1.23 ) == 1.23
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( approx( d ) == 1.22 )
-with expansion:
- Approx( 1.23 ) == 1.22
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( approx( d ) == 1.24 )
-with expansion:
- Approx( 1.23 ) == 1.24
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( approx( d ) != 1.25 )
-with expansion:
- Approx( 1.23 ) != 1.25
-
--------------------------------------------------------------------------------
-Approximate PI
--------------------------------------------------------------------------------
-ApproxTests.cpp:<line number>
-...............................................................................
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) )
-with expansion:
- 3.1428571429 == Approx( 3.141 )
-
-ApproxTests.cpp:<line number>:
-PASSED:
- REQUIRE( divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) )
-with expansion:
- 3.1428571429 != Approx( 3.141 )
-
--------------------------------------------------------------------------------
-A METHOD_AS_TEST_CASE based test run that succeeds
--------------------------------------------------------------------------------
-ClassTests.cpp:<line number>
-...............................................................................
-
-ClassTests.cpp:<line number>:
-PASSED:
- REQUIRE( s == "hello" )
-with expansion:
- "hello" == "hello"
-
--------------------------------------------------------------------------------
-A METHOD_AS_TEST_CASE based test run that fails
--------------------------------------------------------------------------------
-ClassTests.cpp:<line number>
-...............................................................................
-
-ClassTests.cpp:<line number>: FAILED:
- REQUIRE( s == "world" )
-with expansion:
- "hello" == "world"
-
--------------------------------------------------------------------------------
-A TEST_CASE_METHOD based test run that succeeds
--------------------------------------------------------------------------------
-ClassTests.cpp:<line number>
-...............................................................................
-
-ClassTests.cpp:<line number>:
-PASSED:
- REQUIRE( m_a == 1 )
-with expansion:
- 1 == 1
-
--------------------------------------------------------------------------------
-A TEST_CASE_METHOD based test run that fails
--------------------------------------------------------------------------------
-ClassTests.cpp:<line number>
-...............................................................................
-
-ClassTests.cpp:<line number>: FAILED:
- REQUIRE( m_a == 2 )
-with expansion:
- 1 == 2
-
--------------------------------------------------------------------------------
-Equality checks that should succeed
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven == 7 )
-with expansion:
- 7 == 7
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one == Approx( 9.1f ) )
-with expansion:
- 9.1f == Approx( 9.1000003815 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.double_pi == Approx( 3.1415926535 ) )
-with expansion:
- 3.1415926535 == Approx( 3.1415926535 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello == "hello" )
-with expansion:
- "hello" == "hello"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( "hello" == data.str_hello )
-with expansion:
- "hello" == "hello"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello.size() == 5 )
-with expansion:
- 5 == 5
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( x == Approx( 1.3 ) )
-with expansion:
- 1.3 == Approx( 1.3 )
-
--------------------------------------------------------------------------------
-Equality checks that should fail
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven == 6 )
-with expansion:
- 7 == 6
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven == 8 )
-with expansion:
- 7 == 8
-
--------------------------------------------------------------------------------
-Inequality checks that should succeed
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven != 6 )
-with expansion:
- 7 != 6
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.int_seven != 8 )
-with expansion:
- 7 != 8
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one != Approx( 9.11f ) )
-with expansion:
- 9.1f != Approx( 9.1099996567 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one != Approx( 9.0f ) )
-with expansion:
- 9.1f != Approx( 9.0 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one != Approx( 1 ) )
-with expansion:
- 9.1f != Approx( 1.0 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.float_nine_point_one != Approx( 0 ) )
-with expansion:
- 9.1f != Approx( 0.0 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.double_pi != Approx( 3.1415 ) )
-with expansion:
- 3.1415926535 != Approx( 3.1415 )
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello != "goodbye" )
-with expansion:
- "hello" != "goodbye"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello != "hell" )
-with expansion:
- "hello" != "hell"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello != "hello1" )
-with expansion:
- "hello" != "hello1"
-
-ConditionTests.cpp:<line number>:
-PASSED:
- REQUIRE( data.str_hello.size() != 6 )
-with expansion:
- 5 != 6
-
--------------------------------------------------------------------------------
-Inequality checks that should fail
--------------------------------------------------------------------------------
-ConditionTests.cpp:<line number>
-...............................................................................
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.int_seven != 7 )
-with expansion:
- 7 != 7
-
-ConditionTests.cpp:<line number>: FAILED:
- CHECK( data.float_nine_point_one != Approx( 9.1f ) )
-with expansion:
- 9.1f != Approx( 9.1000003815 )
-
-===============================================================================
-test cases: 19 | 15 passed | 3 failed | 1 failed as expected
-assertions: 62 | 56 passed | 4 failed | 2 failed as expected
-
diff --git a/3rdparty/sol2/Catch/projects/SelfTest/Baselines/junit.sw.approved.txt b/3rdparty/sol2/Catch/projects/SelfTest/Baselines/junit.sw.approved.txt
deleted file mode 100644
index 18792059a7e..00000000000
--- a/3rdparty/sol2/Catch/projects/SelfTest/Baselines/junit.sw.approved.txt
+++ /dev/null
@@ -1,684 +0,0 @@
-<testsuites>
- <testsuite name="CatchSelfTest" errors="13" failures="72" tests="916" hostname="tbd" time="{duration}" timestamp="tbd">
- <testcase classname="global" name="toString(enum)" time="{duration}"/>
- <testcase classname="global" name="toString(enum w/operator&lt;&lt;)" time="{duration}"/>
- <testcase classname="global" name="toString(enum class)" time="{duration}"/>
- <testcase classname="global" name="toString(enum class w/operator&lt;&lt;)" time="{duration}"/>
- <testcase classname="global" name="Some simple comparisons between doubles" time="{duration}"/>
- <testcase classname="global" name="Approximate comparisons with different epsilons" time="{duration}"/>
- <testcase classname="global" name="Approximate comparisons with floats" time="{duration}"/>
- <testcase classname="global" name="Approximate comparisons with ints" time="{duration}"/>
- <testcase classname="global" name="Approximate comparisons with mixed numeric types" time="{duration}"/>
- <testcase classname="global" name="Use a custom approx" time="{duration}"/>
- <testcase classname="global" name="Approximate PI" time="{duration}"/>
- <testcase classname="TestClass" name="A METHOD_AS_TEST_CASE based test run that succeeds" time="{duration}"/>
- <testcase classname="TestClass" name="A METHOD_AS_TEST_CASE based test run that fails" time="{duration}">
- <failure message="&quot;hello&quot; == &quot;world&quot;" type="REQUIRE">
-ClassTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="Fixture" name="A TEST_CASE_METHOD based test run that succeeds" time="{duration}"/>
- <testcase classname="Fixture" name="A TEST_CASE_METHOD based test run that fails" time="{duration}">
- <failure message="1 == 2" type="REQUIRE">
-ClassTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="Equality checks that should succeed" time="{duration}"/>
- <testcase classname="global" name="Equality checks that should fail" time="{duration}">
- <failure message="7 == 6" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="7 == 8" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="7 == 0" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="9.1f == Approx( 9.1099996567 )" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="9.1f == Approx( 9.0 )" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="9.1f == Approx( 1.0 )" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="9.1f == Approx( 0.0 )" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="3.1415926535 == Approx( 3.1415 )" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="&quot;hello&quot; == &quot;goodbye&quot;" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="&quot;hello&quot; == &quot;hell&quot;" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="&quot;hello&quot; == &quot;hello1&quot;" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="5 == 6" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="1.3 == Approx( 1.301 )" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="Inequality checks that should succeed" time="{duration}"/>
- <testcase classname="global" name="Inequality checks that should fail" time="{duration}">
- <failure message="7 != 7" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="9.1f != Approx( 9.1000003815 )" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="3.1415926535 != Approx( 3.1415926535 )" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="&quot;hello&quot; != &quot;hello&quot;" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="5 != 5" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="Ordering comparison checks that should succeed" time="{duration}"/>
- <testcase classname="global" name="Ordering comparison checks that should fail" time="{duration}">
- <failure message="7 > 7" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="7 &lt; 7" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="7 > 8" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="7 &lt; 6" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="7 &lt; 0" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="7 &lt; -1" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="7 >= 8" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="7 &lt;= 6" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="9.1f &lt; 9" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="9.1f > 10" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="9.1f > 9.2" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="&quot;hello&quot; > &quot;hello&quot;" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="&quot;hello&quot; &lt; &quot;hello&quot;" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="&quot;hello&quot; > &quot;hellp&quot;" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="&quot;hello&quot; > &quot;z&quot;" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="&quot;hello&quot; &lt; &quot;hellm&quot;" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="&quot;hello&quot; &lt; &quot;a&quot;" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="&quot;hello&quot; >= &quot;z&quot;" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="&quot;hello&quot; &lt;= &quot;a&quot;" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="Comparisons with int literals don't warn when mixing signed/ unsigned" time="{duration}"/>
- <testcase classname="global" name="comparisons between int variables" time="{duration}"/>
- <testcase classname="global" name="comparisons between const int variables" time="{duration}"/>
- <testcase classname="global" name="Comparisons between unsigned ints and negative signed ints match c++ standard behaviour" time="{duration}"/>
- <testcase classname="global" name="Comparisons between ints where one side is computed" time="{duration}"/>
- <testcase classname="global" name="Pointers can be compared to null" time="{duration}"/>
- <testcase classname="global" name="'Not' checks that should succeed" time="{duration}"/>
- <testcase classname="global" name="'Not' checks that should fail" time="{duration}">
- <failure message="false != false" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="true != true" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="false" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="!true" type="CHECK_FALSE">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="false" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="!true" type="CHECK_FALSE">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="false" type="CHECK">
-ConditionTests.cpp:<line number>
- </failure>
- <failure message="!(1 == 1)" type="CHECK_FALSE">
-ConditionTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="When checked exceptions are thrown they can be expected or unexpected" time="{duration}"/>
- <testcase classname="global" name="Expected exceptions that don't throw or unexpected exceptions fail the test" time="{duration}">
- <error message="thisThrows()" type="CHECK_THROWS_AS">
-expected exception
-ExceptionTests.cpp:<line number>
- </error>
- <failure message="thisDoesntThrow()" type="CHECK_THROWS_AS">
-ExceptionTests.cpp:<line number>
- </failure>
- <error message="thisThrows()" type="CHECK_NOTHROW">
-expected exception
-ExceptionTests.cpp:<line number>
- </error>
- </testcase>
- <testcase classname="global" name="When unchecked exceptions are thrown directly they are always failures" time="{duration}">
- <error type="TEST_CASE">
-unexpected exception
-ExceptionTests.cpp:<line number>
- </error>
- </testcase>
- <testcase classname="global" name="An unchecked exception reports the line of the last assertion" time="{duration}">
- <error message="{Unknown expression after the reported line}">
-unexpected exception
-ExceptionTests.cpp:<line number>
- </error>
- </testcase>
- <testcase classname="When unchecked exceptions are thrown from sections they are always failures" name="section name" time="{duration}">
- <error type="TEST_CASE">
-unexpected exception
-ExceptionTests.cpp:<line number>
- </error>
- </testcase>
- <testcase classname="global" name="When unchecked exceptions are thrown from functions they are always failures" time="{duration}">
- <error message="thisThrows() == 0" type="CHECK">
-expected exception
-ExceptionTests.cpp:<line number>
- </error>
- </testcase>
- <testcase classname="global" name="When unchecked exceptions are thrown during a REQUIRE the test should abort fail" time="{duration}">
- <error message="thisThrows() == 0" type="REQUIRE">
-expected exception
-ExceptionTests.cpp:<line number>
- </error>
- </testcase>
- <testcase classname="global" name="When unchecked exceptions are thrown during a CHECK the test should abort and fail" time="{duration}">
- <error message="thisThrows() == 0" type="CHECK">
-expected exception
-ExceptionTests.cpp:<line number>
- </error>
- </testcase>
- <testcase classname="global" name="Non-std exceptions can be translated" time="{duration}">
- <error type="TEST_CASE">
-custom exception
-ExceptionTests.cpp:<line number>
- </error>
- </testcase>
- <testcase classname="global" name="Custom std-exceptions can be custom translated" time="{duration}">
- <error type="TEST_CASE">
-custom std exception
-ExceptionTests.cpp:<line number>
- </error>
- </testcase>
- <testcase classname="global" name="Custom exceptions can be translated when testing for nothrow" time="{duration}">
- <error message="throwCustom()" type="REQUIRE_NOTHROW">
-custom exception - not std
-ExceptionTests.cpp:<line number>
- </error>
- </testcase>
- <testcase classname="global" name="Custom exceptions can be translated when testing for throwing as something else" time="{duration}">
- <error message="throwCustom()" type="REQUIRE_THROWS_AS">
-custom exception - not std
-ExceptionTests.cpp:<line number>
- </error>
- </testcase>
- <testcase classname="global" name="Unexpected exceptions can be translated" time="{duration}">
- <error type="TEST_CASE">
-3.14
-ExceptionTests.cpp:<line number>
- </error>
- </testcase>
- <testcase classname="global" name="NotImplemented exception" time="{duration}"/>
- <testcase classname="Exception messages can be tested for" name="exact match" time="{duration}"/>
- <testcase classname="Exception messages can be tested for" name="different case" time="{duration}"/>
- <testcase classname="Exception messages can be tested for" name="wildcarded" time="{duration}"/>
- <testcase classname="global" name="Mismatching exception messages failing the test" time="{duration}">
- <failure message="expected exception" type="REQUIRE_THROWS_WITH">
-ExceptionTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="Generators over two ranges" time="{duration}"/>
- <testcase classname="global" name="Generator over a range of pairs" time="{duration}"/>
- <testcase classname="global" name="INFO and WARN do not abort tests" time="{duration}"/>
- <testcase classname="global" name="SUCCEED counts as a test pass" time="{duration}"/>
- <testcase classname="global" name="INFO gets logged on failure" time="{duration}">
- <failure message="2 == 1" type="REQUIRE">
-this message should be logged
-so should this
-MessageTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="INFO gets logged on failure, even if captured before successful assertions" time="{duration}">
- <failure message="2 == 1" type="CHECK">
-this message should be logged
-MessageTests.cpp:<line number>
- </failure>
- <failure message="2 == 0" type="CHECK">
-and this, but later
-MessageTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="FAIL aborts the test" time="{duration}">
- <failure type="FAIL">
-This is a failure
-MessageTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="FAIL does not require an argument" time="{duration}">
- <failure type="FAIL">
-MessageTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="SUCCESS does not require an argument" time="{duration}"/>
- <testcase classname="Output from all sections is reported" name="one" time="{duration}">
- <failure type="FAIL">
-Message from section one
-MessageTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="Output from all sections is reported" name="two" time="{duration}">
- <failure type="FAIL">
-Message from section two
-MessageTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="Standard output from all sections is reported" name="two" time="{duration}">
- <system-out>
-Message from section one
-Message from section two
- </system-out>
- </testcase>
- <testcase classname="global" name="SCOPED_INFO is reset for each loop" time="{duration}">
- <failure message="10 &lt; 10" type="REQUIRE">
-current counter 10
-i := 10
-MessageTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="The NO_FAIL macro reports a failure but does not fail the test" time="{duration}"/>
- <testcase classname="global" name="just failure" time="{duration}">
- <failure type="FAIL">
-Previous info should not be seen
-MessageTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="sends information to INFO" time="{duration}">
- <failure message="false" type="REQUIRE">
-hi
-i := 7
-MessageTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="Pointers can be converted to strings" time="{duration}"/>
- <testcase classname="random SECTION tests" name="s1" time="{duration}"/>
- <testcase classname="random SECTION tests" name="s2" time="{duration}"/>
- <testcase classname="nested SECTION tests" name="s1" time="{duration}"/>
- <testcase classname="nested SECTION tests" name="s1/s2" time="{duration}"/>
- <testcase classname="more nested SECTION tests" name="s2/s1" time="{duration}">
- <failure message="1 == 2" type="REQUIRE">
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="more nested SECTION tests" name="s1/s3" time="{duration}"/>
- <testcase classname="more nested SECTION tests" name="s1/s4" time="{duration}"/>
- <testcase classname="even more nested SECTION tests" name="c/d (leaf)" time="{duration}"/>
- <testcase classname="even more nested SECTION tests" name="c/e (leaf)" time="{duration}"/>
- <testcase classname="even more nested SECTION tests" name="f (leaf)" time="{duration}"/>
- <testcase classname="looped SECTION tests" name="s1" time="{duration}">
- <failure message="0 > 1" type="CHECK">
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="looped tests" time="{duration}">
- <failure message="1 == 0" type="CHECK">
-Testing if fib[0] (1) is even
-MiscTests.cpp:<line number>
- </failure>
- <failure message="1 == 0" type="CHECK">
-Testing if fib[1] (1) is even
-MiscTests.cpp:<line number>
- </failure>
- <failure message="1 == 0" type="CHECK">
-Testing if fib[3] (3) is even
-MiscTests.cpp:<line number>
- </failure>
- <failure message="1 == 0" type="CHECK">
-Testing if fib[4] (5) is even
-MiscTests.cpp:<line number>
- </failure>
- <failure message="1 == 0" type="CHECK">
-Testing if fib[6] (13) is even
-MiscTests.cpp:<line number>
- </failure>
- <failure message="1 == 0" type="CHECK">
-Testing if fib[7] (21) is even
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="Sends stuff to stdout and stderr" time="{duration}">
- <system-out>
-A string sent directly to stdout
- </system-out>
- <system-err>
-A string sent directly to stderr
- </system-err>
- </testcase>
- <testcase classname="global" name="null strings" time="{duration}"/>
- <testcase classname="global" name="checkedIf" time="{duration}"/>
- <testcase classname="global" name="checkedIf, failing" time="{duration}">
- <failure message="false" type="CHECKED_IF">
-MiscTests.cpp:<line number>
- </failure>
- <failure message="false" type="REQUIRE">
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="checkedElse" time="{duration}"/>
- <testcase classname="global" name="checkedElse, failing" time="{duration}">
- <failure message="false" type="CHECKED_ELSE">
-MiscTests.cpp:<line number>
- </failure>
- <failure message="false" type="REQUIRE">
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="xmlentitycheck" name="embedded xml" time="{duration}"/>
- <testcase classname="xmlentitycheck" name="encoded chars" time="{duration}"/>
- <testcase classname="global" name="send a single char to INFO" time="{duration}">
- <failure message="false" type="REQUIRE">
-3
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="atomic if" time="{duration}"/>
- <testcase classname="global" name="String matchers" time="{duration}"/>
- <testcase classname="global" name="Contains string matcher" time="{duration}">
- <failure message="&quot;this string contains 'abc' as a substring&quot; contains: &quot;not there&quot;" type="CHECK_THAT">
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="StartsWith string matcher" time="{duration}">
- <failure message="&quot;this string contains 'abc' as a substring&quot; starts with: &quot;string&quot;" type="CHECK_THAT">
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="EndsWith string matcher" time="{duration}">
- <failure message="&quot;this string contains 'abc' as a substring&quot; ends with: &quot;this&quot;" type="CHECK_THAT">
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="Equals string matcher" time="{duration}">
- <failure message="&quot;this string contains 'abc' as a substring&quot; equals: &quot;something else&quot;" type="CHECK_THAT">
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="Equals string matcher, with NULL" time="{duration}"/>
- <testcase classname="global" name="AllOf matcher" time="{duration}"/>
- <testcase classname="global" name="AnyOf matcher" time="{duration}"/>
- <testcase classname="global" name="Equals" time="{duration}"/>
- <testcase classname="global" name="Matchers can be (AllOf) composed with the &amp;&amp; operator" time="{duration}"/>
- <testcase classname="global" name="Matchers can be (AnyOf) composed with the || operator" time="{duration}"/>
- <testcase classname="global" name="Matchers can be composed with both &amp;&amp; and ||" time="{duration}"/>
- <testcase classname="global" name="Matchers can be composed with both &amp;&amp; and || - failing" time="{duration}">
- <failure message="&quot;this string contains 'abc' as a substring&quot; ( ( contains: &quot;string&quot; or contains: &quot;different&quot; ) and contains: &quot;random&quot; )" type="CHECK_THAT">
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="Matchers can be negated (Not) with the ! operator" time="{duration}"/>
- <testcase classname="global" name="Matchers can be negated (Not) with the ! operator - failing" time="{duration}">
- <failure message="&quot;this string contains 'abc' as a substring&quot; not contains: &quot;substring&quot;" type="CHECK_THAT">
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="Factorials are computed" time="{duration}"/>
- <testcase classname="global" name="Nice descriptive name" time="{duration}"/>
- <testcase classname="vectors can be sized and resized" name="root" time="{duration}"/>
- <testcase classname="vectors can be sized and resized" name="resizing bigger changes size and capacity" time="{duration}"/>
- <testcase classname="vectors can be sized and resized" name="resizing smaller changes size but not capacity" time="{duration}"/>
- <testcase classname="vectors can be sized and resized" name="resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" time="{duration}"/>
- <testcase classname="vectors can be sized and resized" name="reserving bigger changes capacity but not size" time="{duration}"/>
- <testcase classname="vectors can be sized and resized" name="reserving smaller does not change size or capacity" time="{duration}"/>
- <testcase classname="A couple of nested sections followed by a failure" name="root" time="{duration}">
- <failure type="FAIL">
-to infinity and beyond
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="A couple of nested sections followed by a failure" name="Outer/Inner" time="{duration}"/>
- <testcase classname="global" name="not allowed" time="{duration}"/>
- <testcase classname="global" name="Tabs and newlines show in output" time="{duration}">
- <failure message="&quot;if ($b == 10) {
- $a = 20;
-}&quot;
-==
-&quot;if ($b == 10) {
- $a = 20;
-}
-&quot;" type="CHECK">
-MiscTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="toString on const wchar_t const pointer returns the string contents" time="{duration}"/>
- <testcase classname="global" name="toString on const wchar_t pointer returns the string contents" time="{duration}"/>
- <testcase classname="global" name="toString on wchar_t const pointer returns the string contents" time="{duration}"/>
- <testcase classname="global" name="toString on wchar_t returns the string contents" time="{duration}"/>
- <testcase classname="XmlEncode" name="normal string" time="{duration}"/>
- <testcase classname="XmlEncode" name="empty string" time="{duration}"/>
- <testcase classname="XmlEncode" name="string with ampersand" time="{duration}"/>
- <testcase classname="XmlEncode" name="string with less-than" time="{duration}"/>
- <testcase classname="XmlEncode" name="string with greater-than" time="{duration}"/>
- <testcase classname="XmlEncode" name="string with quotes" time="{duration}"/>
- <testcase classname="XmlEncode" name="string with control char (1)" time="{duration}"/>
- <testcase classname="XmlEncode" name="string with control char (x7F)" time="{duration}"/>
- <testcase classname="global" name="long long" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="default - no arguments" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="test lists/1 test" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="test lists/Specify one test case exclusion using exclude:" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="test lists/Specify one test case exclusion using ~" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="reporter/-r/console" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="reporter/-r/xml" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="reporter/-r xml and junit" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="reporter/--reporter/junit" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="debugger/-b" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="debugger/--break" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="abort/-a aborts after first failure" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="abort/-x 2 aborts after two failures" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="abort/-x must be greater than zero" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="abort/-x must be numeric" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="nothrow/-e" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="nothrow/--nothrow" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="output filename/-o filename" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="output filename/--out" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="combinations/Single character flags can be combined" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="force-colour/--force-colour" time="{duration}"/>
- <testcase classname="Process can be configured on command line" name="force-colour/without --force-colour" time="{duration}"/>
- <testcase classname="Long strings can be wrapped" name="plain string/No wrapping" time="{duration}"/>
- <testcase classname="Long strings can be wrapped" name="plain string/Wrapped once" time="{duration}"/>
- <testcase classname="Long strings can be wrapped" name="plain string/Wrapped twice" time="{duration}"/>
- <testcase classname="Long strings can be wrapped" name="plain string/Wrapped three times" time="{duration}"/>
- <testcase classname="Long strings can be wrapped" name="plain string/Short wrap" time="{duration}"/>
- <testcase classname="Long strings can be wrapped" name="plain string/As container" time="{duration}"/>
- <testcase classname="Long strings can be wrapped" name="plain string/Indent first line differently" time="{duration}"/>
- <testcase classname="Long strings can be wrapped" name="With newlines/No wrapping" time="{duration}"/>
- <testcase classname="Long strings can be wrapped" name="With newlines/Trailing newline" time="{duration}"/>
- <testcase classname="Long strings can be wrapped" name="With newlines/Wrapped once" time="{duration}"/>
- <testcase classname="Long strings can be wrapped" name="With newlines/Wrapped twice" time="{duration}"/>
- <testcase classname="Long strings can be wrapped" name="With tabs" time="{duration}"/>
- <testcase classname="replaceInPlace" name="replace single char" time="{duration}"/>
- <testcase classname="replaceInPlace" name="replace two chars" time="{duration}"/>
- <testcase classname="replaceInPlace" name="replace first char" time="{duration}"/>
- <testcase classname="replaceInPlace" name="replace last char" time="{duration}"/>
- <testcase classname="replaceInPlace" name="replace all chars" time="{duration}"/>
- <testcase classname="replaceInPlace" name="replace no chars" time="{duration}"/>
- <testcase classname="replaceInPlace" name="escape '" time="{duration}"/>
- <testcase classname="global" name="Strings can be rendered with colour" time="{duration}">
- <system-out>
-hello
-hello
- </system-out>
- </testcase>
- <testcase classname="global" name="Text can be formatted using the Text class" time="{duration}"/>
- <testcase classname="global" name="Long text is truncted" time="{duration}"/>
- <testcase classname="global" name="ManuallyRegistered" time="{duration}"/>
- <testcase classname="global" name="Parsing a std::pair" time="{duration}"/>
- <testcase classname="global" name="Where there is more to the expression after the RHS" time="{duration}"/>
- <testcase classname="global" name="Where the LHS is not a simple value" time="{duration}"/>
- <testcase classname="global" name="A failing expression with a non streamable type is still captured" time="{duration}">
- <failure message="0x<hex digits> == 0x<hex digits>" type="CHECK">
-TrickyTests.cpp:<line number>
- </failure>
- <failure message="{?} == {?}" type="CHECK">
-TrickyTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="string literals of different sizes can be compared" time="{duration}">
- <failure message="&quot;first&quot; == &quot;second&quot;" type="REQUIRE">
-TrickyTests.cpp:<line number>
- </failure>
- </testcase>
- <testcase classname="global" name="An expression with side-effects should only be evaluated once" time="{duration}"/>
- <testcase classname="global" name="Operators at different namespace levels not hijacked by Koenig lookup" time="{duration}"/>
- <testcase classname="global" name="Demonstrate that a non-const == is not used" time="{duration}"/>
- <testcase classname="global" name="Test enum bit values" time="{duration}"/>
- <testcase classname="global" name="boolean member" time="{duration}"/>
- <testcase classname="(unimplemented) static bools can be evaluated" name="compare to true" time="{duration}"/>
- <testcase classname="(unimplemented) static bools can be evaluated" name="compare to false" time="{duration}"/>
- <testcase classname="(unimplemented) static bools can be evaluated" name="negation" time="{duration}"/>
- <testcase classname="(unimplemented) static bools can be evaluated" name="double negation" time="{duration}"/>
- <testcase classname="(unimplemented) static bools can be evaluated" name="direct" time="{duration}"/>
- <testcase classname="global" name="Objects that evaluated in boolean contexts can be checked" time="{duration}"/>
- <testcase classname="Assertions then sections" name="root" time="{duration}"/>
- <testcase classname="Assertions then sections" name="A section" time="{duration}"/>
- <testcase classname="Assertions then sections" name="A section/Another section" time="{duration}"/>
- <testcase classname="Assertions then sections" name="A section/Another other section" time="{duration}"/>
- <testcase classname="global" name="non streamable - with conv. op" time="{duration}"/>
- <testcase classname="global" name="Comparing function pointers" time="{duration}"/>
- <testcase classname="global" name="Comparing member function pointers" time="{duration}"/>
- <testcase classname="global" name="pointer to class" time="{duration}"/>
- <testcase classname="global" name="null_ptr" time="{duration}"/>
- <testcase classname="global" name="X/level/0/a" time="{duration}"/>
- <testcase classname="global" name="X/level/0/b" time="{duration}"/>
- <testcase classname="global" name="X/level/1/a" time="{duration}"/>
- <testcase classname="global" name="X/level/1/b" time="{duration}"/>
- <testcase classname="global" name="toString( has_toString )" time="{duration}"/>
- <testcase classname="global" name="toString( has_maker )" time="{duration}"/>
- <testcase classname="global" name="toString( has_maker_and_toString )" time="{duration}"/>
- <testcase classname="global" name="toString( vectors&lt;has_toString )" time="{duration}"/>
- <testcase classname="global" name="toString( vectors&lt;has_maker )" time="{duration}"/>
- <testcase classname="global" name="toString( vectors&lt;has_maker_and_toString )" time="{duration}"/>
- <testcase classname="Tracker" name="root" time="{duration}"/>
- <testcase classname="Tracker" name="successfully close one section" time="{duration}"/>
- <testcase classname="Tracker" name="fail one section" time="{duration}"/>
- <testcase classname="Tracker" name="fail one section/re-enter after failed section" time="{duration}"/>
- <testcase classname="Tracker" name="fail one section/re-enter after failed section and find next section" time="{duration}"/>
- <testcase classname="Tracker" name="successfully close one section, then find another" time="{duration}"/>
- <testcase classname="Tracker" name="successfully close one section, then find another/Re-enter - skips S1 and enters S2" time="{duration}"/>
- <testcase classname="Tracker" name="successfully close one section, then find another/Re-enter - skips S1 and enters S2/Successfully close S2" time="{duration}"/>
- <testcase classname="Tracker" name="successfully close one section, then find another/Re-enter - skips S1 and enters S2/fail S2" time="{duration}"/>
- <testcase classname="Tracker" name="open a nested section" time="{duration}"/>
- <testcase classname="Tracker" name="start a generator" time="{duration}"/>
- <testcase classname="Tracker" name="start a generator/close outer section" time="{duration}"/>
- <testcase classname="Tracker" name="start a generator/close outer section/Re-enter for second generation" time="{duration}"/>
- <testcase classname="Tracker" name="start a generator/Start a new inner section" time="{duration}"/>
- <testcase classname="Tracker" name="start a generator/Start a new inner section/Re-enter for second generation" time="{duration}"/>
- <testcase classname="Tracker" name="start a generator/Fail an inner section" time="{duration}"/>
- <testcase classname="Tracker" name="start a generator/Fail an inner section/Re-enter for second generation" time="{duration}"/>
- <testcase classname="global" name="std::pair&lt;int,std::string> -> toString" time="{duration}"/>
- <testcase classname="global" name="std::pair&lt;int,const std::string> -> toString" time="{duration}"/>
- <testcase classname="global" name="std::vector&lt;std::pair&lt;std::string,int> > -> toString" time="{duration}"/>
- <testcase classname="global" name="pair&lt;pair&lt;int,const char *,pair&lt;std::string,int> > -> toString" time="{duration}"/>
- <testcase classname="global" name="vector&lt;int> -> toString" time="{duration}"/>
- <testcase classname="global" name="vector&lt;string> -> toString" time="{duration}"/>
- <testcase classname="global" name="vector&lt;int,allocator> -> toString" time="{duration}"/>
- <testcase classname="global" name="vec&lt;vec&lt;string,alloc>> -> toString" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Empty test spec should have no filters" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Test spec from empty string should have no filters" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Test spec from just a comma should have no filters" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Test spec from name should have one filter" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Test spec from quoted name should have one filter" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Test spec from name should have one filter" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Wildcard at the start" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Wildcard at the end" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Wildcard at both ends" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Redundant wildcard at the start" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Redundant wildcard at the end" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Redundant wildcard at both ends" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Wildcard at both ends, redundant at start" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Just wildcard" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Single tag" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Single tag, two matches" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Two tags" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Two tags, spare separated" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Wildcarded name and tag" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="Single tag exclusion" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="One tag exclusion and one tag inclusion" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="One tag exclusion and one wldcarded name inclusion" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="One tag exclusion, using exclude:, and one wldcarded name inclusion" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="name exclusion" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="wildcarded name exclusion" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="wildcarded name exclusion with tag inclusion" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="wildcarded name exclusion, using exclude:, with tag inclusion" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="two wildcarded names" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="empty tag" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="empty quoted name" time="{duration}"/>
- <testcase classname="Parse test names and tags" name="quoted string followed by tag exclusion" time="{duration}"/>
- <testcase classname="global" name="tuple&lt;>" time="{duration}"/>
- <testcase classname="global" name="tuple&lt;int>" time="{duration}"/>
- <testcase classname="global" name="tuple&lt;float,int>" time="{duration}"/>
- <testcase classname="global" name="tuple&lt;string,string>" time="{duration}"/>
- <testcase classname="global" name="tuple&lt;tuple&lt;int>,tuple&lt;>,float>" time="{duration}"/>
- <testcase classname="global" name="tuple&lt;nullptr,int,const char *>" time="{duration}"/>
- <testcase classname="Tag alias can be registered against tag patterns" name="The same tag alias can only be registered once" time="{duration}"/>
- <testcase classname="Tag alias can be registered against tag patterns" name="Tag aliases must be of the form [@name]" time="{duration}"/>
- <testcase classname="global" name="Anonymous test case 1" time="{duration}"/>
- <testcase classname="global" name="Test case with one argument" time="{duration}"/>
- <testcase classname="Variadic macros" name="Section with one argument" time="{duration}"/>
- <testcase classname="Scenario: Do that thing with the thing" name="Given: This stuff exists/When: I do this/Then: it should do this" time="{duration}"/>
- <testcase classname="Scenario: Do that thing with the thing" name="Given: This stuff exists/When: I do this/Then: it should do this/And: do that" time="{duration}"/>
- <testcase classname="Scenario: Vector resizing affects size and capacity" name="Given: an empty vector" time="{duration}"/>
- <testcase classname="Scenario: Vector resizing affects size and capacity" name="Given: an empty vector/When: it is made larger/Then: the size and capacity go up" time="{duration}"/>
- <testcase classname="Scenario: Vector resizing affects size and capacity" name="Given: an empty vector/When: it is made larger/Then: the size and capacity go up/And when: it is made smaller again/Then: the size goes down but the capacity stays the same" time="{duration}"/>
- <testcase classname="Scenario: Vector resizing affects size and capacity" name="Given: an empty vector/When: we reserve more space/Then: The capacity is increased but the size remains the same" time="{duration}"/>
- <testcase classname="Scenario: This is a really long scenario name to see how the list command deals with wrapping" name="Given: A section name that is so long that it cannot fit in a single console width/When: The test headers are printed as part of the normal running of the scenario/Then: The, deliberately very long and overly verbose (you see what I did there?) section names must wrap, along with an indent" time="{duration}"/>
- <testcase classname="Fixture" name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods/Given: No operations precede me" time="{duration}"/>
- <testcase classname="Fixture" name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods/Given: No operations precede me/When: We get the count/Then: Subsequently values are higher" time="{duration}"/>
- <system-out>
-Message from section one
-Message from section two
-A string sent directly to stdout
-hello
-hello
- </system-out>
- <system-err>
-A string sent directly to stderr
- </system-err>
- </testsuite>
-</testsuites>
diff --git a/3rdparty/sol2/Catch/projects/SelfTest/Baselines/xml.sw.approved.txt b/3rdparty/sol2/Catch/projects/SelfTest/Baselines/xml.sw.approved.txt
deleted file mode 100644
index e88e47ebc35..00000000000
--- a/3rdparty/sol2/Catch/projects/SelfTest/Baselines/xml.sw.approved.txt
+++ /dev/null
@@ -1,9511 +0,0 @@
-<Catch name="CatchSelfTest">
- <Group name="CatchSelfTest">
- <TestCase name="toString(enum)">
- <Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
- <Original>
- Catch::toString(e0) == "0"
- </Original>
- <Expanded>
- "0" == "0"
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
- <Original>
- Catch::toString(e1) == "1"
- </Original>
- <Expanded>
- "1" == "1"
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="toString(enum w/operator&lt;&lt;)">
- <Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
- <Original>
- Catch::toString(e0) == "E2{0}"
- </Original>
- <Expanded>
- "E2{0}" == "E2{0}"
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
- <Original>
- Catch::toString(e1) == "E2{1}"
- </Original>
- <Expanded>
- "E2{1}" == "E2{1}"
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="toString(enum class)">
- <Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
- <Original>
- Catch::toString(e0) == "0"
- </Original>
- <Expanded>
- "0" == "0"
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
- <Original>
- Catch::toString(e1) == "1"
- </Original>
- <Expanded>
- "1" == "1"
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="toString(enum class w/operator&lt;&lt;)">
- <Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
- <Original>
- Catch::toString(e0) == "E2/V0"
- </Original>
- <Expanded>
- "E2/V0" == "E2/V0"
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
- <Original>
- Catch::toString(e1) == "E2/V1"
- </Original>
- <Expanded>
- "E2/V1" == "E2/V1"
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
- <Original>
- Catch::toString(e3) == "Unknown enum value 10"
- </Original>
- <Expanded>
- "Unknown enum value 10"
-==
-"Unknown enum value 10"
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Some simple comparisons between doubles">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- d == Approx( 1.23 )
- </Original>
- <Expanded>
- 1.23 == Approx( 1.23 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- d != Approx( 1.22 )
- </Original>
- <Expanded>
- 1.23 != Approx( 1.22 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- d != Approx( 1.24 )
- </Original>
- <Expanded>
- 1.23 != Approx( 1.24 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- Approx( d ) == 1.23
- </Original>
- <Expanded>
- Approx( 1.23 ) == 1.23
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- Approx( d ) != 1.22
- </Original>
- <Expanded>
- Approx( 1.23 ) != 1.22
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- Approx( d ) != 1.24
- </Original>
- <Expanded>
- Approx( 1.23 ) != 1.24
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Approximate comparisons with different epsilons">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- d != Approx( 1.231 )
- </Original>
- <Expanded>
- 1.23 != Approx( 1.231 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- d == Approx( 1.231 ).epsilon( 0.1 )
- </Original>
- <Expanded>
- 1.23 == Approx( 1.231 )
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Approximate comparisons with floats">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- 1.23f == Approx( 1.23f )
- </Original>
- <Expanded>
- 1.23f == Approx( 1.2300000191 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- 0.0f == Approx( 0.0f )
- </Original>
- <Expanded>
- 0.0f == Approx( 0.0 )
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Approximate comparisons with ints">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- 1 == Approx( 1 )
- </Original>
- <Expanded>
- 1 == Approx( 1.0 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- 0 == Approx( 0 )
- </Original>
- <Expanded>
- 0 == Approx( 0.0 )
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Approximate comparisons with mixed numeric types">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- 1.0f == Approx( 1 )
- </Original>
- <Expanded>
- 1.0f == Approx( 1.0 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- 0 == Approx( dZero)
- </Original>
- <Expanded>
- 0 == Approx( 0.0 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- 0 == Approx( dSmall ).epsilon( 0.001 )
- </Original>
- <Expanded>
- 0 == Approx( 0.00001 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- 1.234f == Approx( dMedium )
- </Original>
- <Expanded>
- 1.234f == Approx( 1.234 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- dMedium == Approx( 1.234f )
- </Original>
- <Expanded>
- 1.234 == Approx( 1.2339999676 )
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Use a custom approx">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- d == approx( 1.23 )
- </Original>
- <Expanded>
- 1.23 == Approx( 1.23 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- d == approx( 1.22 )
- </Original>
- <Expanded>
- 1.23 == Approx( 1.22 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- d == approx( 1.24 )
- </Original>
- <Expanded>
- 1.23 == Approx( 1.24 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- d != approx( 1.25 )
- </Original>
- <Expanded>
- 1.23 != Approx( 1.25 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- approx( d ) == 1.23
- </Original>
- <Expanded>
- Approx( 1.23 ) == 1.23
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- approx( d ) == 1.22
- </Original>
- <Expanded>
- Approx( 1.23 ) == 1.22
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- approx( d ) == 1.24
- </Original>
- <Expanded>
- Approx( 1.23 ) == 1.24
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- approx( d ) != 1.25
- </Original>
- <Expanded>
- Approx( 1.23 ) != 1.25
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Approximate PI">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 )
- </Original>
- <Expanded>
- 3.1428571429 == Approx( 3.141 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ApproxTests.cpp" >
- <Original>
- divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 )
- </Original>
- <Expanded>
- 3.1428571429 != Approx( 3.141 )
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="A METHOD_AS_TEST_CASE based test run that succeeds">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ClassTests.cpp" >
- <Original>
- s == "hello"
- </Original>
- <Expanded>
- "hello" == "hello"
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="A METHOD_AS_TEST_CASE based test run that fails">
- <Expression success="false" type="REQUIRE" filename="projects/SelfTest/ClassTests.cpp" >
- <Original>
- s == "world"
- </Original>
- <Expanded>
- "hello" == "world"
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="A TEST_CASE_METHOD based test run that succeeds">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ClassTests.cpp" >
- <Original>
- m_a == 1
- </Original>
- <Expanded>
- 1 == 1
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="A TEST_CASE_METHOD based test run that fails">
- <Expression success="false" type="REQUIRE" filename="projects/SelfTest/ClassTests.cpp" >
- <Original>
- m_a == 2
- </Original>
- <Expanded>
- 1 == 2
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Equality checks that should succeed">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven == 7
- </Original>
- <Expanded>
- 7 == 7
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one == Approx( 9.1f )
- </Original>
- <Expanded>
- 9.1f == Approx( 9.1000003815 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.double_pi == Approx( 3.1415926535 )
- </Original>
- <Expanded>
- 3.1415926535 == Approx( 3.1415926535 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello == "hello"
- </Original>
- <Expanded>
- "hello" == "hello"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- "hello" == data.str_hello
- </Original>
- <Expanded>
- "hello" == "hello"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello.size() == 5
- </Original>
- <Expanded>
- 5 == 5
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- x == Approx( 1.3 )
- </Original>
- <Expanded>
- 1.3 == Approx( 1.3 )
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Equality checks that should fail">
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven == 6
- </Original>
- <Expanded>
- 7 == 6
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven == 8
- </Original>
- <Expanded>
- 7 == 8
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven == 0
- </Original>
- <Expanded>
- 7 == 0
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one == Approx( 9.11f )
- </Original>
- <Expanded>
- 9.1f == Approx( 9.1099996567 )
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one == Approx( 9.0f )
- </Original>
- <Expanded>
- 9.1f == Approx( 9.0 )
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one == Approx( 1 )
- </Original>
- <Expanded>
- 9.1f == Approx( 1.0 )
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one == Approx( 0 )
- </Original>
- <Expanded>
- 9.1f == Approx( 0.0 )
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.double_pi == Approx( 3.1415 )
- </Original>
- <Expanded>
- 3.1415926535 == Approx( 3.1415 )
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello == "goodbye"
- </Original>
- <Expanded>
- "hello" == "goodbye"
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello == "hell"
- </Original>
- <Expanded>
- "hello" == "hell"
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello == "hello1"
- </Original>
- <Expanded>
- "hello" == "hello1"
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello.size() == 6
- </Original>
- <Expanded>
- 5 == 6
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- x == Approx( 1.301 )
- </Original>
- <Expanded>
- 1.3 == Approx( 1.301 )
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Inequality checks that should succeed">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven != 6
- </Original>
- <Expanded>
- 7 != 6
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven != 8
- </Original>
- <Expanded>
- 7 != 8
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one != Approx( 9.11f )
- </Original>
- <Expanded>
- 9.1f != Approx( 9.1099996567 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one != Approx( 9.0f )
- </Original>
- <Expanded>
- 9.1f != Approx( 9.0 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one != Approx( 1 )
- </Original>
- <Expanded>
- 9.1f != Approx( 1.0 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one != Approx( 0 )
- </Original>
- <Expanded>
- 9.1f != Approx( 0.0 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.double_pi != Approx( 3.1415 )
- </Original>
- <Expanded>
- 3.1415926535 != Approx( 3.1415 )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello != "goodbye"
- </Original>
- <Expanded>
- "hello" != "goodbye"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello != "hell"
- </Original>
- <Expanded>
- "hello" != "hell"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello != "hello1"
- </Original>
- <Expanded>
- "hello" != "hello1"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello.size() != 6
- </Original>
- <Expanded>
- 5 != 6
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Inequality checks that should fail">
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven != 7
- </Original>
- <Expanded>
- 7 != 7
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one != Approx( 9.1f )
- </Original>
- <Expanded>
- 9.1f != Approx( 9.1000003815 )
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.double_pi != Approx( 3.1415926535 )
- </Original>
- <Expanded>
- 3.1415926535 != Approx( 3.1415926535 )
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello != "hello"
- </Original>
- <Expanded>
- "hello" != "hello"
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello.size() != 5
- </Original>
- <Expanded>
- 5 != 5
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Ordering comparison checks that should succeed">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven &lt; 8
- </Original>
- <Expanded>
- 7 &lt; 8
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven > 6
- </Original>
- <Expanded>
- 7 > 6
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven > 0
- </Original>
- <Expanded>
- 7 > 0
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven > -1
- </Original>
- <Expanded>
- 7 > -1
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven >= 7
- </Original>
- <Expanded>
- 7 >= 7
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven >= 6
- </Original>
- <Expanded>
- 7 >= 6
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven &lt;= 7
- </Original>
- <Expanded>
- 7 &lt;= 7
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven &lt;= 8
- </Original>
- <Expanded>
- 7 &lt;= 8
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one > 9
- </Original>
- <Expanded>
- 9.1f > 9
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one &lt; 10
- </Original>
- <Expanded>
- 9.1f &lt; 10
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one &lt; 9.2
- </Original>
- <Expanded>
- 9.1f &lt; 9.2
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello &lt;= "hello"
- </Original>
- <Expanded>
- "hello" &lt;= "hello"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello >= "hello"
- </Original>
- <Expanded>
- "hello" >= "hello"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello &lt; "hellp"
- </Original>
- <Expanded>
- "hello" &lt; "hellp"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello &lt; "zebra"
- </Original>
- <Expanded>
- "hello" &lt; "zebra"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello > "hellm"
- </Original>
- <Expanded>
- "hello" > "hellm"
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello > "a"
- </Original>
- <Expanded>
- "hello" > "a"
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Ordering comparison checks that should fail">
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven > 7
- </Original>
- <Expanded>
- 7 > 7
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven &lt; 7
- </Original>
- <Expanded>
- 7 &lt; 7
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven > 8
- </Original>
- <Expanded>
- 7 > 8
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven &lt; 6
- </Original>
- <Expanded>
- 7 &lt; 6
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven &lt; 0
- </Original>
- <Expanded>
- 7 &lt; 0
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven &lt; -1
- </Original>
- <Expanded>
- 7 &lt; -1
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven >= 8
- </Original>
- <Expanded>
- 7 >= 8
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.int_seven &lt;= 6
- </Original>
- <Expanded>
- 7 &lt;= 6
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one &lt; 9
- </Original>
- <Expanded>
- 9.1f &lt; 9
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one > 10
- </Original>
- <Expanded>
- 9.1f > 10
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.float_nine_point_one > 9.2
- </Original>
- <Expanded>
- 9.1f > 9.2
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello > "hello"
- </Original>
- <Expanded>
- "hello" > "hello"
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello &lt; "hello"
- </Original>
- <Expanded>
- "hello" &lt; "hello"
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello > "hellp"
- </Original>
- <Expanded>
- "hello" > "hellp"
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello > "z"
- </Original>
- <Expanded>
- "hello" > "z"
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello &lt; "hellm"
- </Original>
- <Expanded>
- "hello" &lt; "hellm"
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello &lt; "a"
- </Original>
- <Expanded>
- "hello" &lt; "a"
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello >= "z"
- </Original>
- <Expanded>
- "hello" >= "z"
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- data.str_hello &lt;= "a"
- </Original>
- <Expanded>
- "hello" &lt;= "a"
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Comparisons with int literals don't warn when mixing signed/ unsigned">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- i == 1
- </Original>
- <Expanded>
- 1 == 1
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- ui == 2
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- l == 3
- </Original>
- <Expanded>
- 3 == 3
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- ul == 4
- </Original>
- <Expanded>
- 4 == 4
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- c == 5
- </Original>
- <Expanded>
- 5 == 5
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- uc == 6
- </Original>
- <Expanded>
- 6 == 6
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- 1 == i
- </Original>
- <Expanded>
- 1 == 1
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- 2 == ui
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- 3 == l
- </Original>
- <Expanded>
- 3 == 3
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- 4 == ul
- </Original>
- <Expanded>
- 4 == 4
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- 5 == c
- </Original>
- <Expanded>
- 5 == 5
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- 6 == uc
- </Original>
- <Expanded>
- 6 == 6
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- (std::numeric_limits&lt;unsigned long>::max)() > ul
- </Original>
- <Expanded>
- 18446744073709551615 (0x<hex digits>)
->
-4
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="comparisons between int variables">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- long_var == unsigned_char_var
- </Original>
- <Expanded>
- 1 == 1
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- long_var == unsigned_short_var
- </Original>
- <Expanded>
- 1 == 1
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- long_var == unsigned_int_var
- </Original>
- <Expanded>
- 1 == 1
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- long_var == unsigned_long_var
- </Original>
- <Expanded>
- 1 == 1
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="comparisons between const int variables">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- unsigned_char_var == 1
- </Original>
- <Expanded>
- 1 == 1
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- unsigned_short_var == 1
- </Original>
- <Expanded>
- 1 == 1
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- unsigned_int_var == 1
- </Original>
- <Expanded>
- 1 == 1
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- unsigned_long_var == 1
- </Original>
- <Expanded>
- 1 == 1
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Comparisons between unsigned ints and negative signed ints match c++ standard behaviour">
- <Expression success="true" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- ( -1 > 2u )
- </Original>
- <Expanded>
- true
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- -1 > 2u
- </Original>
- <Expanded>
- -1 > 2
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- ( 2u &lt; -1 )
- </Original>
- <Expanded>
- true
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- 2u &lt; -1
- </Original>
- <Expanded>
- 2 &lt; -1
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- ( minInt > 2u )
- </Original>
- <Expanded>
- true
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- minInt > 2u
- </Original>
- <Expanded>
- -2147483648 > 2
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Comparisons between ints where one side is computed">
- <Expression success="true" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- 54 == 6*9
- </Original>
- <Expanded>
- 54 == 54
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Pointers can be compared to null">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- p == nullptr
- </Original>
- <Expanded>
- NULL == nullptr
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- p == pNULL
- </Original>
- <Expanded>
- NULL == NULL
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- p != nullptr
- </Original>
- <Expanded>
- 0x<hex digits> != nullptr
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- cp != nullptr
- </Original>
- <Expanded>
- 0x<hex digits> != nullptr
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- cpc != nullptr
- </Original>
- <Expanded>
- 0x<hex digits> != nullptr
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- returnsNull() == nullptr
- </Original>
- <Expanded>
- {null string} == nullptr
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- returnsConstNull() == nullptr
- </Original>
- <Expanded>
- {null string} == nullptr
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- nullptr != p
- </Original>
- <Expanded>
- nullptr != 0x<hex digits>
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="'Not' checks that should succeed">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- false == false
- </Original>
- <Expanded>
- false == false
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- true == true
- </Original>
- <Expanded>
- true == true
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- !false
- </Original>
- <Expanded>
- true
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE_FALSE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- !false
- </Original>
- <Expanded>
- !false
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- !falseValue
- </Original>
- <Expanded>
- true
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE_FALSE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- !falseValue
- </Original>
- <Expanded>
- !false
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- !(1 == 2)
- </Original>
- <Expanded>
- true
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE_FALSE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- !1 == 2
- </Original>
- <Expanded>
- !(1 == 2)
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="'Not' checks that should fail">
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- false != false
- </Original>
- <Expanded>
- false != false
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- true != true
- </Original>
- <Expanded>
- true != true
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- !true
- </Original>
- <Expanded>
- false
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK_FALSE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- !true
- </Original>
- <Expanded>
- !true
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- !trueValue
- </Original>
- <Expanded>
- false
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK_FALSE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- !trueValue
- </Original>
- <Expanded>
- !true
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- !(1 == 1)
- </Original>
- <Expanded>
- false
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK_FALSE" filename="projects/SelfTest/ConditionTests.cpp" >
- <Original>
- !1 == 1
- </Original>
- <Expanded>
- !(1 == 1)
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="When checked exceptions are thrown they can be expected or unexpected">
- <Expression success="true" type="REQUIRE_THROWS_AS" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows()
- </Original>
- <Expanded>
- thisThrows()
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE_NOTHROW" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisDoesntThrow()
- </Original>
- <Expanded>
- thisDoesntThrow()
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE_THROWS" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows()
- </Original>
- <Expanded>
- thisThrows()
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Expected exceptions that don't throw or unexpected exceptions fail the test">
- <Expression success="false" type="CHECK_THROWS_AS" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows()
- </Original>
- <Expanded>
- thisThrows()
- </Expanded>
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- expected exception
- </Exception>
- </Expression>
- <Expression success="false" type="CHECK_THROWS_AS" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisDoesntThrow()
- </Original>
- <Expanded>
- thisDoesntThrow()
- </Expanded>
- </Expression>
- <Expression success="false" type="CHECK_NOTHROW" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows()
- </Original>
- <Expanded>
- thisThrows()
- </Expanded>
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- expected exception
- </Exception>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="When unchecked exceptions are thrown directly they are always failures">
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- unexpected exception
- </Exception>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="An unchecked exception reports the line of the last assertion">
- <Expression success="true" type="CHECK" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- 1 == 1
- </Original>
- <Expanded>
- 1 == 1
- </Expanded>
- </Expression>
- <Expression success="false" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- {Unknown expression after the reported line}
- </Original>
- <Expanded>
- {Unknown expression after the reported line}
- </Expanded>
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- unexpected exception
- </Exception>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="When unchecked exceptions are thrown from sections they are always failures">
- <Section name="section name">
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- unexpected exception
- </Exception>
- <OverallResults successes="0" failures="1" expectedFailures="0"/>
- </Section>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="When unchecked exceptions are thrown from functions they are always failures">
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows() == 0
- </Original>
- <Expanded>
- thisThrows() == 0
- </Expanded>
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- expected exception
- </Exception>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="When unchecked exceptions are thrown during a REQUIRE the test should abort fail">
- <Expression success="false" type="REQUIRE" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows() == 0
- </Original>
- <Expanded>
- thisThrows() == 0
- </Expanded>
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- expected exception
- </Exception>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="When unchecked exceptions are thrown during a CHECK the test should abort and fail">
- <Expression success="false" type="CHECK" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows() == 0
- </Original>
- <Expanded>
- thisThrows() == 0
- </Expanded>
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- expected exception
- </Exception>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="When unchecked exceptions are thrown, but caught, they do not affect the test">
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Non-std exceptions can be translated">
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- custom exception
- </Exception>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Custom std-exceptions can be custom translated">
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- custom std exception
- </Exception>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Custom exceptions can be translated when testing for nothrow">
- <Expression success="false" type="REQUIRE_NOTHROW" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- throwCustom()
- </Original>
- <Expanded>
- throwCustom()
- </Expanded>
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- custom exception - not std
- </Exception>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Custom exceptions can be translated when testing for throwing as something else">
- <Expression success="false" type="REQUIRE_THROWS_AS" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- throwCustom()
- </Original>
- <Expanded>
- throwCustom()
- </Expanded>
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- custom exception - not std
- </Exception>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Unexpected exceptions can be translated">
- <Exception filename="projects/SelfTest/ExceptionTests.cpp" >
- 3.14
- </Exception>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="NotImplemented exception">
- <Expression success="true" type="REQUIRE_THROWS" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisFunctionNotImplemented( 7 )
- </Original>
- <Expanded>
- thisFunctionNotImplemented( 7 )
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Exception messages can be tested for">
- <Section name="exact match">
- <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows(), "expected exception"
- </Original>
- <Expanded>
- thisThrows(), "expected exception"
- </Expanded>
- </Expression>
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <Section name="different case">
- <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No )
- </Original>
- <Expanded>
- thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No )
- </Expanded>
- </Expression>
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <Section name="wildcarded">
- <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows(), StartsWith( "expected" )
- </Original>
- <Expanded>
- thisThrows(), StartsWith( "expected" )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows(), EndsWith( "exception" )
- </Original>
- <Expanded>
- thisThrows(), EndsWith( "exception" )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows(), Contains( "except" )
- </Original>
- <Expanded>
- thisThrows(), Contains( "except" )
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows(), Contains( "exCept", Catch::CaseSensitive::No )
- </Original>
- <Expanded>
- thisThrows(), Contains( "exCept", Catch::CaseSensitive::No )
- </Expanded>
- </Expression>
- <OverallResults successes="4" failures="0" expectedFailures="0"/>
- </Section>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Mismatching exception messages failing the test">
- <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows(), "expected exception"
- </Original>
- <Expanded>
- thisThrows(), "expected exception"
- </Expanded>
- </Expression>
- <Expression success="false" type="REQUIRE_THROWS_WITH" filename="projects/SelfTest/ExceptionTests.cpp" >
- <Original>
- thisThrows(), "should fail"
- </Original>
- <Expanded>
- expected exception
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Generators over two ranges">
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 200 == 200
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 4 == 4
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 200 == 200
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 6 == 6
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 200 == 200
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 8 == 8
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 200 == 200
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 10 == 10
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 200 == 200
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 30 == 30
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 200 == 200
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 40 == 40
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 200 == 200
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 42 == 42
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 200 == 200
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 72 == 72
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 200 == 200
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 202 == 202
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 4 == 4
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 202 == 202
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 6 == 6
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 202 == 202
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 8 == 8
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 202 == 202
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 10 == 10
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 202 == 202
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 30 == 30
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 202 == 202
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 40 == 40
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 202 == 202
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 42 == 42
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 202 == 202
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 72 == 72
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 202 == 202
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 204 == 204
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 4 == 4
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 204 == 204
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 6 == 6
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 204 == 204
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 8 == 8
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 204 == 204
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 10 == 10
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 204 == 204
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 30 == 30
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 204 == 204
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 40 == 40
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 204 == 204
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 42 == 42
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 204 == 204
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 72 == 72
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 204 == 204
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 206 == 206
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 4 == 4
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 206 == 206
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 6 == 6
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 206 == 206
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 8 == 8
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 206 == 206
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 10 == 10
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 206 == 206
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 30 == 30
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 206 == 206
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 40 == 40
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 206 == 206
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 42 == 42
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 206 == 206
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 72 == 72
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 206 == 206
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 208 == 208
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 4 == 4
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 208 == 208
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 6 == 6
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 208 == 208
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 8 == 8
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 208 == 208
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 10 == 10
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 208 == 208
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 30 == 30
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 208 == 208
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 40 == 40
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 208 == 208
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 42 == 42
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 208 == 208
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 72 == 72
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 208 == 208
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 210 == 210
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 4 == 4
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 210 == 210
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 6 == 6
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 210 == 210
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 8 == 8
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 210 == 210
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 10 == 10
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 210 == 210
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 30 == 30
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 210 == 210
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 40 == 40
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 210 == 210
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 42 == 42
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 210 == 210
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 72 == 72
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 210 == 210
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 212 == 212
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 4 == 4
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 212 == 212
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 6 == 6
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 212 == 212
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 8 == 8
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 212 == 212
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 10 == 10
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 212 == 212
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 30 == 30
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 212 == 212
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 40 == 40
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 212 == 212
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 42 == 42
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 212 == 212
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 72 == 72
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 212 == 212
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 214 == 214
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 4 == 4
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 214 == 214
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 6 == 6
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 214 == 214
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 8 == 8
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 214 == 214
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 10 == 10
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 214 == 214
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 30 == 30
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 214 == 214
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 40 == 40
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 214 == 214
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 42 == 42
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 214 == 214
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( i, 2 ) == i*2
- </Original>
- <Expanded>
- 72 == 72
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- multiply( j, 2 ) == j*2
- </Original>
- <Expanded>
- 214 == 214
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Generator over a range of pairs">
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- i->first == i->second-1
- </Original>
- <Expanded>
- 0 == 0
- </Expanded>
- </Expression>
- <Expression success="true" type="CATCH_REQUIRE" filename="projects/SelfTest/GeneratorTests.cpp" >
- <Original>
- i->first == i->second-1
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="INFO and WARN do not abort tests">
- <Info>
- this is a message
- </Info>
- <Warning>
- this is a warning
- </Warning>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="SUCCEED counts as a test pass">
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="INFO gets logged on failure">
- <Info>
- this message should be logged
- </Info>
- <Info>
- so should this
- </Info>
- <Expression success="false" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- a == 1
- </Original>
- <Expanded>
- 2 == 1
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="INFO gets logged on failure, even if captured before successful assertions">
- <Expression success="true" type="CHECK" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- a == 2
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <Info>
- this message should be logged
- </Info>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- a == 1
- </Original>
- <Expanded>
- 2 == 1
- </Expanded>
- </Expression>
- <Info>
- and this, but later
- </Info>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- a == 0
- </Original>
- <Expanded>
- 2 == 0
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- a == 2
- </Original>
- <Expanded>
- 2 == 2
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="FAIL aborts the test">
- <Failure>
- This is a failure
- </Failure>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="FAIL does not require an argument">
- <Failure/>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="SUCCESS does not require an argument">
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Output from all sections is reported">
- <Section name="one">
- <Failure>
- Message from section one
- </Failure>
- <OverallResults successes="0" failures="1" expectedFailures="0"/>
- </Section>
- <Section name="two">
- <Failure>
- Message from section two
- </Failure>
- <OverallResults successes="0" failures="1" expectedFailures="0"/>
- </Section>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Standard output from all sections is reported">
- <Section name="one">
- <OverallResults successes="0" failures="1" expectedFailures="0"/>
- </Section>
- <Section name="two">
- <OverallResults successes="0" failures="1" expectedFailures="0"/>
- </Section>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="SCOPED_INFO is reset for each loop">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- i &lt; 10
- </Original>
- <Expanded>
- 0 &lt; 10
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- i &lt; 10
- </Original>
- <Expanded>
- 1 &lt; 10
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- i &lt; 10
- </Original>
- <Expanded>
- 2 &lt; 10
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- i &lt; 10
- </Original>
- <Expanded>
- 3 &lt; 10
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- i &lt; 10
- </Original>
- <Expanded>
- 4 &lt; 10
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- i &lt; 10
- </Original>
- <Expanded>
- 5 &lt; 10
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- i &lt; 10
- </Original>
- <Expanded>
- 6 &lt; 10
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- i &lt; 10
- </Original>
- <Expanded>
- 7 &lt; 10
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- i &lt; 10
- </Original>
- <Expanded>
- 8 &lt; 10
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- i &lt; 10
- </Original>
- <Expanded>
- 9 &lt; 10
- </Expanded>
- </Expression>
- <Info>
- current counter 10
- </Info>
- <Info>
- i := 10
- </Info>
- <Expression success="false" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- i &lt; 10
- </Original>
- <Expanded>
- 10 &lt; 10
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="The NO_FAIL macro reports a failure but does not fail the test">
- <Expression success="false" type="CHECK_NOFAIL" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- 1 == 2
- </Original>
- <Expanded>
- 1 == 2
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="just info">
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="just failure">
- <Failure>
- Previous info should not be seen
- </Failure>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="sends information to INFO">
- <Info>
- hi
- </Info>
- <Info>
- i := 7
- </Info>
- <Expression success="false" type="REQUIRE" filename="projects/SelfTest/MessageTests.cpp" >
- <Original>
- false
- </Original>
- <Expanded>
- false
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Pointers can be converted to strings">
- <Warning>
- actual address of p: 0x<hex digits>
- </Warning>
- <Warning>
- toString(p): 0x<hex digits>
- </Warning>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="random SECTION tests">
- <Section name="s1" description="doesn't equal">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- a != b
- </Original>
- <Expanded>
- 1 != 2
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- b != a
- </Original>
- <Expanded>
- 2 != 1
- </Expanded>
- </Expression>
- <OverallResults successes="2" failures="0" expectedFailures="0"/>
- </Section>
- <Section name="s2" description="not equal">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- a != b
- </Original>
- <Expanded>
- 1 != 2
- </Expanded>
- </Expression>
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="nested SECTION tests">
- <Section name="s1" description="doesn't equal">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- a != b
- </Original>
- <Expanded>
- 1 != 2
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- b != a
- </Original>
- <Expanded>
- 2 != 1
- </Expanded>
- </Expression>
- <Section name="s2" description="not equal">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- a != b
- </Original>
- <Expanded>
- 1 != 2
- </Expanded>
- </Expression>
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <OverallResults successes="3" failures="0" expectedFailures="0"/>
- </Section>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="more nested SECTION tests">
- <Section name="s1" description="doesn't equal">
- <Section name="s2" description="equal">
- <Expression success="false" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- a == b
- </Original>
- <Expanded>
- 1 == 2
- </Expanded>
- </Expression>
- <OverallResults successes="0" failures="1" expectedFailures="0"/>
- </Section>
- <OverallResults successes="0" failures="1" expectedFailures="0"/>
- </Section>
- <Section name="s1" description="doesn't equal">
- <Section name="s3" description="not equal">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- a != b
- </Original>
- <Expanded>
- 1 != 2
- </Expanded>
- </Expression>
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <Section name="s1" description="doesn't equal">
- <Section name="s4" description="less than">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- a &lt; b
- </Original>
- <Expanded>
- 1 &lt; 2
- </Expanded>
- </Expression>
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="even more nested SECTION tests">
- <Section name="c">
- <Section name="d (leaf)">
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <Section name="c">
- <Section name="e (leaf)">
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <Section name="f (leaf)">
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="looped SECTION tests">
- <Section name="s1" description="b is currently: 0">
- <Expression success="false" type="CHECK" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- b > a
- </Original>
- <Expanded>
- 0 > 1
- </Expanded>
- </Expression>
- <OverallResults successes="0" failures="1" expectedFailures="0"/>
- </Section>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="looped tests">
- <Info>
- Testing if fib[0] (1) is even
- </Info>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- ( fib[i] % 2 ) == 0
- </Original>
- <Expanded>
- 1 == 0
- </Expanded>
- </Expression>
- <Info>
- Testing if fib[1] (1) is even
- </Info>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- ( fib[i] % 2 ) == 0
- </Original>
- <Expanded>
- 1 == 0
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- ( fib[i] % 2 ) == 0
- </Original>
- <Expanded>
- 0 == 0
- </Expanded>
- </Expression>
- <Info>
- Testing if fib[3] (3) is even
- </Info>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- ( fib[i] % 2 ) == 0
- </Original>
- <Expanded>
- 1 == 0
- </Expanded>
- </Expression>
- <Info>
- Testing if fib[4] (5) is even
- </Info>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- ( fib[i] % 2 ) == 0
- </Original>
- <Expanded>
- 1 == 0
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- ( fib[i] % 2 ) == 0
- </Original>
- <Expanded>
- 0 == 0
- </Expanded>
- </Expression>
- <Info>
- Testing if fib[6] (13) is even
- </Info>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- ( fib[i] % 2 ) == 0
- </Original>
- <Expanded>
- 1 == 0
- </Expanded>
- </Expression>
- <Info>
- Testing if fib[7] (21) is even
- </Info>
- <Expression success="false" type="CHECK" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- ( fib[i] % 2 ) == 0
- </Original>
- <Expanded>
- 1 == 0
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Sends stuff to stdout and stderr">
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="null strings">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- makeString( false ) != static_cast&lt;char*>(nullptr)
- </Original>
- <Expanded>
- "valid string" != {null string}
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- makeString( true ) == static_cast&lt;char*>(nullptr)
- </Original>
- <Expanded>
- {null string} == {null string}
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="checkedIf">
- <Expression success="true" type="CHECKED_IF" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- flag
- </Original>
- <Expanded>
- true
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- testCheckedIf( true )
- </Original>
- <Expanded>
- true
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="checkedIf, failing">
- <Expression success="false" type="CHECKED_IF" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- flag
- </Original>
- <Expanded>
- false
- </Expanded>
- </Expression>
- <Expression success="false" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- testCheckedIf( false )
- </Original>
- <Expanded>
- false
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="checkedElse">
- <Expression success="true" type="CHECKED_ELSE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- flag
- </Original>
- <Expanded>
- true
- </Expanded>
- </Expression>
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- testCheckedElse( true )
- </Original>
- <Expanded>
- true
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="checkedElse, failing">
- <Expression success="false" type="CHECKED_ELSE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- flag
- </Original>
- <Expanded>
- false
- </Expanded>
- </Expression>
- <Expression success="false" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- testCheckedElse( false )
- </Original>
- <Expanded>
- false
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="xmlentitycheck">
- <Section name="embedded xml" description="&lt;test>it should be possible to embed xml characters, such as &lt;, &quot; or &amp;, or even whole &lt;xml>documents&lt;/xml> within an attribute&lt;/test>">
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <Section name="encoded chars" description="these should all be encoded: &amp;&amp;&amp;&quot;&quot;&quot;&lt;&lt;&lt;&amp;&quot;&lt;&lt;&amp;&quot;">
- <OverallResults successes="1" failures="0" expectedFailures="0"/>
- </Section>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="send a single char to INFO">
- <Info>
- 3
- </Info>
- <Expression success="false" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- false
- </Original>
- <Expanded>
- false
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="atomic if">
- <Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- x == 0
- </Original>
- <Expanded>
- 0 == 0
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="String matchers">
- <Expression success="true" type="REQUIRE_THAT" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- testStringForMatching(), Contains( "string" )
- </Original>
- <Expanded>
- "this string contains 'abc' as a substring" contains: "string"
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK_THAT" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- testStringForMatching(), Contains( "abc" )
- </Original>
- <Expanded>
- "this string contains 'abc' as a substring" contains: "abc"
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK_THAT" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- testStringForMatching(), StartsWith( "this" )
- </Original>
- <Expanded>
- "this string contains 'abc' as a substring" starts with: "this"
- </Expanded>
- </Expression>
- <Expression success="true" type="CHECK_THAT" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- testStringForMatching(), EndsWith( "substring" )
- </Original>
- <Expanded>
- "this string contains 'abc' as a substring" ends with: "substring"
- </Expanded>
- </Expression>
- <OverallResult success="true"/>
- </TestCase>
- <TestCase name="Contains string matcher">
- <Expression success="false" type="CHECK_THAT" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- testStringForMatching(), Contains( "not there" )
- </Original>
- <Expanded>
- "this string contains 'abc' as a substring" contains: "not there"
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="StartsWith string matcher">
- <Expression success="false" type="CHECK_THAT" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- testStringForMatching(), StartsWith( "string" )
- </Original>
- <Expanded>
- "this string contains 'abc' as a substring" starts with: "string"
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="EndsWith string matcher">
- <Expression success="false" type="CHECK_THAT" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- testStringForMatching(), EndsWith( "this" )
- </Original>
- <Expanded>
- "this string contains 'abc' as a substring" ends with: "this"
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Equals string matcher">
- <Expression success="false" type="CHECK_THAT" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- testStringForMatching(), Equals( "something else" )
- </Original>
- <Expanded>
- "this string contains 'abc' as a substring" equals: "something else"
- </Expanded>
- </Expression>
- <OverallResult success="false"/>
- </TestCase>
- <TestCase name="Equals string matcher, with NULL">
- <Expression success="true" type="REQUIRE_THAT" filename="projects/SelfTest/MiscTests.cpp" >
- <Original>
- "", Equals(nullptr)
- </Original>
- <Expanded>
- "" equals: ""