Author: mareshkau
Date: 2009-01-06 13:59:33 -0500 (Tue, 06 Jan 2009)
New Revision: 12905
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3482Test.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3482
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3482Test.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3482Test.java
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3482Test.java 2009-01-06
18:59:33 UTC (rev 12905)
@@ -0,0 +1,42 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2008 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jsf.vpe.jsf.test.jbide;
+
+import org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests;
+import org.jboss.tools.vpe.editor.VpeController;
+import org.jboss.tools.vpe.ui.test.ComponentContentTest;
+import org.mozilla.interfaces.nsIDOMElement;
+
+
+/**
+ * @author mareshkau
+ * Test case for
https://jira.jboss.org/jira/browse/JBIDE-3482
+ */
+public class JBIDE3482Test extends ComponentContentTest{
+
+ public JBIDE3482Test(String name) {
+ super(name);
+ }
+
+ public void testJBIDE3482() throws Throwable {
+ performContentTest("JBIDE/3482/jbide3482.xhtml"); //$NON-NLS-1$
+ }
+ @Override
+ protected String getTestProjectName() {
+ return JsfAllTests.IMPORT_PROJECT_NAME;
+ }
+ @Override
+ protected nsIDOMElement findElementById(VpeController controller,
+ String elementId){
+ return controller.getXulRunnerEditor().getDOMDocument().getElementById(elementId);
+ }
+
+}