Sha256: 6d4b57dda5a0e21f04e99973d6c6fb6ae6a538ad270c35e51f52c2b01918ef65

Contents?: true

Size: 730 Bytes

Versions: 3

Compression:

Stored size: 730 Bytes

Contents

#include "tut.h"
#include <boost/thread.hpp>
#include "ApplicationPoolServer.h"

using namespace Passenger;
using namespace boost;

namespace tut {
	struct ApplicationPoolServer_ApplicationPoolTest {
		ApplicationPoolServerPtr server;
		ApplicationPoolPtr pool, pool2;
		
		ApplicationPoolServer_ApplicationPoolTest() {
			server = ptr(new ApplicationPoolServer(
				"../ext/apache2/ApplicationPoolServerExecutable",
				"../bin/passenger-spawn-server"));
			pool = server->connect();
			pool2 = server->connect();
		}
		
		ApplicationPoolPtr newPoolConnection() {
			return server->connect();
		}
	};
	
	DEFINE_TEST_GROUP(ApplicationPoolServer_ApplicationPoolTest);
	
	#define USE_TEMPLATE
	#include "ApplicationPoolTest.cpp"
}

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
rockdog-passenger-0.0.1 test/ApplicationPoolServer_ApplicationPoolTest.cpp
passenger-2.1.2 test/ApplicationPoolServer_ApplicationPoolTest.cpp
passenger-2.1.3 test/ApplicationPoolServer_ApplicationPoolTest.cpp