00001
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef MOCKPP_PTI_H
00031 #define MOCKPP_PTI_H
00032
00033 #ifdef MOCKPP_PTI_WEAKNESS // Partial Template Instantiation Weakness
00034
00035 #include <mockpp/mockpp.h>
00036
00037 #include <mockpp/chaining/LIFOInvocationDispatcher.h>
00038 #include <mockpp/chaining/FIFOInvocationDispatcher.h>
00039 #include <mockpp/chaining/CoreMock.h>
00040 #include <mockpp/chaining/InvocationMocker.h>
00041 #include <mockpp/chaining/AbstractDynamicChainingMock.h>
00042
00044
00045 #define MOCKPP_PTI_IMPLEMENT(I) \
00046 MOCKPP_TYPELESSSTUBADAPTER_PTI_IMPL(I) \
00047 MOCKPP_FIFOINVOCATIONDISPATCHER_PTI_IMPL(I) \
00048 MOCKPP_LIFOINVOCATIONDISPATCHER_PTI_IMPL(I) \
00049 MOCKPP_INVOCATIONMOCKER_PTI_IMPL(I) \
00050 MOCKPP_ABSTRACTDYNAMICCHAININGMOCK_PTI_IMPL(I) \
00051 MOCKPP_COREMOCK_PTI_IMPL(I)
00052
00054
00055 #define MOCKPP_PTI_DECLARE(I) \
00056 MOCKPP_TYPELESSSTUBADAPTER_PTI_DECL(I) \
00057 MOCKPP_FIFOINVOCATIONDISPATCHER_PTI_DECL(I) \
00058 MOCKPP_LIFOINVOCATIONDISPATCHER_PTI_DECL(I) \
00059 MOCKPP_INVOCATIONMOCKER_PTI_DECL(I) \
00060 MOCKPP_ABSTRACTDYNAMICCHAININGMOCK_PTI_DECL(I) \
00061 MOCKPP_COREMOCK_PTI_DECL(I)
00062
00063 #else
00064
00065 #define MOCKPP_PTI_IMPLEMENT(I)
00066 #define MOCKPP_PTI_DECLARE(I)
00067
00068 #endif
00069
00080 #endif // MOCKPP_PTI_H