Uses Reference if compiler has no port

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@48 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
tslettebo 2002-09-16 01:58:52 +00:00
parent 0b9d261d9b
commit ad7e89ad22
31 changed files with 509 additions and 470 deletions

View file

@ -16,6 +16,7 @@
#define ABSTRACTFACTORYTEST_H
#include <memory>
#include <typeinfo>
#include <loki/AbstractFactory.h>
#include "UnitTest.h"

View file

@ -18,13 +18,13 @@
#include "TypelistTest.h"
#include "TypeManipTest.h"
#include "TypeTraitsTest.h"
#include "SmallObjectTest.h"
#include "SingletonTest.h"
#include "SmartPtrTest.h"
#include "FactoryTest.h"
//#include "SmallObjectTest.h"
//#include "SingletonTest.h"
//#include "SmartPtrTest.h"
//#include "FactoryTest.h"
#include "AbstractFactoryTest.h"
#include "AssocVectorTest.h"
#include "FunctorTest.h"
//#include "AssocVectorTest.h"
//#include "FunctorTest.h"
///////////////////////////////////////////////////////////////////////////////
// LokiTest
@ -49,13 +49,13 @@ private:
tests.add(typelistTest);
tests.add(typeManipTest);
tests.add(typeTraitsTest);
tests.add(smallObjectTest);
tests.add(singletonTest);
tests.add(smartPtrTest);
tests.add(factoryTest);
// tests.add(smallObjectTest);
// tests.add(singletonTest);
// tests.add(smartPtrTest);
// tests.add(factoryTest);
tests.add(abstractFactoryTest);
tests.add(assocVectorTest);
tests.add(functorTest);
// tests.add(assocVectorTest);
// tests.add(functorTest);
}
private:
@ -65,13 +65,13 @@ private:
TypelistTest typelistTest;
TypeManipTest typeManipTest;
TypeTraitsTest typeTraitsTest;
SmallObjectTest smallObjectTest;
SingletonTest singletonTest;
SmartPtrTest smartPtrTest;
FactoryTest factoryTest;
// SmallObjectTest smallObjectTest;
// SingletonTest singletonTest;
// SmartPtrTest smartPtrTest;
// FactoryTest factoryTest;
AbstractFactoryTest abstractFactoryTest;
AssocVectorTest assocVectorTest;
FunctorTest functorTest;
// AssocVectorTest assocVectorTest;
// FunctorTest functorTest;
};
#endif

View file

@ -13,7 +13,7 @@
///////////////////////////////////////////////////////////////////////////////
#ifdef __INTEL_COMPILER
# pragma warning(disable: 111 193 304 383 444 981 1418)
# pragma warning(disable: 111 193 304 383 444 488 981 1418)
#endif
#include "LokiTest.h"