diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2013-09-22 22:39:41 +0200 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2013-09-22 22:39:41 +0200 |
commit | 7c65b2f40ea9242260eac5a746863f5925423861 (patch) | |
tree | 6c516057baa4356fde43f8d79517571bc8f0bfa2 /tests/test_tools/selenium/php/TestSuiteHeader.php | |
parent | 60c6bfa6f7caeb122cb8fa820506bdd1c54a842e (diff) |
Phing: added target for phpunit+selenium
Functional tests were using an old selenium RC version. Ported them to
use phpunit + selenium; next: opensauce
Diffstat (limited to 'tests/test_tools/selenium/php/TestSuiteHeader.php')
-rw-r--r-- | tests/test_tools/selenium/php/TestSuiteHeader.php | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/tests/test_tools/selenium/php/TestSuiteHeader.php b/tests/test_tools/selenium/php/TestSuiteHeader.php deleted file mode 100644 index d253740c..00000000 --- a/tests/test_tools/selenium/php/TestSuiteHeader.php +++ /dev/null @@ -1,54 +0,0 @@ -<!-- -Copyright 2004 ThoughtWorks, Inc - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<html> -<head> -<meta content="text/html; charset=ISO-8859-1" -http-equiv="content-type"> -<title>Test Suite</title> -<link rel="stylesheet" type="text/css" href="<?php echo $base_dir; ?>core/selenium.css" /> -<script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-browserdetect.js"></script> -<script language="JavaScript" type="text/javascript"> - var DISABLED = true; // used to flag failing tests - - function filterTestsForBrowser() { - var suiteTable = document.getElementById("suiteTable"); - var skippedTests = document.getElementById("skippedTests"); - - for(rowNum = suiteTable.rows.length - 1; rowNum >= 0; rowNum--) - { - var row = suiteTable.rows[rowNum]; - var filterString = row.getAttribute("unless"); - if (filterString && eval(filterString)) - { - var cellHTML = row.cells[0].innerHTML; - suiteTable.deleteRow(rowNum); - - var newRow = skippedTests.insertRow(1); - var newCell = newRow.insertCell(0) - newCell.innerHTML = cellHTML; - } - } - } -</script> -</head> - -<body onload="filterTestsForBrowser()"> - - <table id="suiteTable" cellpadding="1" - cellspacing="1" - border="1" - class="selenium"> - <tbody> |