You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/09/04 13:16:29 UTC
svn commit: r1380554 -
/myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/mock/faces/AbstractTobagoTestBase.java
Author: lofwyr
Date: Tue Sep 4 11:16:29 2012
New Revision: 1380554
URL: http://svn.apache.org/viewvc?rev=1380554&view=rev
Log:
add popup for tests
Modified:
myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/mock/faces/AbstractTobagoTestBase.java
Modified: myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/mock/faces/AbstractTobagoTestBase.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/mock/faces/AbstractTobagoTestBase.java?rev=1380554&r1=1380553&r2=1380554&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/mock/faces/AbstractTobagoTestBase.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/internal/mock/faces/AbstractTobagoTestBase.java Tue Sep 4 11:16:29 2012
@@ -23,9 +23,14 @@ import org.apache.myfaces.test.base.juni
import org.apache.myfaces.test.mock.MockFacesContext;
import org.apache.myfaces.test.mock.MockHttpServletRequest;
import org.apache.myfaces.tobago.component.ComponentTypes;
+import org.apache.myfaces.tobago.component.UIButton;
+import org.apache.myfaces.tobago.component.UICommand;
import org.apache.myfaces.tobago.component.UIIn;
+import org.apache.myfaces.tobago.component.UILink;
import org.apache.myfaces.tobago.component.UIOut;
import org.apache.myfaces.tobago.component.UIPanel;
+import org.apache.myfaces.tobago.component.UIPopup;
+import org.apache.myfaces.tobago.component.UIViewRoot;
import org.apache.myfaces.tobago.config.TobagoConfig;
import org.apache.myfaces.tobago.context.ClientProperties;
import org.apache.myfaces.tobago.context.Theme;
@@ -87,11 +92,12 @@ public abstract class AbstractTobagoTest
application.addComponent(ComponentTypes.IN, UIIn.class.getName());
application.addComponent(ComponentTypes.OUT, UIOut.class.getName());
application.addComponent(ComponentTypes.PANEL, UIPanel.class.getName());
- application.addComponent("javax.faces.ViewRoot", "org.apache.myfaces.tobago.component.UIViewRoot");
- application.addComponent("javax.faces.Command", "javax.faces.component.UICommand");
- application.addComponent("org.apache.myfaces.tobago.Command", "org.apache.myfaces.tobago.component.UICommand");
- application.addComponent("org.apache.myfaces.tobago.Link", "org.apache.myfaces.tobago.component.UILink");
- application.addComponent("org.apache.myfaces.tobago.Button", "org.apache.myfaces.tobago.component.UIButton");
+ application.addComponent("javax.faces.ViewRoot", UIViewRoot.class.getName());
+ application.addComponent("javax.faces.Command", javax.faces.component.UICommand.class.getName());
+ application.addComponent(ComponentTypes.COMMAND, UICommand.class.getName());
+ application.addComponent(ComponentTypes.LINK, UILink.class.getName());
+ application.addComponent(ComponentTypes.BUTTON, UIButton.class.getName());
+ application.addComponent(ComponentTypes.POPUP, UIPopup.class.getName());
try {
ResourceManagerFactory.init(servletContext, tobagoConfig);