From 7b04d84ba59920021ca1eb8fb1acb09afff1a139 Mon Sep 17 00:00:00 2001 From: mat007 Date: Sat, 16 Jun 2012 20:45:39 +0000 Subject: [PATCH] Changed file headers to simplify Boost.Mock generation git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@467 860be788-9bd5-4423-9f1e-828f051e677b --- build/jam/Jamfile.jam | 2 +- build/jam/Jamroot.jam | 2 +- test/fail_ambiguous_mock_method.cpp | 3 +-- test/fail_constraint_functor_not_compatible.cpp | 3 +-- test/fail_constraint_value_not_comparable.cpp | 3 +-- ...il_constraint_value_of_wrong_type_in_builtin_constraint.cpp | 3 +-- test/fail_mismatch_type_in_returns_int_action.cpp | 3 +-- test/fail_mismatch_type_in_returns_string_action.cpp | 3 +-- test/fail_mismatch_type_in_returns_void_action.cpp | 3 +-- test/fail_non_existing_base_class_method_in_mock_method.cpp | 3 +-- test/fail_number_of_arguments_greater_than_max_constant.cpp | 3 +-- test/fail_template_argument_without_tpl_macro.cpp | 3 +-- test/fail_too_many_arguments_in_mock_method.cpp | 3 +-- test/fail_wrong_number_of_arguments_in_with.cpp | 3 +-- 14 files changed, 14 insertions(+), 26 deletions(-) diff --git a/build/jam/Jamfile.jam b/build/jam/Jamfile.jam index f43f8c4..4b64855 100644 --- a/build/jam/Jamfile.jam +++ b/build/jam/Jamfile.jam @@ -1,4 +1,4 @@ -# Turtle mock library +# Boost.Mock # # Copyright Mathieu Champlon 2012 # diff --git a/build/jam/Jamroot.jam b/build/jam/Jamroot.jam index 00a9dd1..869d2c8 100644 --- a/build/jam/Jamroot.jam +++ b/build/jam/Jamroot.jam @@ -3,7 +3,7 @@ import modules ; local boost = [ modules.peek : BOOST ] ; -project turtle : requirements $(boost) . ; +project mock : requirements $(boost) . ; # This seems to prevent some Boost.Build errors that otherwise occur :-( use-project /boost : $(boost) ; diff --git a/test/fail_ambiguous_mock_method.cpp b/test/fail_ambiguous_mock_method.cpp index a1d81ec..8d1e0c8 100644 --- a/test/fail_ambiguous_mock_method.cpp +++ b/test/fail_ambiguous_mock_method.cpp @@ -1,11 +1,10 @@ +// http://turtle.sourceforge.net // // Copyright Mathieu Champlon 2011 // // 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) -// -// See http://turtle.sf.net for documentation. #include diff --git a/test/fail_constraint_functor_not_compatible.cpp b/test/fail_constraint_functor_not_compatible.cpp index d7728ab..7659017 100644 --- a/test/fail_constraint_functor_not_compatible.cpp +++ b/test/fail_constraint_functor_not_compatible.cpp @@ -1,11 +1,10 @@ +// http://turtle.sourceforge.net // // Copyright Mathieu Champlon 2011 // // 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) -// -// See http://turtle.sf.net for documentation. #include diff --git a/test/fail_constraint_value_not_comparable.cpp b/test/fail_constraint_value_not_comparable.cpp index 6b70db1..a2bc612 100644 --- a/test/fail_constraint_value_not_comparable.cpp +++ b/test/fail_constraint_value_not_comparable.cpp @@ -1,11 +1,10 @@ +// http://turtle.sourceforge.net // // Copyright Mathieu Champlon 2011 // // 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) -// -// See http://turtle.sf.net for documentation. #include diff --git a/test/fail_constraint_value_of_wrong_type_in_builtin_constraint.cpp b/test/fail_constraint_value_of_wrong_type_in_builtin_constraint.cpp index acf3cb6..ee47647 100644 --- a/test/fail_constraint_value_of_wrong_type_in_builtin_constraint.cpp +++ b/test/fail_constraint_value_of_wrong_type_in_builtin_constraint.cpp @@ -1,11 +1,10 @@ +// http://turtle.sourceforge.net // // Copyright Mathieu Champlon 2011 // // 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) -// -// See http://turtle.sf.net for documentation. #include diff --git a/test/fail_mismatch_type_in_returns_int_action.cpp b/test/fail_mismatch_type_in_returns_int_action.cpp index f9cf894..03f952d 100644 --- a/test/fail_mismatch_type_in_returns_int_action.cpp +++ b/test/fail_mismatch_type_in_returns_int_action.cpp @@ -1,11 +1,10 @@ +// http://turtle.sourceforge.net // // Copyright Mathieu Champlon 2011 // // 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) -// -// See http://turtle.sf.net for documentation. #include diff --git a/test/fail_mismatch_type_in_returns_string_action.cpp b/test/fail_mismatch_type_in_returns_string_action.cpp index 126c3ac..38c675f 100644 --- a/test/fail_mismatch_type_in_returns_string_action.cpp +++ b/test/fail_mismatch_type_in_returns_string_action.cpp @@ -1,11 +1,10 @@ +// http://turtle.sourceforge.net // // Copyright Mathieu Champlon 2011 // // 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) -// -// See http://turtle.sf.net for documentation. #include diff --git a/test/fail_mismatch_type_in_returns_void_action.cpp b/test/fail_mismatch_type_in_returns_void_action.cpp index ac203ca..fd518ad 100644 --- a/test/fail_mismatch_type_in_returns_void_action.cpp +++ b/test/fail_mismatch_type_in_returns_void_action.cpp @@ -1,11 +1,10 @@ +// http://turtle.sourceforge.net // // Copyright Mathieu Champlon 2011 // // 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) -// -// See http://turtle.sf.net for documentation. #include diff --git a/test/fail_non_existing_base_class_method_in_mock_method.cpp b/test/fail_non_existing_base_class_method_in_mock_method.cpp index 6766d4c..484bad1 100644 --- a/test/fail_non_existing_base_class_method_in_mock_method.cpp +++ b/test/fail_non_existing_base_class_method_in_mock_method.cpp @@ -1,11 +1,10 @@ +// http://turtle.sourceforge.net // // Copyright Mathieu Champlon 2011 // // 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) -// -// See http://turtle.sf.net for documentation. #include diff --git a/test/fail_number_of_arguments_greater_than_max_constant.cpp b/test/fail_number_of_arguments_greater_than_max_constant.cpp index c326c20..5b7b45b 100644 --- a/test/fail_number_of_arguments_greater_than_max_constant.cpp +++ b/test/fail_number_of_arguments_greater_than_max_constant.cpp @@ -1,11 +1,10 @@ +// http://turtle.sourceforge.net // // Copyright Mathieu Champlon 2011 // // 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) -// -// See http://turtle.sf.net for documentation. #include diff --git a/test/fail_template_argument_without_tpl_macro.cpp b/test/fail_template_argument_without_tpl_macro.cpp index 5774423..fd1c4b7 100644 --- a/test/fail_template_argument_without_tpl_macro.cpp +++ b/test/fail_template_argument_without_tpl_macro.cpp @@ -1,11 +1,10 @@ +// http://turtle.sourceforge.net // // Copyright Mathieu Champlon 2011 // // 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) -// -// See http://turtle.sf.net for documentation. #include diff --git a/test/fail_too_many_arguments_in_mock_method.cpp b/test/fail_too_many_arguments_in_mock_method.cpp index 3e202cb..9456f45 100644 --- a/test/fail_too_many_arguments_in_mock_method.cpp +++ b/test/fail_too_many_arguments_in_mock_method.cpp @@ -1,11 +1,10 @@ +// http://turtle.sourceforge.net // // Copyright Mathieu Champlon 2011 // // 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) -// -// See http://turtle.sf.net for documentation. #include diff --git a/test/fail_wrong_number_of_arguments_in_with.cpp b/test/fail_wrong_number_of_arguments_in_with.cpp index dee3883..8d9b12f 100644 --- a/test/fail_wrong_number_of_arguments_in_with.cpp +++ b/test/fail_wrong_number_of_arguments_in_with.cpp @@ -1,11 +1,10 @@ +// http://turtle.sourceforge.net // // Copyright Mathieu Champlon 2011 // // 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) -// -// See http://turtle.sf.net for documentation. #include