Sha256: c9670d142c447ff4e81dc00587126597452f367ecbb1caf01ce671985f7de181

Contents?: true

Size: 717 Bytes

Versions: 2

Compression:

Stored size: 717 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(
				"./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

2 entries across 2 versions & 1 rubygems

Version Path
passenger-2.2.0 test/ApplicationPoolServer_ApplicationPoolTest.cpp
passenger-2.2.1 test/ApplicationPoolServer_ApplicationPoolTest.cpp