Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mjh.switchrmi.script
Class JUnitJavascriptOverHttp  view JUnitJavascriptOverHttp download JUnitJavascriptOverHttp.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.mjh.switchrmi.script.JUnitJavascriptOverHttp
All Implemented Interfaces:
junit.framework.Test

public class JUnitJavascriptOverHttp
extends junit.framework.TestCase


Field Summary
private static javax.naming.Context jndiCtx
           
private  JSEcho jsEcho
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JUnitJavascriptOverHttp(java.lang.String name)
           
 
Method Summary
 void setUp()
          Sets up the fixture, for example, open a network connection.
 void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testEchoString()
           
 void testRemoteEchoString()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

jndiCtx

private static javax.naming.Context jndiCtx

jsEcho

private JSEcho jsEcho
Constructor Detail

JUnitJavascriptOverHttp

public JUnitJavascriptOverHttp(java.lang.String name)
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


tearDown

public void tearDown()
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


testEchoString

public void testEchoString()
                    throws java.lang.Exception

testRemoteEchoString

public void testRemoteEchoString()
                          throws java.lang.Exception