org.silverpeas.attachment.webdav
Class WebdavServiceTest.JcrWebdavServiceTest
java.lang.Object
org.silverpeas.attachment.repository.JcrTest
org.silverpeas.attachment.webdav.WebdavServiceTest.JcrWebdavServiceTest
- Enclosing class:
- WebdavServiceTest
public abstract static class WebdavServiceTest.JcrWebdavServiceTest
- extends JcrTest
| Methods inherited from class org.silverpeas.attachment.repository.JcrTest |
assertContent, assertDocumentDoesNotExist, assertDocumentExists, createAttachmentForTest, defaultDEContent, defaultDocument, defaultDocument, defaultENContent, defaultFRContent, execute, getAppContext, getBinaryContent, getBinaryContentAsString, getDocumentById, getDocumentById, getRelativeNode, getSingleChildNode, getTestStartDate, listPathesFrom, listPathesFrom, randomDate, setAppContext, setBinaryContent, updateAttachmentForTest, updateAttachmentForTest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebdavServiceTest.JcrWebdavServiceTest
public WebdavServiceTest.JcrWebdavServiceTest()
run
public void run()
throws Exception
- Specified by:
run in class JcrTest
- Throws:
Exception
run
public abstract void run(WebdavService webdavService)
throws Exception
- Throws:
Exception
assertWebdavContent
protected void assertWebdavContent(SimpleDocument document,
String documentContent,
String relativeWebdavJcrPath)
throws Exception
- Assertion of a JCR webdav content ...
- Parameters:
document - documentContent - relativeWebdavJcrPath -
- Throws:
Exception
setDocumentIntoWebdav
protected void setDocumentIntoWebdav(SimpleDocument document)
throws Exception
- Creates a document in document repository and in webdav repository.
- Parameters:
document -
- Throws:
Exception
setWebdavBinaryContent
protected void setWebdavBinaryContent(SimpleDocument document,
String content)
throws Exception
- Set a content into webdav.
- Parameters:
document - content -
- Throws:
Exception
Copyright © 2016 Silverpeas. All Rights Reserved.