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

Quick Search    Search Deep

net.jxta.ext.config
Class BootstrapTest  view BootstrapTest download BootstrapTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bynet.jxta.ext.config.TestBase
              extended bynet.jxta.ext.config.BootstrapTest
All Implemented Interfaces:
junit.framework.Test

public class BootstrapTest
extends TestBase

Version:
$Id: BootstrapTest.java,v 1.3 2004/02/12 03:11:37 gonzo Exp $

Field Summary
protected static java.lang.String DESCRIPTION
           
protected static java.lang.String MULTICAST_ADDRESS
           
protected static int MULTICAST_PORT
           
protected static int MULTICAST_SIZE
           
protected static java.lang.String NAME
           
protected static java.lang.String PASSWORD
           
protected  net.jxta.impl.protocol.PlatformConfig pc
           
protected static java.io.File PC
           
protected static java.io.File PC_TEST
           
protected static java.lang.String PRINCIPAL
           
protected static java.lang.String TCP_ADDRESS
           
protected static int TCP_PORT
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
BootstrapTest()
           
BootstrapTest(java.lang.String name)
           
 
Method Summary
protected  void clean()
           
protected  void delete(java.io.File f)
           
protected  boolean exists(java.io.File f)
           
protected  net.jxta.impl.protocol.PlatformConfig getPlatformConfig()
           
static void main(java.lang.String[] argv)
           
protected  void setPlatformConfig(net.jxta.impl.protocol.PlatformConfig pc)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.TestSuite suite()
           
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testRelays()
           
 void testRendezVous()
           
 
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

PRINCIPAL

protected static final java.lang.String PRINCIPAL
See Also:
Constant Field Values

PASSWORD

protected static final java.lang.String PASSWORD
See Also:
Constant Field Values

NAME

protected static final java.lang.String NAME
See Also:
Constant Field Values

DESCRIPTION

protected static final java.lang.String DESCRIPTION
See Also:
Constant Field Values

TCP_ADDRESS

protected static final java.lang.String TCP_ADDRESS
See Also:
Constant Field Values

TCP_PORT

protected static final int TCP_PORT
See Also:
Constant Field Values

MULTICAST_ADDRESS

protected static final java.lang.String MULTICAST_ADDRESS
See Also:
Constant Field Values

MULTICAST_PORT

protected static final int MULTICAST_PORT
See Also:
Constant Field Values

MULTICAST_SIZE

protected static final int MULTICAST_SIZE
See Also:
Constant Field Values

PC

protected static final java.io.File PC

PC_TEST

protected static final java.io.File PC_TEST

pc

protected net.jxta.impl.protocol.PlatformConfig pc
Constructor Detail

BootstrapTest

public BootstrapTest()

BootstrapTest

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

main

public static void main(java.lang.String[] argv)

suite

public static junit.framework.TestSuite suite()

testRendezVous

public void testRendezVous()

testRelays

public void testRelays()

setUp

protected void setUp()
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

protected 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.


exists

protected boolean exists(java.io.File f)

delete

protected void delete(java.io.File f)

getPlatformConfig

protected net.jxta.impl.protocol.PlatformConfig getPlatformConfig()

setPlatformConfig

protected void setPlatformConfig(net.jxta.impl.protocol.PlatformConfig pc)

clean

protected void clean()