You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by mr...@apache.org on 2006/08/02 15:22:59 UTC
svn commit: r427974 -
/jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/DocumentViewImportTest.java
Author: mreutegg
Date: Wed Aug 2 06:22:59 2006
New Revision: 427974
URL: http://svn.apache.org/viewvc?rev=427974&view=rev
Log:
JCR-504: TCK: DocumentViewImportTest does not call refresh after direct-to-workspace import
Modified:
jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/DocumentViewImportTest.java
Modified: jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/DocumentViewImportTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/DocumentViewImportTest.java?rev=427974&r1=427973&r2=427974&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/DocumentViewImportTest.java (original)
+++ jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/DocumentViewImportTest.java Wed Aug 2 06:22:59 2006
@@ -106,6 +106,13 @@
SAXException, NotExecutableException {
importXML(target, createSimpleDocument(), uuidBehaviour, withWorkspace);
+
+ // some implementations may require a refresh to get content
+ // added diretly to the workspace
+ if (withWorkspace) {
+ session.refresh(false);
+ }
+
performTests();
}
@@ -127,6 +134,13 @@
SAXException, IOException, NotExecutableException {
importWithHandler(target, createSimpleDocument(), uuidBehaviour, withWorkspace);
+
+ // some implementations may require a refresh to get content
+ // added diretly to the workspace
+ if (withWorkspace) {
+ session.refresh(false);
+ }
+
performTests();
}