incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r423477 - /incubator/xap/trunk/testsrc/xap/session/_TestContainer.js
Date Wed, 19 Jul 2006 14:44:47 GMT
Author: mturyn
Date: Wed Jul 19 07:44:46 2006
New Revision: 423477

URL: http://svn.apache.org/viewvc?rev=423477&view=rev
Log:
Auto-editing rescoped something it shouldn't; backed out.

Globals solely in test code don't matter as much, anyway, as they don't hang around. (famous
last words)

Modified:
    incubator/xap/trunk/testsrc/xap/session/_TestContainer.js

Modified: incubator/xap/trunk/testsrc/xap/session/_TestContainer.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/session/_TestContainer.js?rev=423477&r1=423476&r2=423477&view=diff
==============================================================================
--- incubator/xap/trunk/testsrc/xap/session/_TestContainer.js (original)
+++ incubator/xap/trunk/testsrc/xap/session/_TestContainer.js Wed Jul 19 07:44:46 2006
@@ -14,7 +14,7 @@
  *  limitations under the License.
  *
  */
-function xap.dojo.src.widget.ContainerListener(){
+function ContainerListener(){
 	this._lastListenerMethod = null;
 	this._lastName = null;
 }
@@ -39,11 +39,11 @@
 
 function testAddAndRemove() {
 	
-	var containerObject1 = new xap.dojo.src.widget.ContainerListener();
-	var containerObject2 = new xap.dojo.src.widget.ContainerListener();
-	var containerObject3 = new xap.dojo.src.widget.ContainerListener();
+	var containerObject1 = new ContainerListener();
+	var containerObject2 = new ContainerListener();
+	var containerObject3 = new ContainerListener();
 
-	var container = new xap.dojo.src.widget.Container();
+	var container = new xap.session.Container();
 	
 	container.put(null, containerObject1);
 	assertTrue("Called addedToContainer when adding un-named object",



Mime
View raw message