~ubuntu-branches/ubuntu/raring/libjboss-remoting-java/raring

« back to all changes in this revision

Viewing changes to tests/org/jboss/test/remoting/versioning/transport/http/VersionHTTPInvokerTestCase.java

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-09 14:01:03 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: package-import@ubuntu.com-20110909140103-hqokx61534tas9rg
Tags: 2.5.3.SP1-1
* Newer but not newest upstream release. Do not build samples.
* Change debian/watch to upstream's svn repo.
* Add patch to fix compile error caused by tomcat update.
  (Closes: #628303)
* Switch to source format 3.0.
* Switch to debhelper level 7.
* Remove useless Depends.
* Update Standards-Version: 3.9.2.
* Update README.source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package org.jboss.test.remoting.versioning.transport.http;
2
 
 
3
 
import org.jboss.test.remoting.versioning.transport.VersionInvokerTestCaseBase;
4
 
 
5
 
/**
6
 
 * @author <a href="mailto:tom.elrod@jboss.com">Tom Elrod</a>
7
 
 */
8
 
public class VersionHTTPInvokerTestCase extends VersionInvokerTestCaseBase
9
 
{
10
 
   public void declareTestClasses()
11
 
   {
12
 
      addTestClasses("org.jboss.test.remoting.versioning.transport.http.VersionHTTPInvokerTestClient",
13
 
                     1,
14
 
                     "org.jboss.test.remoting.transport.http.HTTPInvokerTestServer");
15
 
   }
16
 
   
17
 
   protected String getClientJVMArguments()
18
 
   {
19
 
      String args = super.getClientJVMArguments();
20
 
      String prop = System.getProperty("check_content_type");
21
 
      if (prop != null && !"".equals(prop))
22
 
      {
23
 
         args += " -Dcheck_content_type=" + prop;
24
 
      }
25
 
 
26
 
      System.out.println("client arg: " + args);
27
 
      return args;
28
 
   }
29
 
 
30
 
}