[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/tests/test_tools/selenium/php/ -> TestSuiteHeader.php (source)

   1  <!--
   2  Copyright 2004 ThoughtWorks, Inc
   3  
   4   Licensed under the Apache License, Version 2.0 (the "License");
   5   you may not use this file except in compliance with the License.
   6   You may obtain a copy of the License at
   7  
   8       http://www.apache.org/licenses/LICENSE-2.0
   9  
  10   Unless required by applicable law or agreed to in writing, software
  11   distributed under the License is distributed on an "AS IS" BASIS,
  12   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13   See the License for the specific language governing permissions and
  14   limitations under the License.
  15  -->
  16  <html>
  17  <head>
  18  <meta content="text/html; charset=ISO-8859-1"
  19  http-equiv="content-type">
  20  <title>Test Suite</title>
  21  <link rel="stylesheet" type="text/css" href="<?php echo $base_dir; ?>core/selenium.css" />
  22  <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-browserdetect.js"></script>
  23  <script language="JavaScript" type="text/javascript">
  24      var DISABLED = true; // used to flag failing tests
  25  
  26      function filterTestsForBrowser() {
  27          var suiteTable = document.getElementById("suiteTable");
  28          var skippedTests = document.getElementById("skippedTests");
  29  
  30          for(rowNum = suiteTable.rows.length - 1; rowNum >= 0; rowNum--)
  31          {
  32              var row = suiteTable.rows[rowNum];
  33              var filterString = row.getAttribute("unless");
  34              if (filterString && eval(filterString))
  35              {
  36                var cellHTML = row.cells[0].innerHTML;
  37                suiteTable.deleteRow(rowNum);
  38  
  39                var newRow = skippedTests.insertRow(1);
  40                var newCell = newRow.insertCell(0)
  41                newCell.innerHTML = cellHTML;
  42              }
  43          }
  44      }
  45  </script>
  46  </head>
  47  
  48  <body onload="filterTestsForBrowser()">
  49  
  50      <table id="suiteTable"    cellpadding="1"
  51             cellspacing="1"
  52             border="1"
  53             class="selenium">
  54          <tbody>


Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7