logo       

svn commit: r443376 - /lenya/trunk/src/modules-core/sitemanagement/java/tes: msg#00071

Subject: svn commit: r443376 - /lenya/trunk/src/modules-core/sitemanagement/java/test/org/apache/lenya/cms/site/usecases/MoveSubsiteTest.java
Author: andreas
Date: Thu Sep 14 08:02:24 2006
New Revision: 443376

URL: http://svn.apache.org/viewvc?view=rev&rev=443376
Log:
Fixed MoveSubsite test case - create parent node before copying document (still 
fails)

Modified:
    
lenya/trunk/src/modules-core/sitemanagement/java/test/org/apache/lenya/cms/site/usecases/MoveSubsiteTest.java

Modified: 
lenya/trunk/src/modules-core/sitemanagement/java/test/org/apache/lenya/cms/site/usecases/MoveSubsiteTest.java
URL: 
http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/sitemanagement/java/test/org/apache/lenya/cms/site/usecases/MoveSubsiteTest.java?view=diff&rev=443376&r1=443375&r2=443376
==============================================================================
--- 
lenya/trunk/src/modules-core/sitemanagement/java/test/org/apache/lenya/cms/site/usecases/MoveSubsiteTest.java
 (original)
+++ 
lenya/trunk/src/modules-core/sitemanagement/java/test/org/apache/lenya/cms/site/usecases/MoveSubsiteTest.java
 Thu Sep 14 08:02:24 2006
@@ -32,8 +32,8 @@
  */
 public class MoveSubsiteTest extends AbstractUsecaseTest {
 
-    protected static final String DELETE_URL = 
"/test/authoring/doctypes/xhtml-document.html";
     protected static final String PATH = "/foo/bar/baz";
+    protected static final String DELETE_URL = "/test/authoring" + PATH + 
".html";
     protected static final String SOURCE_PATH = "/tutorial";
 
     protected String getUsecaseName() {
@@ -78,6 +78,10 @@
 
             DocumentLocator loc = 
DocumentLocator.getLocator(doc.getPublication().getId(), doc
                     .getArea(), PATH, doc.getLanguage());
+            
+            authoringSite.add("/foo");
+            authoringSite.add("/foo/bar");
+            
             docMgr.copy(doc, loc);
             SiteNode childNode = authoringSite.getNode(PATH);
             this.uuid = childNode.getUuid();


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe