|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <string>#include <stdexcept>#include <cstddef>#include <rw_strings.h>#include <rw_alg_test.h>#include <rw_driver.h>#include <rw_allocator.h>#include <rw_char.h>#include <rw_new.h>
Go to the source code of this file.
Data Structures | |
| struct | AppendRange< String, Iterator > |
| struct | AppendRangeOverload< String, Iterator > |
Macros | |
| #define | Append(sig) StringIds::append_ ## sig |
| #define | PushBack(sig) StringIds::push_back_ ## sig |
| #define | TEST(str, arg, res, bthrow) |
| #define | TEST(s, arg, res, bthrow) |
| #define | TEST(str, arg, size, res, bthrow) |
| #define | cstr_size_size_test_cases range_test_cases |
| #define | TEST(str, arg, off, size, res, bthrow) |
| #define | TEST(str, size, val, res, bthrow) |
| #define | TEST(str, val, res, bthrow) |
| #define | TEST(Iterator) |
| #define | TEST(Iterator) |
| #define | TEST(sig) |
Functions | |
| template<class charT , class Traits , class Allocator > | |
| void | test_append (charT *, Traits *, Allocator *, const RangeBase< std::basic_string< charT, Traits, Allocator > > &rng, const StringTestCaseData< charT > &tdata) |
| template<class charT , class Traits , class Allocator > | |
| void | test_append (charT *, Traits *, Allocator *, const StringTestCaseData< charT > &tdata) |
| DEFINE_STRING_TEST_FUNCTIONS (test_append) | |
| int | main (int argc, char **argv) |
| #define Append | ( | sig | ) | StringIds::append_ ## sig |
21.string.append.cpp - string test exercising lib.string.append
$Id$
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition at line 41 of file 21.string.append.cpp.
| #define cstr_size_size_test_cases range_test_cases |
| #define PushBack | ( | sig | ) | StringIds::push_back_ ## sig |
Definition at line 42 of file 21.string.append.cpp.
| #define TEST | ( | Iterator | ) |
| #define TEST | ( | Iterator | ) |
| #define TEST | ( | sig | ) |
| DEFINE_STRING_TEST_FUNCTIONS | ( | test_append | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 892 of file 21.string.append.cpp.
| void test_append | ( | charT * | , |
| Traits * | , | ||
| Allocator * | , | ||
| const RangeBase< std::basic_string< charT, Traits, Allocator > > & | rng, | ||
| const StringTestCaseData< charT > & | tdata | ||
| ) |
Definition at line 567 of file 21.string.append.cpp.
| void test_append | ( | charT * | , |
| Traits * | , | ||
| Allocator * | , | ||
| const StringTestCaseData< charT > & | tdata | ||
| ) |
Definition at line 833 of file 21.string.append.cpp.