зеркало из https://github.com/mozilla/pjs.git
Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Bv1; r=benjamin
This commit is contained in:
Родитель
b770ded5a7
Коммит
010bc19a3c
|
@ -167,7 +167,7 @@ nsSegmentedBuffer::Empty()
|
|||
mFirstSegmentIndex = mLastSegmentIndex = 0;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#if !defined(MOZ_ENABLE_LIBXUL) && defined(DEBUG)
|
||||
NS_COM void
|
||||
TestSegmentedBuffer()
|
||||
{
|
||||
|
|
|
@ -77,6 +77,7 @@ CPPSRCS = \
|
|||
TestVersionComparator.cpp \
|
||||
TestTextFormatter.cpp \
|
||||
TestPipe.cpp \
|
||||
TestPipes.cpp \
|
||||
TestRacingServiceManager.cpp \
|
||||
TestRegistrationOrder.cpp \
|
||||
TestProxies.cpp \
|
||||
|
@ -94,7 +95,6 @@ CPPSRCS += \
|
|||
TestCRT.cpp \
|
||||
TestEncoding.cpp \
|
||||
TestPermanentAtoms.cpp \
|
||||
TestPipes.cpp \
|
||||
TestThreads.cpp \
|
||||
TestThreadPool.cpp \
|
||||
TestXPIDLString.cpp \
|
||||
|
@ -142,6 +142,7 @@ CPP_UNIT_TESTS = \
|
|||
TestID \
|
||||
TestObserverService \
|
||||
TestPipe \
|
||||
TestPipes \
|
||||
TestRacingServiceManager \
|
||||
TestServMgr \
|
||||
TestTextFormatter \
|
||||
|
@ -156,7 +157,6 @@ CPP_UNIT_TESTS += \
|
|||
TestCRT \
|
||||
TestEncoding \
|
||||
TestExpirationTracker \
|
||||
TestPipes \
|
||||
TestProxies \
|
||||
TestThreads \
|
||||
TestThreadPool \
|
||||
|
|
|
@ -512,7 +512,7 @@ TestSearch(const char* delim, PRUint32 segSize)
|
|||
#endif
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef DEBUG
|
||||
#if !defined(MOZ_ENABLE_LIBXUL) && defined(DEBUG)
|
||||
extern NS_COM void
|
||||
TestSegmentedBuffer();
|
||||
#endif
|
||||
|
@ -529,7 +529,7 @@ main(int argc, char* argv[])
|
|||
if (argc > 1 && nsCRT::strcmp(argv[1], "-trace") == 0)
|
||||
gTrace = PR_TRUE;
|
||||
|
||||
#ifdef DEBUG
|
||||
#if !defined(MOZ_ENABLE_LIBXUL) && defined(DEBUG)
|
||||
printf("Testing segmented buffer...\n");
|
||||
TestSegmentedBuffer();
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче