gate.util
Class TestTools

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by gate.util.TestTools
All Implemented Interfaces:
junit.framework.Test

public class TestTools
extends junit.framework.TestCase

Test cases for Tools.getMostSpecificConstructor(java.lang.Class, java.lang.Class).


Nested Class Summary
private static class TestTools.ClassA
           
private static class TestTools.ClassAB
           
private static class TestTools.ClassB
           
private static class TestTools.ClassSubB
           
private static class TestTools.ConstructorTest
           
private static class TestTools.DifferentClassAB
           
private static interface TestTools.InterfaceA
           
private static interface TestTools.InterfaceB
           
private static class TestTools.SubClassOfAB
           
private static interface TestTools.SubInterfaceB
           
 
Constructor Summary
TestTools(String name)
           
 
Method Summary
static void main(String[] argv)
           
static junit.framework.Test suite()
           
 void testGetMostSpecificConstructor1()
           
 void testGetMostSpecificConstructor2()
           
 void testGetMostSpecificConstructor3()
           
 void testGetMostSpecificConstructor4()
           
 
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

TestTools

public TestTools(String name)
Method Detail

testGetMostSpecificConstructor1

public void testGetMostSpecificConstructor1()
                                     throws Exception
Throws:
Exception

testGetMostSpecificConstructor2

public void testGetMostSpecificConstructor2()
                                     throws Exception
Throws:
Exception

testGetMostSpecificConstructor3

public void testGetMostSpecificConstructor3()
                                     throws Exception
Throws:
Exception

testGetMostSpecificConstructor4

public void testGetMostSpecificConstructor4()
                                     throws Exception
Throws:
Exception

suite

public static junit.framework.Test suite()

main

public static void main(String[] argv)
                 throws Exception
Throws:
Exception