GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
passenger / test / ApplicationPoolServer_ApplicationPoolTest.cpp
100644 24 lines (17 sloc) 0.547 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "tut.h"
#include "ApplicationPoolClientServer.h"
 
using namespace Passenger;
 
namespace tut {
  struct ApplicationPoolServer_ApplicationPoolTest {
    ApplicationPoolServerPtr server;
    ApplicationPoolPtr pool, pool2;
    
    ApplicationPoolServer_ApplicationPoolTest() {
      server = ptr(new ApplicationPoolServer("../bin/passenger-spawn-server"));
      pool = server->connect();
      pool2 = server->connect();
    }
  };
  
  DEFINE_TEST_GROUP(ApplicationPoolServer_ApplicationPoolTest);
  
  #define USE_TEMPLATE
  #include "ApplicationPoolTest.cpp"
}