|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <list>#include <cstddef>#include <rw_lists.h>#include <rw_alg_test.h>#include <rw_driver.h>#include <rw_allocator.h>#include <rw_new.h>
Go to the source code of this file.
Data Structures | |
| struct | ConsRange< List, Iterator > |
| struct | ConsRangePtrOverload< List, Iterator > |
| struct | ConsRangeOverload< List, Iterator > |
Macros | |
| #define | Cons(sig) ListIds::ctor_ ## sig |
| #define | OpSet(sig) ListIds::op_set_ ## sig |
| #define | alloc_test_cases void_test_cases |
| #define | TEST(dummy) |
| #define | TEST(arg, res) |
| #define | range_alloc_test_cases range_test_cases |
| #define | TEST(arg, off, size, res, bthrow) |
| #define | TEST(size, res) |
| #define | size_cref_alloc_test_cases size_cref_test_cases |
| #define | TEST(size, val, res) |
| #define | TEST(str, arg, res, bthrow) |
| #define | TEST(Iterator) |
| #define | TEST(Iterator) |
| #define | TEST(Iterator) |
| #define | TEST(sig) |
| #define | TEST(sig) |
Functions | |
| template<class InputIterator , class Distance > | |
| void | _rw_advance (InputIterator &it, Distance dist) |
| template<class T , class Allocator > | |
| void | test_cons (T *, Allocator *, const ContRangeBase< std::list< T, Allocator > > &rng, const ContainerTestCaseData< T > &tdata) |
| template<class T , class Allocator > | |
| void | test_op_set (T *, Allocator *, const ContainerTestCaseData< T > &tdata) |
| template<class T , class Allocator > | |
| void | test_cons (T *, Allocator *, const ContainerTestCaseData< T > &tdata) |
| DEFINE_CONTAINER_TEST_FUNCTIONS (test_cons) | |
| int | main (int argc, char **argv) |
| #define alloc_test_cases void_test_cases |
Definition at line 51 of file 23.list.cons.cpp.
| #define Cons | ( | sig | ) | ListIds::ctor_ ## sig |
23.list.cons.cpp - test exercising list constructors [lib.list.cons]
$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 39 of file 23.list.cons.cpp.
| #define OpSet | ( | sig | ) | ListIds::op_set_ ## sig |
Definition at line 40 of file 23.list.cons.cpp.
| #define range_alloc_test_cases range_test_cases |
Definition at line 121 of file 23.list.cons.cpp.
| #define size_cref_alloc_test_cases size_cref_test_cases |
Definition at line 207 of file 23.list.cons.cpp.
| #define TEST | ( | dummy | ) |
| #define TEST | ( | Iterator | ) |
| #define TEST | ( | Iterator | ) |
| #define TEST | ( | Iterator | ) |
| #define TEST | ( | sig | ) |
| #define TEST | ( | sig | ) |
|
inline |
Definition at line 376 of file 23.list.cons.cpp.
| DEFINE_CONTAINER_TEST_FUNCTIONS | ( | test_cons | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 960 of file 23.list.cons.cpp.
| void test_cons | ( | T * | , |
| Allocator * | , | ||
| const ContainerTestCaseData< T > & | tdata | ||
| ) |
Definition at line 880 of file 23.list.cons.cpp.
| void test_cons | ( | T * | , |
| Allocator * | , | ||
| const ContRangeBase< std::list< T, Allocator > > & | rng, | ||
| const ContainerTestCaseData< T > & | tdata | ||
| ) |
Definition at line 427 of file 23.list.cons.cpp.
| void test_op_set | ( | T * | , |
| Allocator * | , | ||
| const ContainerTestCaseData< T > & | tdata | ||
| ) |
Definition at line 686 of file 23.list.cons.cpp.