svn commit: r794370 - in /lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test: ./ canoo/ canoo/resources/ canoo/resources/relativeLinks.txt canoo/test.xml

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Wed Jul 15 19:11:44 2009
New Revision: 794370

URL: http://svn.apache.org/viewvc?rev=794370&view=rev
Log:
Starting webtest for TinyMCE link rewriting.

Added:
    lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/
    lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/canoo/
    lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/canoo/resources/
    lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/canoo/resources/relativeLinks.txt
    lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/canoo/test.xml

Added: lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/canoo/resources/relativeLinks.txt
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/canoo/resources/relativeLinks.txt?rev=794370&view=auto
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/canoo/resources/relativeLinks.txt (added)
+++ lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/canoo/resources/relativeLinks.txt Wed Jul 15 19:11:44 2009
@@ -0,0 +1,40 @@
+Content-Type: multipart/form-data; boundary=---------------------------609352381936329094915896220
+Content-Length: 1931
+-----------------------------609352381936329094915896220
+Content-Disposition: form-data; name="lenya.continuation"
+3f57218769176c464c2c677e453f536107572f19
+-----------------------------609352381936329094915896220
+Content-Disposition: form-data; name="lenya.usecase"
+tinymce.edit
+-----------------------------609352381936329094915896220
+Content-Disposition: form-data; name="tinymce.namespaces"
+-----------------------------609352381936329094915896220
+Content-Disposition: form-data; name="tinymce.content"
+<h1>Hello and welcome to the Lenya default publication!</h1>
+<p>
+Apache Lenya is a Java Open-Source Content Management System based on open standards such as XML and
+XSLT and the Apache Software Stack, in particular the XML publishing framework Apache Cocoon.
+</p>
+<p>
+For an overview of the concepts and the terminology used in Apache Lenya please see the <a href="concepts.html">Concepts section</a>.
+To see what you can do with Apache Lenya please refer to the <a href="features.html">Features section</a>.
+</p>
+<p>
+If you'd like to get a quick introduction on how to use Apache Lenya CMS please go through the <a href="tutorial.html">tutorial</a>.
+</p>
+<p>
+The purpose of this publication is
+</p>
+<ul>
+	<li>to show beginners the basic functionality of the Apache Lenya CMS,</li>
+	<li>to provide an &quot;out of the box&quot; publication that can be easily adapted and used,</li>
+	<li>and to provide a basis for reference implementations of new concepts and best practices.</li>
+</ul>
+<p>
+This publication does not go to the limit of what's possible with Apache Lenya CMS, there are no fancy
+bells and whistles to confuse you, this publication simply contains everything you need to get started.
+</p>
+-----------------------------609352381936329094915896220
+Content-Disposition: form-data; name="submit"
+Speichern
+-----------------------------609352381936329094915896220--

Added: lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/canoo/test.xml
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/canoo/test.xml?rev=794370&view=auto
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/canoo/test.xml (added)
+++ lenya/branches/BRANCH_2_0_X/src/modules/tinymce/test/canoo/test.xml Wed Jul 15 19:11:44 2009
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!DOCTYPE project SYSTEM "../../../../modules/development/test/canoo/lenya_webtest.dtd">
+
+<project name="TinyMCE test" basedir=".">
+  
+  <import file="../../../../modules/development/test/canoo/macros.xml"/>
+  
+  <target name="wt.testInWork">
+    <webtest name="link-rewriting">
+      &doConfig;
+      <steps>
+        <doLogin username="lenya" password="levi"/>
+        
+        <invoke url="index.html?lenya.usecase=tinymce.edit" method="POST" contentFile="resources/relativeLinks.txt"/>
+        <invoke url="tutorial.html?lenya.usecase=tab.overview"/>
+        <storeRegEx property="uuid" text="[a-z0-9]{8}\-[a-z0-9]{4}\-[a-z0-9]{4}\-[a-z0-9]{4}\-[a-z0-9]{12}"/>
+        <invoke url="index.xml"/>
+        <verifyText text="#{uuid}"/>        
+      </steps>
+    </webtest>
+  </target>
+</project>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.