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

Quick Search    Search Deep

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

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

public class PlatformConfigTest
extends TestBase

Version:
$Id: PlatformConfigTest.java,v 1.3 2004/03/22 20:20:36 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
           
private  net.jxta.impl.protocol.PlatformConfig pc
           
protected static java.io.File PC
           
protected static java.io.File PC_TEST
           
private static java.lang.String PLATFORM_CONFIG_CLASSIC
           
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
PlatformConfigTest()
           
PlatformConfigTest(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 testClassic()
           
 void testName()
           
 
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

pc

private net.jxta.impl.protocol.PlatformConfig pc

PLATFORM_CONFIG_CLASSIC

private static final java.lang.String PLATFORM_CONFIG_CLASSIC
See Also:
Constant Field Values

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
Constructor Detail

PlatformConfigTest

public PlatformConfigTest()

PlatformConfigTest

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

main

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

suite

public static junit.framework.TestSuite suite()

testName

public void testName()

testClassic

public void testClassic()

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()