|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <string>#include <cstddef>#include <stdexcept>#include <rw_strings.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.
Macros | |
| #define | Erase(sig) StringIds::erase_ ## sig |
| #define | TEST(str, res) |
| #define | TEST(str, off, res, bthrow) |
| #define | iter_iter_test_cases size_size_test_cases |
| #define | TEST(str, off, size, res, bthrow) |
| #define | TEST(str, off, res) |
| #define | TEST(sig) |
Functions | |
| template<class charT , class Traits , class Allocator > | |
| void | test_erase (charT, Traits *, Allocator *, const StringFunc &func, const StringTestCase &tcase) |
| DEFINE_STRING_TEST_DISPATCH (test_erase) | |
| int | main (int argc, char **argv) |
| #define Erase | ( | sig | ) | StringIds::erase_ ## sig |
21.string.erase.cpp - string test exercising [lib.string::erase]
$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.
Copyright 2006 Rogue Wave Software.
Definition at line 42 of file 21.string.erase.cpp.
| #define iter_iter_test_cases size_size_test_cases |
| #define TEST | ( | sig | ) |
| DEFINE_STRING_TEST_DISPATCH | ( | test_erase | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 501 of file 21.string.erase.cpp.
| void test_erase | ( | charT | , |
| Traits * | , | ||
| Allocator * | , | ||
| const StringFunc & | func, | ||
| const StringTestCase & | tcase | ||
| ) |
Definition at line 283 of file 21.string.erase.cpp.