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

Quick Search    Search Deep

org.jxbeans.input.tests
Class XMLParserTestCase  view XMLParserTestCase download XMLParserTestCase.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jxbeans.input.tests.XMLParserTestCase
All Implemented Interfaces:
junit.framework.Test

public class XMLParserTestCase
extends junit.framework.TestCase


Field Summary
private  org.jxbeans.output.SimpleDocumentListener listener
           
private  org.jxbeans.input.XMLParser parser
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
XMLParserTestCase(java.lang.String name)
           
 
Method Summary
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
           
 void testInvalid_File()
           
 void testInvalid_FileName()
           
 void testInvalid_Reader()
           
 void testInvalid_URL()
           
 void testNoSource()
           
 void testValid_File()
           
 void testValid_FileName()
           
 void testValid_Reader()
           
 void testValid_URL()
           
 
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

parser

private org.jxbeans.input.XMLParser parser

listener

private org.jxbeans.output.SimpleDocumentListener listener
Constructor Detail

XMLParserTestCase

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

suite

public static junit.framework.Test 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.


testInvalid_Reader

public void testInvalid_Reader()

testInvalid_URL

public void testInvalid_URL()

testInvalid_File

public void testInvalid_File()

testInvalid_FileName

public void testInvalid_FileName()

testNoSource

public void testNoSource()

testValid_Reader

public void testValid_Reader()

testValid_URL

public void testValid_URL()

testValid_File

public void testValid_File()

testValid_FileName

public void testValid_FileName()