stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r647832 - /stdcxx/trunk/tests/strings/21.string.cons.cpp
Date Mon, 14 Apr 2008 15:07:47 GMT
Author: faridz
Date: Mon Apr 14 08:07:39 2008
New Revision: 647832

URL: http://svn.apache.org/viewvc?rev=647832&view=rev
Log:
2008-04-14 Farid Zaripov <farid_zaripov@epam.com>

	* tests/strings/21.string.cons.cpp: Exercise the string
	ctors overloads with allocator parameter.

Modified:
    stdcxx/trunk/tests/strings/21.string.cons.cpp

Modified: stdcxx/trunk/tests/strings/21.string.cons.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/tests/strings/21.string.cons.cpp?rev=647832&r1=647831&r2=647832&view=diff
==============================================================================
--- stdcxx/trunk/tests/strings/21.string.cons.cpp (original)
+++ stdcxx/trunk/tests/strings/21.string.cons.cpp Mon Apr 14 08:07:39 2008
@@ -53,6 +53,8 @@
 static const StringTestCase
 void_test_cases [] = { 
 
+#define alloc_test_cases    void_test_cases
+
 #undef TEST
 #define TEST(dummy) {                            \
         __LINE__, -1, -1, -1, -1, -1,            \
@@ -75,6 +77,8 @@
 static const StringTestCase
 cptr_test_cases [] = {
 
+#define cptr_alloc_test_cases    cptr_test_cases
+
 #undef TEST
 #define TEST(arg, res) {                            \
         __LINE__, -1, -1, -1, -1, -1,               \
@@ -166,6 +170,8 @@
 static const StringTestCase
 cptr_size_test_cases [] = {
 
+#define cptr_size_alloc_test_cases    cptr_size_test_cases
+
 #undef TEST
 #define TEST(arg, size, res) {                      \
         __LINE__, -1, size, -1, -1, -1,             \
@@ -278,7 +284,9 @@
 static const StringTestCase
 cstr_size_size_test_cases [] = {
 
-#define range_test_cases    cstr_size_size_test_cases
+#define range_test_cases                    cstr_size_size_test_cases
+#define cstr_size_size_alloc_test_cases     cstr_size_size_test_cases
+#define range_alloc_test_cases              cstr_size_size_test_cases
 
 #undef TEST
 #define TEST(arg, off, size, res, bthrow) {         \
@@ -335,6 +343,8 @@
 static const StringTestCase
 size_val_test_cases [] = {
 
+#define size_val_alloc_test_cases             size_val_test_cases
+
 #undef TEST
 #define TEST(size, val, res) {                      \
         __LINE__, -1, size, -1, -1, val,            \
@@ -1112,13 +1122,19 @@
     }
 
         TEST (void),
+        TEST (alloc),
         TEST (cptr),
+        TEST (cptr_alloc),
         TEST (cstr),
         TEST (cptr_size),
+        TEST (cptr_size_alloc),
         TEST (cstr_size),
         TEST (cstr_size_size),
+        TEST (cstr_size_size_alloc),
         TEST (size_val),
+        TEST (size_val_alloc),
         TEST (range),
+        TEST (range_alloc),
 
 #undef TEST
 #define TEST(sig) {                             \



Mime
View raw message