lexx.test
Class AllTests

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--lexx.test.AllTests
All Implemented Interfaces:
junit.framework.Test

public class AllTests
extends junit.framework.TestCase

Runs All Tests

This class runs all tests in the Lexx IDE

Copyright (c) 2002-2003

Since:
20/03/2003
Version:
1.0
Author:
Mohammed Imran

Constructor Summary
AllTests(java.lang.String s)
           
 
Method Summary
static java.io.File createAndSetupTestFile(java.lang.String fileName)
          This extracts a zip file which contains a project and performs all the required settings inorder for you to run other modules.
static void finalize(java.io.File path, EditorPanel p)
          This removes the temporarily create project file and turns off all modules to conserve memory
static EditorPanel getEditorPanel(java.io.File javaFile)
           
(package private) static JavaPackages getPackages()
           
static java.io.File getTestFile(java.lang.String fileName)
          This unzips a file found in the package lexx.test
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 

Constructor Detail

AllTests

public AllTests(java.lang.String s)
Method Detail

suite

public static junit.framework.Test suite()

main

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

createAndSetupTestFile

public static java.io.File createAndSetupTestFile(java.lang.String fileName)
This extracts a zip file which contains a project and performs all the required settings inorder for you to run other modules.

Parameters:
fileName - the name of the zip file found in the package lexx.test
Returns:
the directory which contains the project data

finalize

public static void finalize(java.io.File path,
                            EditorPanel p)
This removes the temporarily create project file and turns off all modules to conserve memory

Parameters:
path - the directory where the project is stored
p - the editorpanel which has loaded up the file. (You can just type null if you don't have an editorpanel)

getPackages

static JavaPackages getPackages()

getEditorPanel

public static EditorPanel getEditorPanel(java.io.File javaFile)

getTestFile

public static java.io.File getTestFile(java.lang.String fileName)
This unzips a file found in the package lexx.test

Parameters:
fileName - name of the zip file
Returns:
the directory where the file has been extracted to