lexx.test
Class Simulator

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

public class Simulator
extends junit.framework.TestCase

Performs Incregration and System Testing

Copyright (c) 2002-2003

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

Constructor Summary
Simulator()
           
 
Method Summary
static boolean doesContain(int pos, java.lang.String insertedText, EditorPanel p, java.lang.String method_field)
          This tells you if a method/field was present in the JavaPopup
static java.util.List insertText(int pos, java.lang.String text, EditorPanel p)
          This inserts text character by chacter in an editorpanel, and once finished returns the list that is displayed by the JavaPopup
static void main(java.lang.String[] args)
           
static void testInhertiance1()
           
static void testInhertiance10()
           
static void testInhertiance11()
           
static void testInhertiance12()
           
static void testInhertiance13()
           
static void testInhertiance14()
           
static void testInhertiance16()
           
static void testInhertiance18()
           
static void testInhertiance19()
           
static void testInhertiance2()
           
static void testInhertiance20()
           
static void testInhertiance21()
           
static void testInhertiance22()
           
static void testInhertiance23()
           
static void testInhertiance24()
           
static void testInhertiance25()
           
static void testInhertiance26()
           
static void testInhertiance27()
           
static void testInhertiance28()
           
static void testInhertiance29()
           
static void testInhertiance3()
           
static void testInhertiance30()
           
static void testInhertiance31()
           
static void testInhertiance32()
           
static void testInhertiance4()
           
static void testInhertiance5()
           
static void testInhertiance6()
           
static void testInhertiance7()
           
static void testInhertiance8()
           
static void testInhertiance9()
           
 
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

Simulator

public Simulator()
Method Detail

testInhertiance1

public static void testInhertiance1()

testInhertiance2

public static void testInhertiance2()

testInhertiance3

public static void testInhertiance3()

testInhertiance4

public static void testInhertiance4()

testInhertiance5

public static void testInhertiance5()

testInhertiance6

public static void testInhertiance6()

testInhertiance7

public static void testInhertiance7()

testInhertiance8

public static void testInhertiance8()

testInhertiance9

public static void testInhertiance9()

testInhertiance10

public static void testInhertiance10()

testInhertiance11

public static void testInhertiance11()

testInhertiance12

public static void testInhertiance12()

testInhertiance13

public static void testInhertiance13()

testInhertiance14

public static void testInhertiance14()

testInhertiance16

public static void testInhertiance16()

testInhertiance18

public static void testInhertiance18()

testInhertiance19

public static void testInhertiance19()

testInhertiance20

public static void testInhertiance20()

testInhertiance21

public static void testInhertiance21()

testInhertiance22

public static void testInhertiance22()

testInhertiance23

public static void testInhertiance23()

testInhertiance24

public static void testInhertiance24()

testInhertiance25

public static void testInhertiance25()

testInhertiance26

public static void testInhertiance26()

testInhertiance27

public static void testInhertiance27()

testInhertiance28

public static void testInhertiance28()

testInhertiance29

public static void testInhertiance29()

testInhertiance30

public static void testInhertiance30()

testInhertiance31

public static void testInhertiance31()

testInhertiance32

public static void testInhertiance32()

main

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

insertText

public static java.util.List insertText(int pos,
                                        java.lang.String text,
                                        EditorPanel p)
This inserts text character by chacter in an editorpanel, and once finished returns the list that is displayed by the JavaPopup

Parameters:
pos - the position where you would like to insert the text
text - the text you wish to insert
p - the editorpanel
Returns:
list that is being displayed if autcompletion occured

doesContain

public static boolean doesContain(int pos,
                                  java.lang.String insertedText,
                                  EditorPanel p,
                                  java.lang.String method_field)
This tells you if a method/field was present in the JavaPopup

Parameters:
pos - the position where you would like to insert the text
p - the editorpanel
method_field -
Returns:
This tells you if a method/field was present in the JavaPopup