Пример #1
0
  @Override
  protected void tearDown() throws Exception {
    server.stopServer();
    server = null;

    super.tearDown();
  }
Пример #2
0
  protected void setUp() throws Exception {
    server = new TestServer();
    if (!server.startServer("classpath:/WEB-INF/flex/services-config.xml")) {
      Assert.fail("Couldn't start server process");
    }

    AMFConnection.registerAlias(
        "remoting.amfclient.ServerCustomType" /* server type */,
        "amfclient.ClientCustomType" /* client type */);
    super.setUp();
  }