From 4da42db22e36e236a28512ca50ab8bf2a96e76bf Mon Sep 17 00:00:00 2001 From: Leif Middelschulte Date: Thu, 16 Aug 2012 12:52:29 +0000 Subject: [PATCH] Remove the std_vector test I've added while trying for testing purposes git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13627 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/c/Makefile.in | 1 - .../c/cpp_basic_std_vector_built_in_runme.c | 19 ------------------- .../cpp_basic_std_vector_built_in.i | 5 ----- 3 files changed, 25 deletions(-) delete mode 100644 Examples/test-suite/c/cpp_basic_std_vector_built_in_runme.c delete mode 100644 Examples/test-suite/cpp_basic_std_vector_built_in.i diff --git a/Examples/test-suite/c/Makefile.in b/Examples/test-suite/c/Makefile.in index 316658adb..0c24247a9 100644 --- a/Examples/test-suite/c/Makefile.in +++ b/Examples/test-suite/c/Makefile.in @@ -25,7 +25,6 @@ CPP_TEST_CASES += \ cpp_basic_namespaced_class \ cpp_basic_template_function \ cpp_basic_template_class \ - cpp_basic_std_vector_built_in \ c_backend_cpp_natural_std_string \ c_backend_cpp_exception diff --git a/Examples/test-suite/c/cpp_basic_std_vector_built_in_runme.c b/Examples/test-suite/c/cpp_basic_std_vector_built_in_runme.c deleted file mode 100644 index 08835bfd0..000000000 --- a/Examples/test-suite/c/cpp_basic_std_vector_built_in_runme.c +++ /dev/null @@ -1,19 +0,0 @@ -#include -#include "cpp_basic_std_vector_built_in/cpp_basic_std_vector_built_in_proxy.h" -#include - -int main() { - Int_Vector *myIntVector = new_Int_Vector_size_t(42); - - assert(Int_Vector_capacity(myIntVector) == 42); - Int_Vector_push_back(myIntVector, 4711); - assert(Int_Vector_size(myIntVector) == 43); - assert(Int_Vector_at(myIntVector, 42) == 4711); - Int_Vector_clear(myIntVector); - assert(Int_Vector_empty(myIntVector)); - assert(Int_Vector_size(myIntVector) == 0); - Int_Vector_push_back(myIntVector, 23); - assert(Int_Vector_size(myIntVector) == 1); - - delete_Int_Vector(myIntVector); -} \ No newline at end of file diff --git a/Examples/test-suite/cpp_basic_std_vector_built_in.i b/Examples/test-suite/cpp_basic_std_vector_built_in.i deleted file mode 100644 index ae42e792c..000000000 --- a/Examples/test-suite/cpp_basic_std_vector_built_in.i +++ /dev/null @@ -1,5 +0,0 @@ -%module cpp_basic_std_vector_built_in - -%include - -%template(Int_Vector) std::vector; \ No newline at end of file