X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FIteratorTraits.test.cc;h=50ce1d83823072e45c80027299080e5d419df8e2;hb=b89e3166f7680755683dccee5e48cb3a820185c0;hp=6687d8e69a2b4998ef9633d3fe39819668dcd3be;hpb=766dfa49e68e67e71c12c1a5a89d51be39fda9b8;p=senf.git diff --git a/Utils/IteratorTraits.test.cc b/Utils/IteratorTraits.test.cc index 6687d8e..50ce1d8 100644 --- a/Utils/IteratorTraits.test.cc +++ b/Utils/IteratorTraits.test.cc @@ -1,6 +1,8 @@ -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// $Id$ +// +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -19,7 +21,7 @@ // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. /** \file - \brief IteratorTraits.test unit tests */ + \brief IteratorTraits unit tests */ //#include "IteratorTraits.test.hh" //#include "IteratorTraits.test.ih" @@ -29,7 +31,7 @@ #include #include -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ @@ -38,7 +40,8 @@ BOOST_AUTO_UNIT_TEST(iteratorTraits) { BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator::value, true ); -#ifdef __GNUG__ + BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator::value, false ); +#if defined(__GNUG__) && ! defined(_GLIBCXX_DEBUG) BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator::iterator>::value, true); BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator::value, true); #endif @@ -54,4 +57,6 @@ BOOST_AUTO_UNIT_TEST(iteratorTraits) // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: