Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
f7b22472
Commit
f7b22472
authored
Sep 10, 2011
by
Jesse Beder
Browse files
Added stubs for spec and parser tests with the new API
parent
36c63980
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
test/CMakeLists.txt
test/CMakeLists.txt
+5
-0
test/new-api/parsertests.cpp
test/new-api/parsertests.cpp
+7
-0
test/new-api/spectests.cpp
test/new-api/spectests.cpp
+8
-0
No files found.
test/CMakeLists.txt
View file @
f7b22472
file
(
GLOB test_headers [a-z]*.h
)
file
(
GLOB test_sources [a-z]*.cpp
)
file
(
GLOB test_old_api_sources old-api/[a-z]*.cpp
)
file
(
GLOB test_new_api_sources new-api/[a-z]*.cpp
)
if
(
YAML_CPP_BUILD_OLD_API
)
list
(
APPEND test_sources
${
test_old_api_sources
}
)
else
()
list
(
APPEND test_sources
${
test_new_api_sources
}
)
endif
()
include_directories
(
${
YAML_CPP_SOURCE_DIR
}
/test
)
add_executable
(
run-tests
${
test_sources
}
${
test_headers
}
...
...
test/new-api/parsertests.cpp
0 → 100644
View file @
f7b22472
#include "parsertests.h"
namespace
Test
{
bool
RunParserTests
()
{
}
}
test/new-api/spectests.cpp
0 → 100644
View file @
f7b22472
#include "spectests.h"
namespace
Test
{
bool
RunSpecTests
()
{
return
true
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment