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

Quick Search    Search Deep

org.joda.time.tz
Class TestCompiler  view TestCompiler download TestCompiler.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.joda.time.tz.TestCompiler
All Implemented Interfaces:
junit.framework.Test

public class TestCompiler
extends junit.framework.TestCase

Test cases for ZoneInfoCompiler.


Field Summary
(package private) static java.lang.String AMERICA_LOS_ANGELES_FILE
           
private  org.joda.time.DateTimeZone originalDateTimeZone
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestCompiler(java.lang.String name)
           
 
Method Summary
private  Provider compileAndLoad(java.lang.String data)
           
private  java.io.File createDataFile(java.lang.String data)
           
private  void deleteOnExit(java.io.File tempFile)
           
static void main(java.lang.String[] args)
           
private  java.io.File makeTempDir()
           
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 testCompile()
           
 
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

AMERICA_LOS_ANGELES_FILE

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

originalDateTimeZone

private org.joda.time.DateTimeZone originalDateTimeZone
Constructor Detail

TestCompiler

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

main

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

suite

public static junit.framework.TestSuite suite()

setUp

protected 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

protected void tearDown()
                 throws java.lang.Exception
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.


testCompile

public void testCompile()
                 throws java.lang.Exception

compileAndLoad

private Provider compileAndLoad(java.lang.String data)
                         throws java.lang.Exception

createDataFile

private java.io.File createDataFile(java.lang.String data)
                             throws java.io.IOException

makeTempDir

private java.io.File makeTempDir()

deleteOnExit

private void deleteOnExit(java.io.File tempFile)