Sam Kellett
bd2f01c9f6
Merge f008774edc into ab5f9259a4
2018-05-07 12:24:47 +00:00
Patrick Stotko
ab5f9259a4
Use target-based include_directories to enable modern CMake usage ( #583 )
2018-05-05 11:03:13 -05:00
Ryan Schmidt
3f33f337a7
Only use -Wno-c99-extensions for clang
2017-11-14 07:07:37 -08:00
Roger Leigh
5e24f35816
test: Upgrade googlemock 1.7.0 to googletest 1.8.0
...
Note that with the release of 1.8.0, googlemock and
googletest are unified into a single release.
2017-08-24 22:49:17 -05:00
SirLoxley
f35f4a19fa
Fix for broken build on cygwin using gcc - "error '[fileno, strdup, fdopen]' are not in scope" ( #374 )
2016-05-11 23:00:34 -05:00
Sam Kellett
f008774edc
Made version.h static and version_test.cpp dynamic.
...
Switched around the header and unit test. Now the unit test is created by CMake using the variables
set in there and the version.h header is created manually. Unit test checks that both the CMake
variables and header share the same version.
2016-02-01 19:07:39 +00:00
Rodrigo Hernandez
57805dfd6a
Removed quoted variables to avoid CMP0054 policy warnings on CMake 3.3.0.
2016-01-31 11:44:04 -06:00
Matt Blair
24fa1b3380
Replace Boost usage with C++11 features
...
- Adds 'std=c++11' compiler flags
- Replaces boost::type_traits with std::type_traits
- Replaces boost::shared_ptr with std::shared_ptr
- Replaces std::auto_ptr with std::unique_ptr
- Replaces raw pointers with std::unique_ptr in ptr_vector, ptr_stack, and SettingChanges
- Replaces boost::noncopyable with deleted copy and assignment operators
- Replaces boost::next with std::next
- Replaces boost::enable_if with std::enable_if
- Replaces boost::is_convertible with std::is_convertible
- Replaces ptrdiff_t with std::ptrdiff_t
- Replaces boost::iterator_facade and boost::iterator_adaptor with std::iterator, borrowing the 'proxy reference' technique from boost
- Removes Boost dependency from CMakeLists
- Formats changed files using clang-format
2016-01-10 22:44:15 -05:00
Jesse Beder
67e37d000a
Merge from core
2015-02-21 12:34:19 -06:00
Jesse Beder
b1322770c2
Remove the extraneous gtest library from the test's link args, since gmock covers it
2015-02-21 12:33:36 -06:00
Jesse Beder
c324bf8a7d
Merge core
2015-01-24 14:47:29 -06:00
Jesse Beder
891c7338bf
Add test to CMake config
2015-01-24 14:45:40 -06:00
Jesse Beder
dea3428ce0
Merge from core
2014-03-25 00:07:38 -05:00
Jesse Beder
e0b293e757
Add test and util sources to make format
2014-03-25 00:02:16 -05:00
Jesse Beder
a4a79835c9
Suppress gtest warnings on xcode
2014-03-24 23:47:46 -05:00
Jesse Beder
d59586630e
Fix clang compiler settings, and properly set up warnings so they don't interfere with gtest and gmock
2014-03-24 23:34:26 -05:00
Jesse Beder
066359802b
Merge from core, and update several missing DLL exports. This does not resolve them all (in particular, node_data::equals seems to be still missing, even though it is inlined in a header, which seems strange).
2014-03-24 00:31:43 -05:00
Jesse Beder
fe8ca77a1b
Add missing DLL export, and set up gtest/gmock to properly import their symbols.
2014-03-23 23:56:17 -05:00
Jesse Beder
833f2996bc
Fix MSVC static/shared library mismatch with gtest.
2014-03-23 23:26:02 -05:00
Jesse Beder
a4382b1370
Merge from core, plus convert the node spec tests to gtest
2014-03-23 14:02:51 -05:00
Jesse Beder
e3f120b99d
Add gmock as dependency
2014-03-23 12:04:03 -05:00
Jesse Beder
be85bb3212
Merge from core
2014-03-23 11:55:30 -05:00
Jesse Beder
f6a6f46ba4
Move EmitterTests to gtest
2014-03-23 11:49:32 -05:00
Jesse Beder
da118bbb0d
Add test for cloning a null node
2014-03-22 23:29:14 -05:00
Jesse Beder
d98ab9f342
Merge ostream_wrapper fix from core
2014-03-22 19:27:54 -05:00
Jesse Beder
396a97050d
Fix SEGV in ostream_wrapper
2014-03-22 19:15:49 -05:00
Jesse Beder
9583d1ab07
Merge gtest from core
2014-03-22 19:09:22 -05:00
Jesse Beder
db82302ed0
Add gtest, as separate set of tests (that just follow the ad-hoc tests that already exist)
2014-03-22 19:06:46 -05:00
Jesse Beder
c22512649e
Copied all files from new-api branch of old repo
2012-05-19 15:34:02 -05:00
Jesse Beder
a183293ff0
Removed old-api tests, added (empty) core spec tests
2012-05-19 01:16:54 -05:00
Jesse Beder
1723523c43
Removed the new API from the default branch
2012-01-20 23:50:39 -06:00
Jesse Beder
f7b2247217
Added stubs for spec and parser tests with the new API
2011-09-10 18:05:35 -05:00
Jesse Beder
36c63980b9
Moved old api tests to subfolder
2011-09-10 18:02:07 -05:00
Jesse Beder
a0bf12e7a1
Renamed yaml-reader test
2009-10-27 14:38:53 +00:00