net.sourceforge.jeuclid.test
Class DOMModelTest

java.lang.Object
  extended by net.sourceforge.jeuclid.test.DOMModelTest

public class DOMModelTest
extends Object

Various tests for the DOM model.

Version:
$Revision: 92b6a7c39d7f $

Constructor Summary
DOMModelTest()
          Default constructor.
 
Method Summary
 void testBadSupSuper()
          Test getSup/getSuper on sub, sup, and subsuper.
 void testEvents()
          Test DOM Events.
 void testFrac()
          Misc tests on Mfrac.
 void testID()
          Tests is the "id" attribute works.
 void testInterfaces()
          Tests of objects created from MathElementFactory implement the proper interfaces from W3C Dom.
 void testMMultiScripts()
          Misc tests on Mmultiscripts.
 void testMMultiScripts2()
          More tests on Mmultiscripts.
 void testMOAttrs()
          Tests is all attributes on mathOperator work.
 void testProperImplementation()
          Test implementation of all presentation elements.
 void testSerialization()
          Tests if serialization works.
 void testSerialization2()
          Tests if serialization with malignmark works.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMModelTest

public DOMModelTest()
Default constructor.

Method Detail

testID

public void testID()
            throws Exception
Tests is the "id" attribute works.

Throws:
Exception - if anything goes wrong.

testSerialization

public void testSerialization()
                       throws Exception
Tests if serialization works.

Throws:
Exception - if anything goes wrong.

testSerialization2

public void testSerialization2()
                        throws Exception
Tests if serialization with malignmark works.

Throws:
Exception - if anything goes wrong.

testMOAttrs

public void testMOAttrs()
                 throws Exception
Tests is all attributes on mathOperator work.

Throws:
Exception - if anything goes wrong.

testInterfaces

public void testInterfaces()
                    throws Exception
Tests of objects created from MathElementFactory implement the proper interfaces from W3C Dom.

Throws:
Exception - if anything goes wrong.

testFrac

public void testFrac()
              throws Exception
Misc tests on Mfrac.

Throws:
Exception - if the test fails.

testMMultiScripts

public void testMMultiScripts()
                       throws Exception
Misc tests on Mmultiscripts.

Throws:
Exception - if the test fails.

testMMultiScripts2

public void testMMultiScripts2()
                        throws Exception
More tests on Mmultiscripts.

Throws:
Exception - if the test fails.

testEvents

public void testEvents()
                throws Exception
Test DOM Events.

Throws:
Exception - if the test fails.

testBadSupSuper

public void testBadSupSuper()
                     throws Exception
Test getSup/getSuper on sub, sup, and subsuper.

Throws:
Exception - if the test fails.

testProperImplementation

public void testProperImplementation()
                              throws Exception
Test implementation of all presentation elements.

Throws:
Exception - if the test fails.


Copyright © 2002-2010 The JEuclid project. All Rights Reserved.