javax.microedition.io
Class BaseGCFTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by javax.microedition.io.BaseGCFTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
BaseTestHttpConnection, SocketConnectionTest, SSLConnectionTest

public class BaseGCFTestCase
extends junit.framework.TestCase

Author:
vlads

Field Summary
static java.lang.String TEST_HOST
          This is the server where I keep HTTPS and Socket test response server.
 
Constructor Summary
BaseGCFTestCase()
           
 
Method Summary
protected  void setUp()
          TODO Support proxy configuration.
protected  void setupSSLContext()
          Trust our self-signed test-servers
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

TEST_HOST

public static final java.lang.String TEST_HOST
This is the server where I keep HTTPS and Socket test response server. If change add server to test-servers.keystore if it self-signed certificate. War sources here https://pyx4j.com/svn/pyx4me/pyx4me-host/pyx4me-test-server

Constructor Detail

BaseGCFTestCase

public BaseGCFTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
TODO Support proxy configuration.

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

setupSSLContext

protected void setupSSLContext()
Trust our self-signed test-servers



Copyright © 2001-2008 MicroEmulator Team. All Rights Reserved.