debian/0000755000000000000000000000000012006034532007161 5ustar debian/source/0000755000000000000000000000000012006034532010461 5ustar debian/source/format0000644000000000000000000000001412006034532011667 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000016412006034532010601 0ustar [DEFAULT] upstream-branch = upstream-sid debian-branch = debian-sid [git-buildpackage] export-dir = ../build-area/ debian/control0000644000000000000000000000232012006034532010561 0ustar Source: phpunit-selenium Section: php Priority: optional Maintainer: Debian PHP PEAR Maintainers Uploaders: Luis Uribe , Thomas Goirand Build-Depends: debhelper (>= 8), pkg-php-tools, pear-phpunit-channel Build-Depends-Indep: php-pear Standards-Version: 3.9.3 Homepage: https://github.com/sebastianbergmann/phpunit-selenium DM-Upload-Allowed: yes Vcs-Git: git://git.debian.org/pkg-php/phpunit-selenium.git Vcs-Browser: http://git.debian.org/?p=pkg-php/phpunit-selenium.git Package: phpunit-selenium Architecture: all Depends: ${misc:Depends}, php-pear, pear-phpunit-channel, phpunit (>= 3.6), php5-curl Replaces: phpunit (<< 3.6) Recommends: ${phppear:Debian-Recommends} Breaks: ${phppear:Debian-Breaks} Description: Selenium RC integration for PHPUnit This package provides the Selenium RC (Remote Control) PHPUnit extension allowing to integrate Selenium test cases in a phpunit test suite. . It can be used to do some automated testing of Web applications simulating a user's interaction with the application through remote controlled Web browser. . PHPUnit is a unit testing suite for the PHP language, modelled on the xUnit testing framework. debian/rules0000755000000000000000000000027712006034532010247 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=phppear --with phppear pear_pkg = $(shell ls | grep Selenium) override_dh_installchangelogs: dh_installchangelogs $(pear_pkg)/ChangeLog.markdown debian/README.Debian0000644000000000000000000000215512006034532011225 0ustar In order to run test that uses phpunit-selenium you need to download the Selenium Server from http://seleniumhq.org/download/ (the actual supported version of the server is 2.23) and start it with: java -jar selenium-server-standalone-X.XX.X.jar The Selenium Server receives Selenium commands from your tests and interprets them, and reports back the results of running those tests. An example phpunit test: setBrowser("*firefox"); $this->setBrowserUrl("http://www.debian.org/"); } function testMyTestCase() { $this->open("/"); $this->assertTrue($this->isTextPresent("debian")); } } ?> For this test to run, you have to install iceweasel and make a link from /usr/bin/firefox to /usr/bin/iceweasel (You may want to save a copy of the script originally installed in /usr/bin/firefox) You can find documentation about how to write tests at http://seleniumhq.org/docs/05_selenium_rc.htmldebian/watch0000644000000000000000000000013612006034532010212 0ustar version=3 http://pear.phpunit.de/ http://pear.phpunit.de/get/PHPUnit_Selenium-([\d\.]+)\.tgz debian/patches/0000755000000000000000000000000012006034532010610 5ustar debian/patches/Removes-LICENSE-file-from-binary-package0000644000000000000000000000113712006034532017766 0ustar Description: Removes LICENSE file from binary package Author: Thomas Goirand Forwarded: not-needed --- phpunit-selenium-1.2.6.orig/package.xml +++ phpunit-selenium-1.2.6/package.xml @@ -153,7 +153,6 @@ http://github.com/sebastianbergmann/phpu - debian/patches/series0000644000000000000000000000005112006034532012021 0ustar Removes-LICENSE-file-from-binary-package debian/copyright0000644000000000000000000000653112006034532011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PHPUnit_Selenium Upstream-Contact: Sebastian Bergmann Source: https://github.com/sebastianbergmann/phpunit-selenium/ Files: debian/* Copyright: (c) 2012, Luis Uribe (c) 2012, Thomas Goirand License: BSD-2-clause Files: * Copyright: (c) 2002-2012, Sebastian Bergmann . (c) Giorgio Sironi (c) Bjoern Schotte (c) Shin Ohno (c) Mattis Stordalen Flister License: BSD-3-clause License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the name of Sebastian Bergmann nor the names of his contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/changelog0000644000000000000000000000107212006034532011033 0ustar phpunit-selenium (1.2.6-3) unstable; urgency=low * debian/README.Debian Adding file * debian/control Adding DM-Upload-Allowed -- Luis Uribe Tue, 31 Jul 2012 14:44:17 -0500 phpunit-selenium (1.2.6-2) unstable; urgency=low * Replaces: phpunit (<< 3.6) and Depends: phpunit (>= 3.6) (Closes: #675275). -- Thomas Goirand Thu, 31 May 2012 05:24:26 +0000 phpunit-selenium (1.2.6-1) unstable; urgency=low * Initial release (Closes: #612014) -- Thomas Goirand Thu, 10 May 2012 06:35:49 +0000 debian/compat0000644000000000000000000000000212006034532010357 0ustar 8 debian/README.source0000644000000000000000000000040112006034532011333 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for a detailed explanation.