You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2011/03/23 12:32:37 UTC
svn commit: r1084543 - in /ofbiz/trunk/framework: documents/UnitTest.xml
testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml
Author: jleroux
Date: Wed Mar 23 11:32:37 2011
New Revision: 1084543
URL: http://svn.apache.org/viewvc?rev=1084543&view=rev
Log:
Adds 2 convenient anchors (seleniumXml and Junit)
Modified:
ofbiz/trunk/framework/documents/UnitTest.xml
ofbiz/trunk/framework/testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml
Modified: ofbiz/trunk/framework/documents/UnitTest.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/documents/UnitTest.xml?rev=1084543&r1=1084542&r2=1084543&view=diff
==============================================================================
--- ofbiz/trunk/framework/documents/UnitTest.xml (original)
+++ ofbiz/trunk/framework/documents/UnitTest.xml Wed Mar 23 11:32:37 2011
@@ -7,9 +7,9 @@
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
@@ -21,7 +21,7 @@
version="5.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://docbook.org/ns/docbook ../../applications/content/dtd/docbook.xsd"
xmlns="http://docbook.org/ns/docbook">
- <title>The OFBiz Unit Test (Using JUnit)</title>
+ <title><anchor xml:id="TheOFBizUnitTest"/>The OFBiz Unit Test (Using JUnit)</title>
<section>
<title>How to define a unit test?</title>
<orderedlist>
@@ -87,7 +87,7 @@
</para>
</section>
<section>
- <title>3. Jython</title>
+ <title>3. Jython</title>
<para>
Specific jython script's location which will be tested in a script-location attribute like this:
<programlisting>
@@ -185,7 +185,7 @@
Roll back error message occured when transaction roll back data. This error message will be in between starting and finished test cass line like this:
<programlisting>
[java] 2009-12-22 16:05:28,349 (main) [ TestRunContainer.java:238:INFO ] [JUNIT] : [test case's name] starting...
- [java] 2009-12-22 16:05:28,355 (main) [ TransactionUtil.java:336:ERROR]
+ [java] 2009-12-22 16:05:28,355 (main) [ TransactionUtil.java:336:ERROR]
....
....
....
@@ -278,4 +278,4 @@
and see JUnit Test Result files for each test suite in runtime/logs/test-results directory. If you use other target you only see JUnit Test Result file in runtime/logs/test-results.
</para>
</section>
-</chapter>
\ No newline at end of file
+</chapter>
Modified: ofbiz/trunk/framework/testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml?rev=1084543&r1=1084542&r2=1084543&view=diff
==============================================================================
--- ofbiz/trunk/framework/testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml (original)
+++ ofbiz/trunk/framework/testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml Wed Mar 23 11:32:37 2011
@@ -7,9 +7,9 @@
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
@@ -19,7 +19,7 @@
-->
<section xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://docbook.org/ns/docbook ../../../../applications/content/dtd/docbook.xsd">
- <title>OFBiz SeleniumXml</title>
+ <title><anchor xml:id="OFBizSeleniumXml"/>OFBiz SeleniumXml</title>
<para> This is a short document to help you get started using SeleniumXml to test your OFBiz application. Here is a <link
xl:href="http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf">copy of the presentation</link> that was given
at the ApacheCon2008 OFBiz Conference that describes more about the project. </para>