Author: tmortagne
Date: 2008-01-31 14:08:02 +0100 (Thu, 31 Jan 2008)
New Revision: 7233
Added:
xwiki-products/xwiki-enterprise-manager/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/xem/
xwiki-products/xwiki-enterprise-manager/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/xem/StartTest.java
Modified:
xwiki-products/xwiki-enterprise-manager/trunk/distribution-test/selenium-tests/
xwiki-products/xwiki-enterprise-manager/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/AllTests.java
Log:
Remove XE selenium test from XEM selenium tests because it's slowing too much
automated tests.
Add empty selenium test that just check if XEM is starting.
Property changes on:
xwiki-products/xwiki-enterprise-manager/trunk/distribution-test/selenium-tests
___________________________________________________________________
Name: svn:ignore
- target
+ target
.classpath
.project
Modified:
xwiki-products/xwiki-enterprise-manager/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/AllTests.java
===================================================================
---
xwiki-products/xwiki-enterprise-manager/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/AllTests.java
2008-01-31 11:24:43 UTC (rev 7232)
+++
xwiki-products/xwiki-enterprise-manager/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/AllTests.java
2008-01-31 13:08:02 UTC (rev 7233)
@@ -25,6 +25,7 @@
import java.lang.reflect.Method;
+import com.xpn.xwiki.it.selenium.xem.StartTest;
import com.xpn.xwiki.test.XWikiTestSetup;
/**
@@ -42,19 +43,7 @@
{
TestSuite suite = new TestSuite();
- // TODO: I don't like listing tests here as it means we can add a new
TestCase class and
- // forget to add it here and the tests won't be run but we'll not know
about it and we'll
- // think the tests are all running fine. I haven't found a simple
solution to this yet
- // (there are complex solutions like searching for all tests by
parsing the source tree).
- // I think there are TestSuite that do this out there but I haven't
looked for them yet.
- addTestCase(suite, DeletePageTest.class);
- addTestCase(suite, LanguageTest.class);
- addTestCase(suite, LoginTest.class);
- addTestCase(suite, WikiEditorTest.class);
- addTestCase(suite, WysiwygEditorFromWikiTest.class);
- addTestCase(suite, WysiwygEditorTest.class);
- addTestCase(suite, VelocityMacrosTest.class);
- addTestCase(suite, BacklinksTest.class);
+ addTestCase(suite, StartTest.class);
return new XWikiTestSetup(suite);
}
Added:
xwiki-products/xwiki-enterprise-manager/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/xem/StartTest.java
===================================================================
---
xwiki-products/xwiki-enterprise-manager/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/xem/StartTest.java
(rev 0)
+++
xwiki-products/xwiki-enterprise-manager/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/xem/StartTest.java
2008-01-31 13:08:02 UTC (rev 7233)
@@ -0,0 +1,46 @@
+/*
+ * See the NOTICE file distributed with this work for additional
+ * information regarding copyright ownership.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package com.xpn.xwiki.it.selenium.xem;
+
+import com.xpn.xwiki.it.selenium.framework.AbstractXWikiTestCase;
+import com.xpn.xwiki.it.selenium.framework.AlbatrossSkinExecutor;
+import com.xpn.xwiki.it.selenium.framework.XWikiTestSuite;
+
+import junit.framework.Test;
+
+/**
+ * Verify deletion of pages.
+ *
+ * @version $Id: $
+ */
+public class StartTest extends AbstractXWikiTestCase
+{
+ public static Test suite()
+ {
+ XWikiTestSuite suite = new XWikiTestSuite("Verify xem starting");
+ suite.addTestSuite(StartTest.class, AlbatrossSkinExecutor.class);
+ return suite;
+ }
+
+ public void testStart()
+ {
+ open("/xwiki/bin/view/Main/");
+ }
+}
Property changes on:
xwiki-products/xwiki-enterprise-manager/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/xem/StartTest.java
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications