net.sourceforge.jeuclid.test
Class MathBaseTest

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

public class MathBaseTest
extends Object

A JUnit Test case for MathBase.

Version:
$Revision: 92b6a7c39d7f $

Constructor Summary
MathBaseTest()
           
 
Method Summary
static Document loadDocument(String name)
          Helper class to load included examples.
 void testEmbeddedExamples()
          Tests the examples at resources/test/exampleX.mml.
 void testNewParser()
          Tests the new Parser API.
 void testOdf()
          Tests ODF Reader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathBaseTest

public MathBaseTest()
Method Detail

loadDocument

public static Document loadDocument(String name)
                             throws ParserConfigurationException,
                                    SAXException,
                                    IOException
Helper class to load included examples.

Parameters:
name - Name of the example
Returns:
the loaded Document
Throws:
ParserConfigurationException - if anything goes wrong.
SAXException - if anything goes wrong.
IOException - if anything goes wrong.

testEmbeddedExamples

public void testEmbeddedExamples()
                          throws Exception
Tests the examples at resources/test/exampleX.mml.

Throws:
Exception - if an error occurs.

testOdf

public void testOdf()
             throws Exception
Tests ODF Reader.

Throws:
Exception - if an error occurs.

testNewParser

public void testNewParser()
                   throws Exception
Tests the new Parser API.

Throws:
Exception - if an error occurs.


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