Sha256: 0f811926b87c91fb6d6ac3787b359f23ed88aab2f4c623cc38942d17e7f96608
Contents?: true
Size: 854 Bytes
Versions: 27
Compression:
Stored size: 854 Bytes
Contents
#include "TestSupport.h" #include "ApplicationPool/Pool.h" #include "Utils.h" using namespace Passenger; namespace tut { struct ApplicationPool_PoolTest { ServerInstanceDirPtr serverInstanceDir; ServerInstanceDir::GenerationPtr generation; ApplicationPool::Ptr pool, pool2; ApplicationPool_PoolTest() { createServerInstanceDirAndGeneration(serverInstanceDir, generation); pool = ptr(new ApplicationPool::Pool("../helper-scripts/passenger-spawn-server", generation)); pool2 = pool; } ApplicationPool::Ptr newPoolConnection() { return pool; } void reinitializeWithSpawnManager(AbstractSpawnManagerPtr spawnManager) { pool = ptr(new ApplicationPool::Pool(spawnManager)); pool2 = pool; } }; DEFINE_TEST_GROUP(ApplicationPool_PoolTest); #define USE_TEMPLATE #include "ApplicationPool_PoolTestCases.cpp" }
Version data entries
27 entries across 27 versions & 4 rubygems