1 // Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
7 #include <util/memory_segment.h>
8 
9 namespace isc {
10 namespace util {
11 namespace test {
12 
13 /// \brief Implementation dependent checks on memory segment named addresses.
14 ///
15 /// This function contains a set of test cases for given memory segment
16 /// regarding "named address" methods.  The test cases basically only depend
17 /// on the base class interfaces, but if the underlying implementation does
18 /// not check if the given address to setNamedAddress() belongs to the segment,
19 /// out_of_segment_ok should be set to true.
20 void checkSegmentNamedAddress(MemorySegment& segment, bool out_of_segment_ok);
21 
22 }
23 }
24 }
25 
26 // Local Variables:
27 // mode: c++
28 // End:
29