diff --git a/tests/lib/customsharedptrtest.cpp b/tests/lib/customsharedptrtest.cpp index 15ceb26e4..1c15f25e5 100644 --- a/tests/lib/customsharedptrtest.cpp +++ b/tests/lib/customsharedptrtest.cpp @@ -31,10 +31,9 @@ using std::string; -namespace asset - { - namespace test - { +namespace asset { + namespace test{ + using lumiera::P; using std::tr1::shared_ptr; using std::tr1::weak_ptr; @@ -71,7 +70,7 @@ namespace asset class CustomSharedPtr_test : public Test { virtual void - run (Arg arg) + run (Arg) { check_refcounting (); check_shared_ownership (); diff --git a/tests/lib/lifecycletest.cpp b/tests/lib/lifecycletest.cpp index 3749b25f8..e93d5e7d7 100644 --- a/tests/lib/lifecycletest.cpp +++ b/tests/lib/lifecycletest.cpp @@ -58,7 +58,7 @@ namespace lumiera class LifeCycle_test : public Test { virtual void - run (Arg arg) + run (Arg) { ASSERT (basicInit, "the basic-init callback hasn't been invoked automatically"); ASSERT (1 == basicInit, "the basic-init callback has been invoked more than once"); diff --git a/tests/lib/meta/typelisttest.cpp b/tests/lib/meta/typelisttest.cpp index b070feaa1..20a70cbfb 100644 --- a/tests/lib/meta/typelisttest.cpp +++ b/tests/lib/meta/typelisttest.cpp @@ -78,7 +78,8 @@ namespace lumiera */ class TypeList_test : public Test { - virtual void run(Arg arg) + void + run (Arg) { AssembledClass wow_me_has_numbers; diff --git a/tests/lib/removefromsettest.cpp b/tests/lib/removefromsettest.cpp index b86fc2389..dd512782f 100644 --- a/tests/lib/removefromsettest.cpp +++ b/tests/lib/removefromsettest.cpp @@ -67,7 +67,7 @@ namespace util class RemoveFromSet_test : public Test { virtual void - run (Arg arg) + run (Arg) { test_remove (" nothing "); test_remove ("0"); diff --git a/tests/lib/scopedholdertest.cpp b/tests/lib/scopedholdertest.cpp index 42ed7de7e..778cc2e4f 100644 --- a/tests/lib/scopedholdertest.cpp +++ b/tests/lib/scopedholdertest.cpp @@ -58,7 +58,7 @@ namespace lib { { virtual void - run (Arg arg) + run (Arg) { cout << "checking ScopedHolder...\n"; diff --git a/tests/lib/scopedholdertransfertest.cpp b/tests/lib/scopedholdertransfertest.cpp index 92be1118d..abbd3a959 100644 --- a/tests/lib/scopedholdertransfertest.cpp +++ b/tests/lib/scopedholdertransfertest.cpp @@ -101,7 +101,7 @@ namespace lib { { virtual void - run (Arg arg) + run (Arg) { cout << "checking ScopedHolder...\n"; diff --git a/tests/lib/test/cmdlinewrappertest.cpp b/tests/lib/test/cmdlinewrappertest.cpp index a5add31e2..7ef194c1d 100644 --- a/tests/lib/test/cmdlinewrappertest.cpp +++ b/tests/lib/test/cmdlinewrappertest.cpp @@ -46,7 +46,8 @@ namespace util /** @test for util::Cmdline, wrapping various example cmdlines */ class CmdlineWrapper_test : public Test { - virtual void run (Arg arg) + void + run (Arg) { testLine(""); testLine("\n\t "); diff --git a/tests/lib/test/testoptiontest.cpp b/tests/lib/test/testoptiontest.cpp index 52ed20038..31dde772d 100644 --- a/tests/lib/test/testoptiontest.cpp +++ b/tests/lib/test/testoptiontest.cpp @@ -41,7 +41,8 @@ namespace test */ class TestOption_test : public Test { - virtual void run(Arg arg) + void + run (Arg) { noOptions(); help(); @@ -53,6 +54,7 @@ namespace test additionalCmd2(); } + /** @test performs the actual test for the option parser test::TestOption */ void doIt (const string cmdline) { diff --git a/tests/lib/vectortransfertest.cpp b/tests/lib/vectortransfertest.cpp index ce82e6669..6254db7aa 100644 --- a/tests/lib/vectortransfertest.cpp +++ b/tests/lib/vectortransfertest.cpp @@ -62,6 +62,7 @@ namespace lib { */ TransDummy (const TransDummy& o) + : Dummy() { TRACE (test, "COPY-ctor TransDummy( ref=%x ) --> this=%x", &o,this); ASSERT (!o, "protocol violation: real copy operations inhibited"); @@ -113,18 +114,17 @@ namespace lib { /********************************************************************************** - * @test ScopedHolder and ScopedPtrHolder are initially empty and copyable. - * After taking ownership, they prohibit copy operations, manage the - * lifecycle of the contained object and provide smart-ptr like access. - * A series of identical tests is conducted both with the ScopedPtrHolder - * (the contained objects are heap allocated but managed by the holder) - * and with the ScopedHolder (objects placed inline) + * @test growing (re-allocating) a vector with noncopyable objects, with the + * help of a special Allocator and a custom \c transfer_control operation + * provided by the contained objects. The idea is to allow some special + * copy-operations for the purpose of re-allocations within the vector, + * without requiring the object to be really copyable. */ class VectorTransfer_test : public Test { virtual void - run (Arg arg) + run (Arg) { cout << "\n..setup table space for 2 elements\n"; TransDummyVector table; diff --git a/tests/lib/visitingtoolconcept.cpp b/tests/lib/visitingtoolconcept.cpp index 3d625c1c5..8508cdb0d 100644 --- a/tests/lib/visitingtoolconcept.cpp +++ b/tests/lib/visitingtoolconcept.cpp @@ -97,7 +97,7 @@ namespace lumiera template static Tag& - get (TOOLImpl* const concreteTool=0) + get (TOOLImpl* const =0) // param used to pass type info { // we have a race condition here... Tag& t = TagTypeRegistry::tag;