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

Quick Search    Search Deep

com.xpn.xwiki.test
Class PackageTest  view PackageTest download PackageTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.xpn.xwiki.test.HibernateTestCase
              extended bycom.xpn.xwiki.test.PackageTest
All Implemented Interfaces:
junit.framework.Test

public class PackageTest
extends HibernateTestCase


Field Summary
 
Fields inherited from class com.xpn.xwiki.test.HibernateTestCase
HIB_LOCATION
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
PackageTest()
           
 
Method Summary
 void prepareData()
           
 void setUp()
          Sets up the fixture, for example, open a network connection.
 void testDocName(java.lang.String fileName, java.util.List files)
           
 void testExportWiki()
           
 void testImportPackage(com.xpn.xwiki.plugin.packaging.Package pack)
           
 void testOverwrite(com.xpn.xwiki.plugin.packaging.Package pack)
           
 void testPackageAPI()
           
 void testPackageConfig()
           
 
Methods inherited from class com.xpn.xwiki.test.HibernateTestCase
cleanUp, cleanUp, getXWiki, getXWikiConfig, getXWikiContext, runSQL, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

PackageTest

public PackageTest()
Method Detail

setUp

public 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.

Overrides:
setUp in class HibernateTestCase

prepareData

public void prepareData()
                 throws com.xpn.xwiki.XWikiException

testExportWiki

public void testExportWiki()
                    throws java.io.IOException,
                           com.xpn.xwiki.XWikiException

testPackageConfig

public void testPackageConfig()
                       throws com.xpn.xwiki.XWikiException,
                              java.io.IOException

testImportPackage

public void testImportPackage(com.xpn.xwiki.plugin.packaging.Package pack)
                       throws com.xpn.xwiki.XWikiException

testOverwrite

public void testOverwrite(com.xpn.xwiki.plugin.packaging.Package pack)
                   throws com.xpn.xwiki.XWikiException

testDocName

public void testDocName(java.lang.String fileName,
                        java.util.List files)

testPackageAPI

public void testPackageAPI()