Initial commit

This commit is contained in:
Vinnie Falco
2019-09-09 13:56:14 -07:00
commit 406b929fc5
20 changed files with 4381 additions and 0 deletions

23
test/CMakeLists.txt Normal file
View File

@ -0,0 +1,23 @@
#
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
#
# 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)
#
# Official repository: https://github.com/boostorg/fixed_string
#
GroupSources (include/boost/fixed_string fixed_string)
GroupSources (test "/")
add_executable (tests
${PROJECT_FILES}
Jamfile
lib.cpp
fixed_string.cpp
)
target_link_libraries(tests
)
set_property(TARGET tests PROPERTY FOLDER "tests")

34
test/Jamfile Normal file
View File

@ -0,0 +1,34 @@
#
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
#
# 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)
#
# Official repository: https://github.com/boostorg/fixed_string
#
local SOURCES =
fixed_string.cpp
;
local RUN_TESTS ;
for local f in $(SOURCES)
{
RUN_TESTS += [ run $(f) lib.cpp ] ;
}
alias run-tests : $(RUN_TESTS) ;
exe fat-tests :
$(SOURCES)
lib.cpp
;
explicit fat-tests ;
run $(SOURCES)
lib.cpp
: : : : run-fat-tests ;
explicit run-fat-tests ;

1481
test/fixed_string.cpp Normal file

File diff suppressed because it is too large Load Diff

11
test/lib.cpp Normal file
View File

@ -0,0 +1,11 @@
//
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// 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)
//
// Official repository: https://github.com/boostorg/fixed_string
//
#include <boost/beast/_experimental/unit_test/main.ipp>