File renames to reflect new multi_span name.

This commit is contained in:
Neil MacIntosh 2016-02-24 11:03:33 -08:00
parent 49e80625c6
commit d2f12a8fa3
7 changed files with 9 additions and 8 deletions

View File

@ -21,7 +21,8 @@
#include "gsl_assert.h" // Ensures/Expects #include "gsl_assert.h" // Ensures/Expects
#include "gsl_util.h" // finally()/narrow()/narrow_cast()... #include "gsl_util.h" // finally()/narrow()/narrow_cast()...
#include "span.h" // span, strided_span... //#include "span.h" // span
#include "multi_span.h" // multi_span, strided_span...
#include "string_span.h" // zstring, string_span, zstring_builder... #include "string_span.h" // zstring, string_span, zstring_builder...
#include <memory> #include <memory>

View File

@ -21,7 +21,7 @@
#include "gsl_assert.h" #include "gsl_assert.h"
#include "gsl_util.h" #include "gsl_util.h"
#include "span.h" #include "multi_span.h"
#include <cstring> #include <cstring>
#include <string> #include <string>

View File

@ -33,7 +33,7 @@ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/unittest-cpp)
endif() endif()
function(add_gsl_test name) function(add_gsl_test name)
add_executable(${name} ${name}.cpp ../include/gsl.h ../include/gsl_assert.h ../include/gsl_util.h ../include/span.h ../include/string_span.h) add_executable(${name} ${name}.cpp ../include/gsl.h ../include/gsl_assert.h ../include/gsl_util.h ../include/multi_span.h ../include/string_span.h)
target_link_libraries(${name} UnitTest++) target_link_libraries(${name} UnitTest++)
install(TARGETS ${name} install(TARGETS ${name}
RUNTIME DESTINATION bin RUNTIME DESTINATION bin
@ -44,7 +44,7 @@ function(add_gsl_test name)
) )
endfunction() endfunction()
add_gsl_test(span_tests) add_gsl_test(multi_span_tests)
add_gsl_test(strided_span_tests) add_gsl_test(strided_span_tests)
add_gsl_test(string_span_tests) add_gsl_test(string_span_tests)
add_gsl_test(at_tests) add_gsl_test(at_tests)

View File

@ -15,7 +15,7 @@
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#include <UnitTest++/UnitTest++.h> #include <UnitTest++/UnitTest++.h>
#include <span.h> #include <multi_span.h>
#include <vector> #include <vector>
using namespace std; using namespace std;

View File

@ -15,7 +15,7 @@
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#include <UnitTest++/UnitTest++.h> #include <UnitTest++/UnitTest++.h>
#include <span.h> #include <multi_span.h>
#include <iostream> #include <iostream>
#include <list> #include <list>
@ -37,7 +37,7 @@ struct DerivedClass : BaseClass
}; };
} }
SUITE(span_tests) SUITE(multi_span_tests)
{ {
TEST(default_constructor) TEST(default_constructor)

View File

@ -15,7 +15,7 @@
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#include <UnitTest++/UnitTest++.h> #include <UnitTest++/UnitTest++.h>
#include <span.h> #include <multi_span.h>
#include <string> #include <string>
#include <vector> #include <vector>