java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.cactus.internal.AbstractCactusTestCase
org.apache.cactus.ServletTestCase
com.xpn.xwiki.test.ServletTest
com.xpn.xwiki.test.ViewEditTest
- All Implemented Interfaces:
- org.apache.cactus.internal.CactusTestCase, junit.framework.Test
- public class ViewEditTest
- extends ServletTest
===================================================================
Copyright (c) 2003 Ludovic Dubost, All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details, published at
http://www.gnu.org/copyleft/gpl.html or in gpl.txt in the
root folder of this distribution.
Created by
User: Ludovic Dubost
Date: 11 janv. 2004
Time: 12:08:01
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class com.xpn.xwiki.test.ServletTest |
cleanSession, cleanUp, clientSetUp, clientTearDown, flushCache, getHibpath, getHibStore, launchTest, launchTest, setUp, setUrl, setUrl, setUrl, setVirtualUrl |
| 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 |
ViewEditTest
public ViewEditTest()
beginViewNotOk
public void beginViewNotOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endViewNotOk
public void endViewNotOk(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException
testViewNotOk
public void testViewNotOk()
throws java.lang.Throwable
beginViewOk
public void beginViewOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endViewOk
public void endViewOk(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException
testViewOk
public void testViewOk()
throws java.io.IOException,
java.lang.Throwable
beginViewRawOk
public void beginViewRawOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endViewRawOk
public void endViewRawOk(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException
testViewRawOk
public void testViewRawOk()
throws java.io.IOException,
java.lang.Throwable
beginViewCodeOk
public void beginViewCodeOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endViewCodeOk
public void endViewCodeOk(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException
testViewCodeOk
public void testViewCodeOk()
throws java.io.IOException,
java.lang.Throwable
beginViewXMLOk
public void beginViewXMLOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endViewXMLOk
public void endViewXMLOk(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException,
java.lang.IllegalAccessException,
org.dom4j.DocumentException,
java.text.ParseException,
java.lang.ClassNotFoundException,
java.lang.InstantiationException,
com.xpn.xwiki.XWikiException
testViewXMLOk
public void testViewXMLOk()
throws java.io.IOException,
java.lang.Throwable
beginViewGetDocument
public void beginViewGetDocument(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endViewGetDocument
public void endViewGetDocument(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException
testViewGetDocument
public void testViewGetDocument()
throws java.lang.Throwable
beginViewDocumentLink
public void beginViewDocumentLink(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endViewDocumentLink
public void endViewDocumentLink(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException
testViewDocumentLink
public void testViewDocumentLink()
throws java.lang.Throwable
beginPreviewOk
public void beginPreviewOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endPreviewOk
public void endPreviewOk(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException
testPreviewOk
public void testPreviewOk()
throws java.lang.Throwable
beginEditOk
public void beginEditOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endEditOk
public void endEditOk(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException
testEditOk
public void testEditOk()
throws java.lang.Throwable
beginEditObjectOk
public void beginEditObjectOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endEditObjectOk
public void endEditObjectOk(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException
testEditObjectOk
public void testEditObjectOk()
throws java.lang.Throwable
beginEditClassOk
public void beginEditClassOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endEditClassOk
public void endEditClassOk(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException
testEditClassOk
public void testEditClassOk()
throws java.lang.Throwable
beginEditWithTemplateOk
public void beginEditWithTemplateOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endEditWithTemplateOk
public void endEditWithTemplateOk(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException
testEditWithTemplateOk
public void testEditWithTemplateOk()
throws java.lang.Throwable
testEditWithTemplateNotOk
public void testEditWithTemplateNotOk()
throws java.lang.Throwable
beginEditWithTemplateNotOk
public void beginEditWithTemplateNotOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endEditWithTemplateNotOk
public void endEditWithTemplateNotOk(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException
testSaveWithTemplateOk
public void testSaveWithTemplateOk()
throws java.lang.Throwable
beginSaveWithTemplateOk
public void beginSaveWithTemplateOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endSaveWithTemplateOk
public void endSaveWithTemplateOk(org.apache.cactus.WebResponse webResponse)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
beginViewLatestRevOk
public void beginViewLatestRevOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endViewLatestRevOk
public void endViewLatestRevOk(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testViewLatestRevOk
public void testViewLatestRevOk()
throws java.lang.Throwable
beginViewRevOk
public void beginViewRevOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endViewRevOk
public void endViewRevOk(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testViewRevOk
public void testViewRevOk()
throws java.lang.Throwable
beginViewRevWithObjOk
public void beginViewRevWithObjOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endViewRevWithObjOk
public void endViewRevWithObjOk(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testRollbackRevWithObjOk
public void testRollbackRevWithObjOk()
throws java.lang.Throwable
beginRollbackRevWithObjOk
public void beginRollbackRevWithObjOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endRollbackRevWithObjOk
public void endRollbackRevWithObjOk(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testViewRevWithObjOk
public void testViewRevWithObjOk()
throws java.lang.Throwable
beginViewRawRevOk
public void beginViewRawRevOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endViewRawRevOk
public void endViewRawRevOk(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testViewRawRevOk
public void testViewRawRevOk()
throws java.lang.Throwable
beginViewCodeRevOk
public void beginViewCodeRevOk(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endViewCodeRevOk
public void endViewCodeRevOk(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testViewCodeRevOk
public void testViewCodeRevOk()
throws java.lang.Throwable
testSave
public void testSave()
throws java.io.IOException,
java.lang.Throwable
beginSave
public void beginSave(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endSave
public void endSave(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testDelete
public void testDelete()
throws java.lang.Throwable
beginDelete
public void beginDelete(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endDelete
public void endDelete(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testDeleteWithoutConfirm
public void testDeleteWithoutConfirm()
throws java.lang.Throwable
beginDeleteWithoutConfirm
public void beginDeleteWithoutConfirm(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endDeleteWithoutConfirm
public void endDeleteWithoutConfirm(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testAddProp
public void testAddProp(java.lang.Class cclass)
throws java.lang.Throwable
beginAddProp
public void beginAddProp(org.apache.cactus.WebRequest webRequest,
java.lang.String name,
java.lang.Class cclass)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endAddProp
public void endAddProp(org.apache.cactus.WebResponse webResponse,
java.lang.String name,
java.lang.Class cclass)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testAddNumberProp
public void testAddNumberProp()
throws java.io.IOException,
java.lang.Throwable
beginAddNumberProp
public void beginAddNumberProp(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endAddNumberProp
public void endAddNumberProp(org.apache.cactus.WebResponse response)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testAddDateProp
public void testAddDateProp()
throws java.io.IOException,
java.lang.Throwable
beginAddDateProp
public void beginAddDateProp(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endAddDateProp
public void endAddDateProp(org.apache.cactus.WebResponse response)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testAddStringProp
public void testAddStringProp()
throws java.io.IOException,
java.lang.Throwable
beginAddStringProp
public void beginAddStringProp(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endAddStringProp
public void endAddStringProp(org.apache.cactus.WebResponse response)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testAddObject
public void testAddObject()
throws java.lang.Throwable
beginAddObject
public void beginAddObject(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endAddObject
public void endAddObject(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testAddSecondObject
public void testAddSecondObject()
throws java.lang.Throwable
beginAddSecondObject
public void beginAddSecondObject(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endAddSecondObject
public void endAddSecondObject(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testRemoveObject
public void testRemoveObject()
throws java.lang.Throwable
beginRemoveObject
public void beginRemoveObject(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endRemoveObject
public void endRemoveObject(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testUpdateObjectProp
public void testUpdateObjectProp()
throws java.lang.Throwable
beginUpdateObjectProp
public void beginUpdateObjectProp(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endUpdateObjectProp
public void endUpdateObjectProp(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testUpdateClassProp
public void testUpdateClassProp()
throws java.lang.Throwable
beginUpdateClassProp
public void beginUpdateClassProp(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endUpdateClassProp
public void endUpdateClassProp(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testRenameClassProp
public void testRenameClassProp()
throws java.lang.Throwable
beginRenameClassProp
public void beginRenameClassProp(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endRenameClassProp
public void endRenameClassProp(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
testUpdateAdvancedObjectProp
public void testUpdateAdvancedObjectProp()
throws java.lang.Throwable
beginUpdateAdvancedObjectProp
public void beginUpdateAdvancedObjectProp(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException
endUpdateAdvancedObjectProp
public void endUpdateAdvancedObjectProp(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException
sendMultipart
public void sendMultipart(org.apache.cactus.WebRequest webRequest,
java.io.File file)
throws java.io.IOException
testAttach
public void testAttach()
throws java.lang.Throwable
beginAttach
public void beginAttach(org.apache.cactus.WebRequest webRequest)
throws org.hibernate.HibernateException,
com.xpn.xwiki.XWikiException,
java.io.IOException
endAttach
public void endAttach(org.apache.cactus.WebResponse webResponse)
throws com.xpn.xwiki.XWikiException,
org.hibernate.HibernateException