You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by jm...@apache.org on 2006/08/17 22:56:14 UTC
svn commit: r432424 - in /incubator/xap/trunk/testsrc: ./ xap/mco/
xap/session/ xap/taghandling/ xap/util/ xap/xml/ xap/xmodify/
Author: jmargaris
Date: Thu Aug 17 15:56:13 2006
New Revision: 432424
URL: http://svn.apache.org/viewvc?rev=432424&view=rev
Log:
lots of broken unit tests fixed
Removed:
incubator/xap/trunk/testsrc/xap/taghandling/_TestAbstractTagImpl.html
incubator/xap/trunk/testsrc/xap/taghandling/_TestPluginDocumentHandler.html
Modified:
incubator/xap/trunk/testsrc/XapUnitTestSuite.html
incubator/xap/trunk/testsrc/xap/mco/_TestDeclarativeArgumentParser.js
incubator/xap/trunk/testsrc/xap/session/_TestContainer.js
incubator/xap/trunk/testsrc/xap/taghandling/_TestPluginRegistryImpl.js
incubator/xap/trunk/testsrc/xap/util/_TestHashtable.html
incubator/xap/trunk/testsrc/xap/util/_TestHttpUtils.js
incubator/xap/trunk/testsrc/xap/util/_TestLogFactory.html
incubator/xap/trunk/testsrc/xap/util/_TestXmlUtils.html
incubator/xap/trunk/testsrc/xap/xml/_TestDocument.js
incubator/xap/trunk/testsrc/xap/xml/_TestElement.js
incubator/xap/trunk/testsrc/xap/xml/_TestParser.html
incubator/xap/trunk/testsrc/xap/xmodify/_TestxModify.html
incubator/xap/trunk/testsrc/xap/xmodify/_TestxModifyHTML.html
Modified: incubator/xap/trunk/testsrc/XapUnitTestSuite.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/XapUnitTestSuite.html?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/XapUnitTestSuite.html (original)
+++ incubator/xap/trunk/testsrc/XapUnitTestSuite.html Thu Aug 17 15:56:13 2006
@@ -48,8 +48,6 @@
function taghandlingSuite( webappContext ) {
var result = new top.jsUnitTestSuite();
result.addTestPage( webappContext + "/testsrc/xap/taghandling/_TestPluginRegistryImpl.html" );
- result.addTestPage( webappContext + "/testsrc/xap/taghandling/_TestAbstractTagImpl.html" );
- result.addTestPage( webappContext + "/testsrc/xap/taghandling/_TestPluginDocumentHandler.html" );
// result.addTestPage( webappContext + "/testsrc/xap/taghandling/_TestUiDocumentHandler.html" );
return result;
}
Modified: incubator/xap/trunk/testsrc/xap/mco/_TestDeclarativeArgumentParser.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/mco/_TestDeclarativeArgumentParser.js?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/mco/_TestDeclarativeArgumentParser.js (original)
+++ incubator/xap/trunk/testsrc/xap/mco/_TestDeclarativeArgumentParser.js Thu Aug 17 15:56:13 2006
@@ -16,7 +16,8 @@
*/
-
+Xap.require("xap.session.ClientSession");
+
function SimpleMco() {
}
Modified: incubator/xap/trunk/testsrc/xap/session/_TestContainer.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/session/_TestContainer.js?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/session/_TestContainer.js (original)
+++ incubator/xap/trunk/testsrc/xap/session/_TestContainer.js Thu Aug 17 15:56:13 2006
@@ -14,6 +14,9 @@
* limitations under the License.
*
*/
+
+Xap.require("xap.session.Container");
+
function ContainerListener(){
this._lastListenerMethod = null;
this._lastName = null;
Modified: incubator/xap/trunk/testsrc/xap/taghandling/_TestPluginRegistryImpl.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/taghandling/_TestPluginRegistryImpl.js?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/taghandling/_TestPluginRegistryImpl.js (original)
+++ incubator/xap/trunk/testsrc/xap/taghandling/_TestPluginRegistryImpl.js Thu Aug 17 15:56:13 2006
@@ -14,7 +14,10 @@
* limitations under the License.
*
*/
-
+
+Xap.require("xap.taghandling.PluginRegistryImpl");
+Xap.require("xap.util.HttpUtils");
+
function exposeTestFunctionNames() {
return ["testAddPluginDescription"];
}
Modified: incubator/xap/trunk/testsrc/xap/util/_TestHashtable.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/util/_TestHashtable.html?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/util/_TestHashtable.html (original)
+++ incubator/xap/trunk/testsrc/xap/util/_TestHashtable.html Thu Aug 17 15:56:13 2006
@@ -18,6 +18,7 @@
<body>
<script language="JavaScript" type="text/javascript">
+ Xap.require("xap.util.Hashtable");
function testHashtableMethods() {
var h = new xap.util.Hashtable();
Modified: incubator/xap/trunk/testsrc/xap/util/_TestHttpUtils.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/util/_TestHttpUtils.js?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/util/_TestHttpUtils.js (original)
+++ incubator/xap/trunk/testsrc/xap/util/_TestHttpUtils.js Thu Aug 17 15:56:13 2006
@@ -15,6 +15,9 @@
*
*/
+
+Xap.require("xap.util.HttpUtils");
+
function exposeTestFunctionNames() {
return ['testGetWithoutCallbackIsSynchronous',
'testGetWithCallbackIsAsynchronous',
Modified: incubator/xap/trunk/testsrc/xap/util/_TestLogFactory.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/util/_TestLogFactory.html?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/util/_TestLogFactory.html (original)
+++ incubator/xap/trunk/testsrc/xap/util/_TestLogFactory.html Thu Aug 17 15:56:13 2006
@@ -18,6 +18,7 @@
<body>
<script language="JavaScript" type="text/javascript">
+ Xap.require("xap.util.LogFactory");
function testLogFactoryMethods() {
assertTrue( xap.util.LogFactory.getLog != null );
var log = xap.util.LogFactory.getLog( "foo" );
Modified: incubator/xap/trunk/testsrc/xap/util/_TestXmlUtils.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/util/_TestXmlUtils.html?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/util/_TestXmlUtils.html (original)
+++ incubator/xap/trunk/testsrc/xap/util/_TestXmlUtils.html Thu Aug 17 15:56:13 2006
@@ -18,6 +18,8 @@
<body>
<script language="JavaScript" type="text/javascript">
+ Xap.require("xap.util.XmlUtils");
+
function testXmlUtilsMethods() {
assertTrue( xap.util.XmlUtils.getIndentation != null );
assertTrue( xap.util.XmlUtils.encode != null );
Modified: incubator/xap/trunk/testsrc/xap/xml/_TestDocument.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/xml/_TestDocument.js?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/xml/_TestDocument.js (original)
+++ incubator/xap/trunk/testsrc/xap/xml/_TestDocument.js Thu Aug 17 15:56:13 2006
@@ -15,6 +15,8 @@
*
*/
+Xap.require("xap.xml.dom.Document");
+Xap.require("xap.xml.dom.events.StructureChangeListener");
function exposeTestFunctionNames(){
return ["testDocumentMethods",
Modified: incubator/xap/trunk/testsrc/xap/xml/_TestElement.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/xml/_TestElement.js?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/xml/_TestElement.js (original)
+++ incubator/xap/trunk/testsrc/xap/xml/_TestElement.js Thu Aug 17 15:56:13 2006
@@ -15,6 +15,8 @@
*
*/
+Xap.require("xap.xml.dom.Document");
+
function exposeTestFunctionNames(){
return ["testElementMethods",
"testAppendChild",
Modified: incubator/xap/trunk/testsrc/xap/xml/_TestParser.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/xml/_TestParser.html?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/xml/_TestParser.html (original)
+++ incubator/xap/trunk/testsrc/xap/xml/_TestParser.html Thu Aug 17 15:56:13 2006
@@ -21,6 +21,9 @@
<script language="JavaScript" type="text/javascript" src="parserTestStrings.js"></script>
<script language="JavaScript" type="text/javascript">
+
+ Xap.require("xap.xml.sax.SaxContentHandler");
+ Xap.require("xap.xml.sax.SaxParser");
//-----------------------------------------------------------------------
// Parser-specific Methods.
Modified: incubator/xap/trunk/testsrc/xap/xmodify/_TestxModify.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/xmodify/_TestxModify.html?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/xmodify/_TestxModify.html (original)
+++ incubator/xap/trunk/testsrc/xap/xmodify/_TestxModify.html Thu Aug 17 15:56:13 2006
@@ -24,6 +24,9 @@
<script language="JavaScript" type="text/javascript">
+Xap.require("xap.xml.xmodify.Xmodify");
+Xap.require("xap.session.ClientSession");
+
var uiDoc = null;
function setUp() {
Modified: incubator/xap/trunk/testsrc/xap/xmodify/_TestxModifyHTML.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/xmodify/_TestxModifyHTML.html?rev=432424&r1=432423&r2=432424&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/xmodify/_TestxModifyHTML.html (original)
+++ incubator/xap/trunk/testsrc/xap/xmodify/_TestxModifyHTML.html Thu Aug 17 15:56:13 2006
@@ -24,6 +24,10 @@
<script language="JavaScript" type="text/javascript">
+Xap.require("xap.xml.xmodify.Xmodify");
+Xap.require("xap.xml.sax.SaxParser");
+Xap.require("xap.xml.sax.SaxContentHandler");
+Xap.require("xap.requestservice.RequestService");
var setupOnce = true;
function setUp() {
xap.xml.xmodify.Xmodify.DEBUG=true;