[Checkins] SVN: gocept.selenium/trunk/ tests run with plone.testing branch for Plone3
Godefroid Chapelle
gotcha at bubblenet.be
Thu Dec 2 07:58:35 EST 2010
Log message for revision 118666:
tests run with plone.testing branch for Plone3
Changed:
A gocept.selenium/trunk/plonetesting-plone3.cfg
A gocept.selenium/trunk/plonetesting-plone4.cfg
D gocept.selenium/trunk/plonetesting.cfg
D gocept.selenium/trunk/src/gocept/selenium/plone/tests/plonetesting/
A gocept.selenium/trunk/src/gocept/selenium/plone/tests/plonetesting3/
A gocept.selenium/trunk/src/gocept/selenium/plone/tests/plonetesting3/test_plone3.py
D gocept.selenium/trunk/src/gocept/selenium/plone/tests/plonetesting3/test_plone4.py
A gocept.selenium/trunk/src/gocept/selenium/plone/tests/plonetesting4/
-=-
Copied: gocept.selenium/trunk/plonetesting-plone3.cfg (from rev 117792, gocept.selenium/trunk/plonetesting.cfg)
===================================================================
--- gocept.selenium/trunk/plonetesting-plone3.cfg (rev 0)
+++ gocept.selenium/trunk/plonetesting-plone3.cfg 2010-12-02 12:58:34 UTC (rev 118666)
@@ -0,0 +1,47 @@
+[buildout]
+extensions = mr.developer
+extends = http://dist.plone.org/release/3.3.5/versions.cfg
+develop = .
+parts = zope2 instance test omelette
+package = gocept.selenium
+find-links = http://download.gocept.com/packages
+versions = versions
+sources-dir = devel
+
+[sources]
+plone.testing = svn https://svn.plone.org/svn/plone/plone.testing/branches/zope2.10
+plone.app.testing = svn https://svn.plone.org/svn/plone/plone.app.testing/branches/plone3
+
+[versions]
+PILwoTK = 1.1.6.4
+zope.testing = 3.9.5
+zc.buildout=1.5.1
+zc.recipe.testrunner=1.3.0
+
+[zope2]
+recipe = plone.recipe.zope2install
+fake-zope-eggs = true
+additional-fake-eggs =
+ ZODB3
+url = ${versions:zope2-url}
+
+[test]
+recipe = zc.recipe.testrunner
+defaults = ["--ignore_dir=ztk", "--ignore_dir=static", "--tests-pattern=plonetesting3"]
+eggs = ${instance:eggs}
+ plone.app.testing
+ vimpdb
+extra-paths = ${zope2:location}/lib/python
+
+[instance]
+recipe = plone.recipe.zope2instance
+zope2-location = ${zope2:location}
+user = admin:admin
+eggs = ${buildout:package}
+ Plone
+ PILwoTK
+zcml = gocept.selenium.tests.fixture
+
+[omelette]
+recipe = collective.recipe.omelette
+eggs = ${test:eggs}
Copied: gocept.selenium/trunk/plonetesting-plone4.cfg (from rev 117792, gocept.selenium/trunk/plonetesting.cfg)
===================================================================
--- gocept.selenium/trunk/plonetesting-plone4.cfg (rev 0)
+++ gocept.selenium/trunk/plonetesting-plone4.cfg 2010-12-02 12:58:34 UTC (rev 118666)
@@ -0,0 +1,33 @@
+[buildout]
+extensions = mr.developer
+extends = http://dist.plone.org/release/4.0-latest/versions.cfg
+develop = .
+parts = instance test omelette
+package = gocept.selenium
+find-links = http://download.gocept.com/packages
+versions = versions
+sources-dir = devel
+
+[sources]
+plone.testing = svn https://svn.plone.org/svn/plone/plone.testing/trunk
+
+[versions]
+PILwoTK = 1.1.6.4
+
+[test]
+recipe = zc.recipe.testrunner
+defaults = ["--ignore_dir=ztk", "--ignore_dir=static", "--tests-pattern=plonetesting4"]
+eggs = ${instance:eggs}
+ plone.app.testing
+
+[instance]
+recipe = plone.recipe.zope2instance
+user = admin:admin
+eggs = ${buildout:package}
+ Plone
+ PILwoTK
+zcml = gocept.selenium.tests.fixture
+
+[omelette]
+recipe = collective.recipe.omelette
+eggs = ${test:eggs}
Deleted: gocept.selenium/trunk/plonetesting.cfg
===================================================================
--- gocept.selenium/trunk/plonetesting.cfg 2010-12-02 10:32:25 UTC (rev 118665)
+++ gocept.selenium/trunk/plonetesting.cfg 2010-12-02 12:58:34 UTC (rev 118666)
@@ -1,33 +0,0 @@
-[buildout]
-extensions = mr.developer
-extends = http://dist.plone.org/release/4.0-latest/versions.cfg
-develop = .
-parts = instance test omelette
-package = gocept.selenium
-find-links = http://download.gocept.com/packages
-versions = versions
-sources-dir = devel
-
-[sources]
-plone.testing = svn https://svn.plone.org/svn/plone/plone.testing/trunk
-
-[versions]
-PILwoTK = 1.1.6.4
-
-[test]
-recipe = zc.recipe.testrunner
-defaults = ["--ignore_dir=ztk", "--ignore_dir=static", "--tests-pattern=plonetesting"]
-eggs = ${instance:eggs}
- plone.app.testing
-
-[instance]
-recipe = plone.recipe.zope2instance
-user = admin:admin
-eggs = ${buildout:package}
- Plone
- PILwoTK
-zcml = gocept.selenium.tests.fixture
-
-[omelette]
-recipe = collective.recipe.omelette
-eggs = ${test:eggs}
Copied: gocept.selenium/trunk/src/gocept/selenium/plone/tests/plonetesting3/test_plone3.py (from rev 117792, gocept.selenium/trunk/src/gocept/selenium/plone/tests/plonetesting/test_plone4.py)
===================================================================
--- gocept.selenium/trunk/src/gocept/selenium/plone/tests/plonetesting3/test_plone3.py (rev 0)
+++ gocept.selenium/trunk/src/gocept/selenium/plone/tests/plonetesting3/test_plone3.py 2010-12-02 12:58:34 UTC (rev 118666)
@@ -0,0 +1,41 @@
+#############################################################################
+#
+# Copyright (c) 2009 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+
+import unittest
+import gocept.selenium.zope2
+from gocept.selenium.zope2.plonetesting import ISOLATION
+import gocept.selenium.tests.isolation
+
+from plone.app.testing.layers import PLONE_FIXTURE
+from plone.app.testing.layers import SITE_OWNER_NAME
+from plone.app.testing.layers import SITE_OWNER_PASSWORD
+
+
+class Plone3Tests(gocept.selenium.tests.isolation.IsolationTests,
+ gocept.selenium.plone.TestCase):
+
+ layer = gocept.selenium.zope2.Layer(PLONE_FIXTURE, ISOLATION)
+
+ def test_plone_login(self):
+ sel = self.selenium
+ sel.open('/plone')
+ sel.type('name=__ac_name', SITE_OWNER_NAME)
+ sel.type('name=__ac_password', SITE_OWNER_PASSWORD)
+ sel.click('name=submit')
+ sel.waitForPageToLoad()
+ sel.assertTextPresent('Welcome! You are now logged in.')
+
+
+def test_suite():
+ return unittest.makeSuite(Plone3Tests)
Deleted: gocept.selenium/trunk/src/gocept/selenium/plone/tests/plonetesting3/test_plone4.py
===================================================================
--- gocept.selenium/trunk/src/gocept/selenium/plone/tests/plonetesting/test_plone4.py 2010-10-20 07:49:52 UTC (rev 117792)
+++ gocept.selenium/trunk/src/gocept/selenium/plone/tests/plonetesting3/test_plone4.py 2010-12-02 12:58:34 UTC (rev 118666)
@@ -1,43 +0,0 @@
-#############################################################################
-#
-# Copyright (c) 2009 Zope Foundation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-
-import unittest
-import gocept.selenium.zope2
-from gocept.selenium.zope2.plonetesting import ISOLATION
-import gocept.selenium.tests.isolation
-
-from plone.app.testing.layers import PLONE_FIXTURE
-from plone.app.testing.layers import SITE_OWNER_NAME
-from plone.app.testing.layers import SITE_OWNER_PASSWORD
-
-
-class Plone4Tests(gocept.selenium.tests.isolation.IsolationTests,
- gocept.selenium.plone.TestCase):
-
- layer = gocept.selenium.zope2.Layer(PLONE_FIXTURE, ISOLATION)
-
- def test_plone_login(self):
- sel = self.selenium
- sel.open('/plone')
- sel.click('link=Log in')
- sel.waitForElementPresent('name=__ac_name')
- sel.type('name=__ac_name', SITE_OWNER_NAME)
- sel.type('name=__ac_password', SITE_OWNER_PASSWORD)
- sel.click('name=submit')
- sel.waitForPageToLoad()
- sel.assertTextPresent(SITE_OWNER_NAME)
-
-
-def test_suite():
- return unittest.makeSuite(Plone4Tests)
More information about the checkins
mailing list