ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1350645 [1/3] - in /ace/trunk/ace-obr-servlet: src/test/java/org/apache/ace/obr/servlet/ test-output/ test-output/Default suite/ test-output/junitreports/ test-output/old/ test-output/old/Default suite/
Date Fri, 15 Jun 2012 14:51:56 GMT
Author: marrs
Date: Fri Jun 15 14:51:54 2012
New Revision: 1350645

URL: http://svn.apache.org/viewvc?rev=1350645&view=rev
Log:
ACE-278 Support and tests for subfolders in the Servlet.

Added:
    ace/trunk/ace-obr-servlet/test-output/
    ace/trunk/ace-obr-servlet/test-output/Default suite/
    ace/trunk/ace-obr-servlet/test-output/Default suite/Default test.html
    ace/trunk/ace-obr-servlet/test-output/Default suite/Default test.xml
    ace/trunk/ace-obr-servlet/test-output/Default suite/testng-failed.xml
    ace/trunk/ace-obr-servlet/test-output/bullet_point.png   (with props)
    ace/trunk/ace-obr-servlet/test-output/collapseall.gif   (with props)
    ace/trunk/ace-obr-servlet/test-output/emailable-report.html
    ace/trunk/ace-obr-servlet/test-output/failed.png   (with props)
    ace/trunk/ace-obr-servlet/test-output/index.html
    ace/trunk/ace-obr-servlet/test-output/jquery-1.7.1.min.js
    ace/trunk/ace-obr-servlet/test-output/junitreports/
    ace/trunk/ace-obr-servlet/test-output/junitreports/TEST-org.apache.ace.obr.servlet.BundleServletTest.xml
    ace/trunk/ace-obr-servlet/test-output/navigator-bullet.png   (with props)
    ace/trunk/ace-obr-servlet/test-output/old/
    ace/trunk/ace-obr-servlet/test-output/old/Default suite/
    ace/trunk/ace-obr-servlet/test-output/old/Default suite/Default test.properties
    ace/trunk/ace-obr-servlet/test-output/old/Default suite/classes.html
    ace/trunk/ace-obr-servlet/test-output/old/Default suite/groups.html
    ace/trunk/ace-obr-servlet/test-output/old/Default suite/index.html
    ace/trunk/ace-obr-servlet/test-output/old/Default suite/main.html
    ace/trunk/ace-obr-servlet/test-output/old/Default suite/methods-alphabetical.html
    ace/trunk/ace-obr-servlet/test-output/old/Default suite/methods-not-run.html
    ace/trunk/ace-obr-servlet/test-output/old/Default suite/methods.html
    ace/trunk/ace-obr-servlet/test-output/old/Default suite/reporter-output.html
    ace/trunk/ace-obr-servlet/test-output/old/Default suite/testng.xml.html
    ace/trunk/ace-obr-servlet/test-output/old/Default suite/toc.html
    ace/trunk/ace-obr-servlet/test-output/old/index.html
    ace/trunk/ace-obr-servlet/test-output/passed.png   (with props)
    ace/trunk/ace-obr-servlet/test-output/skipped.png   (with props)
    ace/trunk/ace-obr-servlet/test-output/testng-failed.xml
    ace/trunk/ace-obr-servlet/test-output/testng-reports.css
    ace/trunk/ace-obr-servlet/test-output/testng-reports.js
    ace/trunk/ace-obr-servlet/test-output/testng-results.xml
    ace/trunk/ace-obr-servlet/test-output/testng.css
Modified:
    ace/trunk/ace-obr-servlet/src/test/java/org/apache/ace/obr/servlet/BundleServletTest.java
    ace/trunk/ace-obr-servlet/src/test/java/org/apache/ace/obr/servlet/MockBundleStore.java

Modified: ace/trunk/ace-obr-servlet/src/test/java/org/apache/ace/obr/servlet/BundleServletTest.java
URL: http://svn.apache.org/viewvc/ace/trunk/ace-obr-servlet/src/test/java/org/apache/ace/obr/servlet/BundleServletTest.java?rev=1350645&r1=1350644&r2=1350645&view=diff
==============================================================================
--- ace/trunk/ace-obr-servlet/src/test/java/org/apache/ace/obr/servlet/BundleServletTest.java
(original)
+++ ace/trunk/ace-obr-servlet/src/test/java/org/apache/ace/obr/servlet/BundleServletTest.java
Fri Jun 15 14:51:54 2012
@@ -189,6 +189,13 @@ public class BundleServletTest {
     }
 
     @Test(groups = { UNIT })
+    public void testPostResourceInPath() throws Exception {
+        m_requestFile = "path/to/file";
+        m_bundleServlet.doPost(m_request, m_response);
+        assert m_status == HttpServletResponse.SC_OK;
+    }
+
+    @Test(groups = { UNIT })
     public void testRemoveResource() throws Exception {
         m_requestFile = "RemoveMe";
         m_bundleServlet.doDelete(m_request, m_response);
@@ -198,6 +205,16 @@ public class BundleServletTest {
         assert m_status == HttpServletResponse.SC_NOT_FOUND;
     }
 
+    @Test(groups = { UNIT })
+    public void testRemoveResourceInPath() throws Exception {
+        m_requestFile = "path/to/file";
+        m_bundleServlet.doDelete(m_request, m_response);
+        assert m_status == HttpServletResponse.SC_OK;
+        m_requestFile = "path/to/NonExistingFile";
+        m_bundleServlet.doDelete(m_request, m_response);
+        assert m_status == HttpServletResponse.SC_NOT_FOUND;
+    }
+
     /**
      * Check if the output from the server is the configured file
      */

Modified: ace/trunk/ace-obr-servlet/src/test/java/org/apache/ace/obr/servlet/MockBundleStore.java
URL: http://svn.apache.org/viewvc/ace/trunk/ace-obr-servlet/src/test/java/org/apache/ace/obr/servlet/MockBundleStore.java?rev=1350645&r1=1350644&r2=1350645&view=diff
==============================================================================
--- ace/trunk/ace-obr-servlet/src/test/java/org/apache/ace/obr/servlet/MockBundleStore.java
(original)
+++ ace/trunk/ace-obr-servlet/src/test/java/org/apache/ace/obr/servlet/MockBundleStore.java
Fri Jun 15 14:51:54 2012
@@ -49,6 +49,9 @@ public class MockBundleStore implements 
         if (fileName.equals("NewFile")) {
             return true;
         }
+        if (fileName.equals("path/to/file")) {
+            return true;
+        }
         return false;
     }
 
@@ -56,6 +59,9 @@ public class MockBundleStore implements 
         if (fileName.equals("RemoveMe")) {
             return true;
         }
+        if (fileName.equals("path/to/file")) {
+            return true;
+        }
         return false;
     }
 

Added: ace/trunk/ace-obr-servlet/test-output/Default suite/Default test.html
URL: http://svn.apache.org/viewvc/ace/trunk/ace-obr-servlet/test-output/Default%20suite/Default%20test.html?rev=1350645&view=auto
==============================================================================
--- ace/trunk/ace-obr-servlet/test-output/Default suite/Default test.html (added)
+++ ace/trunk/ace-obr-servlet/test-output/Default suite/Default test.html Fri Jun 15 14:51:54
2012
@@ -0,0 +1,109 @@
+<html>
+<head>
+<title>TestNG:  Default test</title>
+<link href="../testng.css" rel="stylesheet" type="text/css" />
+<link href="../my-testng.css" rel="stylesheet" type="text/css" />
+
+<style type="text/css">
+.log { display: none;} 
+.stack-trace { display: none;} 
+</style>
+<script type="text/javascript">
+<!--
+function flip(e) {
+  current = e.style.display;
+  if (current == 'block') {
+    e.style.display = 'none';
+    return 0;
+  }
+  else {
+    e.style.display = 'block';
+    return 1;
+  }
+}
+
+function toggleBox(szDivId, elem, msg1, msg2)
+{
+  var res = -1;  if (document.getElementById) {
+    res = flip(document.getElementById(szDivId));
+  }
+  else if (document.all) {
+    // this is the way old msie versions work
+    res = flip(document.all[szDivId]);
+  }
+  if(elem) {
+    if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;
+  }
+
+}
+
+function toggleAllBoxes() {
+  if (document.getElementsByTagName) {
+    d = document.getElementsByTagName('div');
+    for (i = 0; i < d.length; i++) {
+      if (d[i].className == 'log') {
+        flip(d[i]);
+      }
+    }
+  }
+}
+
+// -->
+</script>
+
+</head>
+<body>
+<h2 align='center'>Default test</h2><table border='1' align="center">
+<tr>
+<td>Tests passed/Failed/Skipped:</td><td>6/0/0</td>
+</tr><tr>
+<td>Started on:</td><td>Fri Jun 15 16:51:00 CEST 2012</td>
+</tr>
+<tr><td>Total time:</td><td>0 seconds (86 ms)</td>
+</tr><tr>
+<td>Included groups:</td><td></td>
+</tr><tr>
+<td>Excluded groups:</td><td></td>
+</tr>
+</table><p/>
+<small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table width='100%' border='1' class='invocation-passed'>
+<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>
+<tr><td><b>Test method</b></td>
+<td width="30%"><b>Exception</b></td>
+<td width="10%"><b>Time (seconds)</b></td>
+<td><b>Instance</b></td>
+</tr>
+<tr>
+<td title='org.apache.ace.obr.servlet.BundleServletTest.testGetInValidResource()'><b>testGetInValidResource</b><br>Test
class: org.apache.ace.obr.servlet.BundleServletTest</td>
+<td></td>
+<td>0</td>
+<td>org.apache.ace.obr.servlet.BundleServletTest@c5a67c9</td></tr>
+<tr>
+<td title='org.apache.ace.obr.servlet.BundleServletTest.testGetValidResource()'><b>testGetValidResource</b><br>Test
class: org.apache.ace.obr.servlet.BundleServletTest</td>
+<td></td>
+<td>0</td>
+<td>org.apache.ace.obr.servlet.BundleServletTest@c5a67c9</td></tr>
+<tr>
+<td title='org.apache.ace.obr.servlet.BundleServletTest.testPostResource()'><b>testPostResource</b><br>Test
class: org.apache.ace.obr.servlet.BundleServletTest</td>
+<td></td>
+<td>0</td>
+<td>org.apache.ace.obr.servlet.BundleServletTest@c5a67c9</td></tr>
+<tr>
+<td title='org.apache.ace.obr.servlet.BundleServletTest.testPostResourceInPath()'><b>testPostResourceInPath</b><br>Test
class: org.apache.ace.obr.servlet.BundleServletTest</td>
+<td></td>
+<td>0</td>
+<td>org.apache.ace.obr.servlet.BundleServletTest@c5a67c9</td></tr>
+<tr>
+<td title='org.apache.ace.obr.servlet.BundleServletTest.testRemoveResource()'><b>testRemoveResource</b><br>Test
class: org.apache.ace.obr.servlet.BundleServletTest</td>
+<td></td>
+<td>0</td>
+<td>org.apache.ace.obr.servlet.BundleServletTest@c5a67c9</td></tr>
+<tr>
+<td title='org.apache.ace.obr.servlet.BundleServletTest.testRemoveResourceInPath()'><b>testRemoveResourceInPath</b><br>Test
class: org.apache.ace.obr.servlet.BundleServletTest</td>
+<td></td>
+<td>0</td>
+<td>org.apache.ace.obr.servlet.BundleServletTest@c5a67c9</td></tr>
+</table><p>
+</body>
+</html>
\ No newline at end of file

Added: ace/trunk/ace-obr-servlet/test-output/Default suite/Default test.xml
URL: http://svn.apache.org/viewvc/ace/trunk/ace-obr-servlet/test-output/Default%20suite/Default%20test.xml?rev=1350645&view=auto
==============================================================================
--- ace/trunk/ace-obr-servlet/test-output/Default suite/Default test.xml (added)
+++ ace/trunk/ace-obr-servlet/test-output/Default suite/Default test.xml Fri Jun 15 14:51:54
2012
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitXMLReporter -->
+<testsuite hostname="Marcels-MacBook-Pro.local" name="Default test" tests="6" failures="0"
timestamp="15 Jun 2012 14:51:00 GMT" time="0.086" errors="0">
+  <testcase name="testGetInValidResource" time="0.0040" classname="org.apache.ace.obr.servlet.BundleServletTest"/>
+  <testcase name="testGetValidResource" time="0.0080" classname="org.apache.ace.obr.servlet.BundleServletTest"/>
+  <testcase name="testPostResource" time="0.0" classname="org.apache.ace.obr.servlet.BundleServletTest"/>
+  <testcase name="testPostResourceInPath" time="0.0" classname="org.apache.ace.obr.servlet.BundleServletTest"/>
+  <testcase name="testRemoveResource" time="0.0010" classname="org.apache.ace.obr.servlet.BundleServletTest"/>
+  <testcase name="testRemoveResourceInPath" time="0.0" classname="org.apache.ace.obr.servlet.BundleServletTest"/>
+</testsuite> <!-- Default test -->

Added: ace/trunk/ace-obr-servlet/test-output/Default suite/testng-failed.xml
URL: http://svn.apache.org/viewvc/ace/trunk/ace-obr-servlet/test-output/Default%20suite/testng-failed.xml?rev=1350645&view=auto
==============================================================================
--- ace/trunk/ace-obr-servlet/test-output/Default suite/testng-failed.xml (added)
+++ ace/trunk/ace-obr-servlet/test-output/Default suite/testng-failed.xml Fri Jun 15 14:51:54
2012
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Failed suite [Default suite]">
+  <test name="Default test(failed)" preserve-order="true">
+    <classes>
+      <class name="org.apache.ace.obr.servlet.BundleServletTest">
+        <methods>
+          <include name="tearDown"/>
+          <include name="setUp"/>
+          <include name="testPostResourceInPath"/>
+        </methods>
+      </class> <!-- org.apache.ace.obr.servlet.BundleServletTest -->
+    </classes>
+  </test> <!-- Default test(failed) -->
+</suite> <!-- Failed suite [Default suite] -->

Added: ace/trunk/ace-obr-servlet/test-output/bullet_point.png
URL: http://svn.apache.org/viewvc/ace/trunk/ace-obr-servlet/test-output/bullet_point.png?rev=1350645&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/trunk/ace-obr-servlet/test-output/bullet_point.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/trunk/ace-obr-servlet/test-output/collapseall.gif
URL: http://svn.apache.org/viewvc/ace/trunk/ace-obr-servlet/test-output/collapseall.gif?rev=1350645&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/trunk/ace-obr-servlet/test-output/collapseall.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/trunk/ace-obr-servlet/test-output/emailable-report.html
URL: http://svn.apache.org/viewvc/ace/trunk/ace-obr-servlet/test-output/emailable-report.html?rev=1350645&view=auto
==============================================================================
--- ace/trunk/ace-obr-servlet/test-output/emailable-report.html (added)
+++ ace/trunk/ace-obr-servlet/test-output/emailable-report.html Fri Jun 15 14:51:54 2012
@@ -0,0 +1,53 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>TestNG:  Unit Test</title>
+<style type="text/css">
+table caption,table.info_table,table.param,table.passed,table.failed {margin-bottom:10px;border:1px
solid #000099;border-collapse:collapse;empty-cells:show;}
+table.info_table td,table.info_table th,table.param td,table.param th,table.passed td,table.passed
th,table.failed td,table.failed th {
+border:1px solid #000099;padding:.25em .5em .25em .5em
+}
+table.param th {vertical-align:bottom}
+td.numi,th.numi,td.numi_attn {
+text-align:right
+}
+tr.total td {font-weight:bold}
+table caption {
+text-align:center;font-weight:bold;
+}
+table.passed tr.stripe td,table tr.passedodd td {background-color: #00AA00;}
+table.passed td,table tr.passedeven td {background-color: #33FF33;}
+table.passed tr.stripe td,table tr.skippedodd td {background-color: #cccccc;}
+table.passed td,table tr.skippedodd td {background-color: #dddddd;}
+table.failed tr.stripe td,table tr.failedodd td,table.param td.numi_attn {background-color:
#FF3333;}
+table.failed td,table tr.failedeven td,table.param tr.stripe td.numi_attn {background-color:
#DD0000;}
+tr.stripe td,tr.stripe th {background-color: #E6EBF9;}
+p.totop {font-size:85%;text-align:center;border-bottom:2px black solid}
+div.shootout {padding:2em;border:3px #4854A8 solid}
+</style>
+</head>
+<body>
+<table cellspacing=0 cellpadding=0 class="param">
+<tr><th>Test</th><th class="numi">Methods<br/>Passed</th><th
class="numi">Scenarios<br/>Passed</th><th class="numi"># skipped</th><th
class="numi"># failed</th><th class="numi">Total<br/>Time</th><th
class="numi">Included<br/>Groups</th><th class="numi">Excluded<br/>Groups</th></tr>
+<tr><td style="text-align:left;padding-right:2em">Default test</td><td
class="numi">6</td><td class="numi">6</td><td class="numi">0</td><td
class="numi">0</td><td class="numi">0.1 seconds</td><td class="numi"></td><td
class="numi"></td></tr>
+</table>
+<a id="summary"></a>
+<table cellspacing=0 cellpadding=0 class="passed">
+<tr><th>Class</th><th>Method</th><th># of<br/>Scenarios</th><th>Start</th><th>Time<br/>(ms)</th></tr>
+<tr><th colspan="4">Default test &#8212; passed</th></tr>
+<tr class="passedodd"><td rowspan="6">org.apache.ace.obr.servlet.BundleServletTest<td><a
href="#m1"><b>testGetInValidResource</b> (unit) </a></td><td
class="numi">1</td><td>1339771860925</td><td class="numi">4</td></tr><tr
class="passedodd"><td><a href="#m2"><b>testGetValidResource</b>
(unit) </a></td><td class="numi">1</td><td>1339771860932</td><td
class="numi">8</td></tr><tr class="passedodd"><td><a href="#m3"><b>testPostResource</b>
(unit) </a></td><td class="numi">1</td><td>1339771860943</td><td
class="numi">0</td></tr><tr class="passedodd"><td><a href="#m4"><b>testPostResourceInPath</b>
(unit) </a></td><td class="numi">1</td><td>1339771860946</td><td
class="numi">0</td></tr><tr class="passedodd"><td><a href="#m5"><b>testRemoveResource</b>
(unit) </a></td><td class="numi">1</td><td>1339771860948</td><td
class="numi">1</td></tr><tr class="passedodd"><td><a href="#m6"><b>testRemoveResourceInPath</b>
(unit) </a></td><td class="numi">1</td><td>1339771860951</td><td
class="nu
 mi">0</td></tr>
+</table>
+<h1>Default test</h1>
+<a id="m1"></a><h2>org.apache.ace.obr.servlet.BundleServletTest:testGetValidResource</h2>
+<p class="totop"><a href="#summary">back to summary</a></p>
+<a id="m2"></a><h2>org.apache.ace.obr.servlet.BundleServletTest:testGetInValidResource</h2>
+<p class="totop"><a href="#summary">back to summary</a></p>
+<a id="m3"></a><h2>org.apache.ace.obr.servlet.BundleServletTest:testPostResourceInPath</h2>
+<p class="totop"><a href="#summary">back to summary</a></p>
+<a id="m4"></a><h2>org.apache.ace.obr.servlet.BundleServletTest:testPostResource</h2>
+<p class="totop"><a href="#summary">back to summary</a></p>
+<a id="m5"></a><h2>org.apache.ace.obr.servlet.BundleServletTest:testRemoveResource</h2>
+<p class="totop"><a href="#summary">back to summary</a></p>
+<a id="m6"></a><h2>org.apache.ace.obr.servlet.BundleServletTest:testRemoveResourceInPath</h2>
+<p class="totop"><a href="#summary">back to summary</a></p>
+</body></html>

Added: ace/trunk/ace-obr-servlet/test-output/failed.png
URL: http://svn.apache.org/viewvc/ace/trunk/ace-obr-servlet/test-output/failed.png?rev=1350645&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/trunk/ace-obr-servlet/test-output/failed.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/trunk/ace-obr-servlet/test-output/index.html
URL: http://svn.apache.org/viewvc/ace/trunk/ace-obr-servlet/test-output/index.html?rev=1350645&view=auto
==============================================================================
--- ace/trunk/ace-obr-servlet/test-output/index.html (added)
+++ ace/trunk/ace-obr-servlet/test-output/index.html Fri Jun 15 14:51:54 2012
@@ -0,0 +1,407 @@
+<!DOCTYPE html>
+
+<html>
+  <head>
+  <title>TestNG new reports</title>
+
+    <link type="text/css" href="testng-reports.css" rel="stylesheet" />  
+    <script type="text/javascript" src="jquery-1.7.1.min.js"></script>
+    <script type="text/javascript" src="testng-reports.js"></script>
+    <script type="text/javascript" src="https://www.google.com/jsapi"></script>
+    <script type='text/javascript'>
+      google.load('visualization', '1', {packages:['table']});
+      google.setOnLoadCallback(drawTable);
+      var suiteTableInitFunctions = new Array();
+      var suiteTableData = new Array();
+    </script>
+    <!--
+      <script type="text/javascript" src="jquery-ui/js/jquery-ui-1.8.16.custom.min.js"></script>
+     -->
+  </head>
+
+  <body>
+    <div class="top-banner-root">
+      <span class="top-banner-title-font">Test results</span>
+      <br/>
+      <span class="top-banner-font-1">1 suite</span>
+    </div> <!-- top-banner-root -->
+    <div class="navigator-root">
+      <div class="navigator-suite-header">
+        <span>All suites</span>
+        <a href="#" class="collapse-all-link" title="Collapse/expand all the suites">
+          <img class="collapse-all-icon" src="collapseall.gif">
+          </img> <!-- collapse-all-icon -->
+        </a> <!-- collapse-all-link -->
+      </div> <!-- navigator-suite-header -->
+      <div class="suite">
+        <div class="rounded-window">
+          <div class="suite-header light-rounded-window-top">
+            <a href="#" class="navigator-link" panel-name="suite-Default_suite">
+              <span class="suite-name border-passed">Default suite</span>
+            </a> <!-- navigator-link -->
+          </div> <!-- suite-header light-rounded-window-top -->
+          <div class="navigator-suite-content">
+            <div class="suite-section-title">
+              <span>Info</span>
+            </div> <!-- suite-section-title -->
+            <div class="suite-section-content">
+              <ul>
+                <li>
+                  <a href="#" class="navigator-link " panel-name="test-xml-Default_suite">
+                    <span>testng-customsuite.xml</span>
+                  </a> <!-- navigator-link  -->
+                </li>
+                <li>
+                  <a href="#" class="navigator-link " panel-name="testlist-Default_suite">
+                    <span class="test-stats">1 test</span>
+                  </a> <!-- navigator-link  -->
+                </li>
+                <li>
+                  <a href="#" class="navigator-link " panel-name="group-Default_suite">
+                    <span>1 group</span>
+                  </a> <!-- navigator-link  -->
+                </li>
+                <li>
+                  <a href="#" class="navigator-link " panel-name="times-Default_suite">
+                    <span>Times</span>
+                  </a> <!-- navigator-link  -->
+                </li>
+                <li>
+                  <a href="#" class="navigator-link " panel-name="reporter-Default_suite">
+                    <span>Reporter output</span>
+                  </a> <!-- navigator-link  -->
+                </li>
+                <li>
+                  <a href="#" class="navigator-link " panel-name="ignored-methods-Default_suite">
+                    <span>Ignored methods</span>
+                  </a> <!-- navigator-link  -->
+                </li>
+                <li>
+                  <a href="#" class="navigator-link " panel-name="chronological-Default_suite">
+                    <span>Chronological view</span>
+                  </a> <!-- navigator-link  -->
+                </li>
+              </ul>
+            </div> <!-- suite-section-content -->
+            <div class="result-section">
+              <div class="suite-section-title">
+                <span>Results</span>
+              </div> <!-- suite-section-title -->
+              <div class="suite-section-content">
+                <ul>
+                  <li>
+                    <span class="method-stats">6 methods,   6 passed</span>
+                  </li>
+                  <li>
+                    <span class="method-list-title passed">Passed methods</span>
+                    <span class="show-or-hide-methods passed">
+                      <a href="#" panel-name="suite-Default_suite" class="hide-methods
passed suite-Default_suite"> (hide)</a> <!-- hide-methods passed suite-Default_suite
-->
+                      <a href="#" panel-name="suite-Default_suite" class="show-methods
passed suite-Default_suite"> (show)</a> <!-- show-methods passed suite-Default_suite
-->
+                    </span>
+                    <div class="method-list-content passed suite-Default_suite">
+                      <span>
+                        <img width="3%" src="passed.png"/>
+                        <a href="#" class="method navigator-link" panel-name="suite-Default_suite"
title="org.apache.ace.obr.servlet.BundleServletTest" hash-for-method="testGetInValidResource">testGetInValidResource</a>
<!-- method navigator-link -->
+                      </span>
+                      <br/>
+                      <span>
+                        <img width="3%" src="passed.png"/>
+                        <a href="#" class="method navigator-link" panel-name="suite-Default_suite"
title="org.apache.ace.obr.servlet.BundleServletTest" hash-for-method="testGetValidResource">testGetValidResource</a>
<!-- method navigator-link -->
+                      </span>
+                      <br/>
+                      <span>
+                        <img width="3%" src="passed.png"/>
+                        <a href="#" class="method navigator-link" panel-name="suite-Default_suite"
title="org.apache.ace.obr.servlet.BundleServletTest" hash-for-method="testPostResource">testPostResource</a>
<!-- method navigator-link -->
+                      </span>
+                      <br/>
+                      <span>
+                        <img width="3%" src="passed.png"/>
+                        <a href="#" class="method navigator-link" panel-name="suite-Default_suite"
title="org.apache.ace.obr.servlet.BundleServletTest" hash-for-method="testPostResourceInPath">testPostResourceInPath</a>
<!-- method navigator-link -->
+                      </span>
+                      <br/>
+                      <span>
+                        <img width="3%" src="passed.png"/>
+                        <a href="#" class="method navigator-link" panel-name="suite-Default_suite"
title="org.apache.ace.obr.servlet.BundleServletTest" hash-for-method="testRemoveResource">testRemoveResource</a>
<!-- method navigator-link -->
+                      </span>
+                      <br/>
+                      <span>
+                        <img width="3%" src="passed.png"/>
+                        <a href="#" class="method navigator-link" panel-name="suite-Default_suite"
title="org.apache.ace.obr.servlet.BundleServletTest" hash-for-method="testRemoveResourceInPath">testRemoveResourceInPath</a>
<!-- method navigator-link -->
+                      </span>
+                      <br/>
+                    </div> <!-- method-list-content passed suite-Default_suite -->
+                  </li>
+                </ul>
+              </div> <!-- suite-section-content -->
+            </div> <!-- result-section -->
+          </div> <!-- navigator-suite-content -->
+        </div> <!-- rounded-window -->
+      </div> <!-- suite -->
+    </div> <!-- navigator-root -->
+    <div class="wrapper">
+      <div class="main-panel-root">
+        <div panel-name="suite-Default_suite" class="panel Default_suite">
+          <div class="suite-Default_suite-class-passed">
+            <div class="main-panel-header rounded-window-top">
+              <img src="passed.png"/>
+              <span class="class-name">org.apache.ace.obr.servlet.BundleServletTest</span>
+            </div> <!-- main-panel-header rounded-window-top -->
+            <div class="main-panel-content rounded-window-bottom">
+              <div class="method">
+                <div class="method-content">
+                  <a name="testGetInValidResource">
+                  </a> <!-- testGetInValidResource -->
+                  <span class="method-name">testGetInValidResource</span>
+                </div> <!-- method-content -->
+              </div> <!-- method -->
+              <div class="method">
+                <div class="method-content">
+                  <a name="testGetValidResource">
+                  </a> <!-- testGetValidResource -->
+                  <span class="method-name">testGetValidResource</span>
+                </div> <!-- method-content -->
+              </div> <!-- method -->
+              <div class="method">
+                <div class="method-content">
+                  <a name="testPostResource">
+                  </a> <!-- testPostResource -->
+                  <span class="method-name">testPostResource</span>
+                </div> <!-- method-content -->
+              </div> <!-- method -->
+              <div class="method">
+                <div class="method-content">
+                  <a name="testPostResourceInPath">
+                  </a> <!-- testPostResourceInPath -->
+                  <span class="method-name">testPostResourceInPath</span>
+                </div> <!-- method-content -->
+              </div> <!-- method -->
+              <div class="method">
+                <div class="method-content">
+                  <a name="testRemoveResource">
+                  </a> <!-- testRemoveResource -->
+                  <span class="method-name">testRemoveResource</span>
+                </div> <!-- method-content -->
+              </div> <!-- method -->
+              <div class="method">
+                <div class="method-content">
+                  <a name="testRemoveResourceInPath">
+                  </a> <!-- testRemoveResourceInPath -->
+                  <span class="method-name">testRemoveResourceInPath</span>
+                </div> <!-- method-content -->
+              </div> <!-- method -->
+            </div> <!-- main-panel-content rounded-window-bottom -->
+          </div> <!-- suite-Default_suite-class-passed -->
+        </div> <!-- panel Default_suite -->
+        <div panel-name="test-xml-Default_suite" class="panel">
+          <div class="main-panel-header rounded-window-top">
+            <span class="header-content">/private/var/folders/4k/58plh09n605ffjkhv0kpcx540000gn/T/testng-eclipse-143388408/testng-customsuite.xml</span>
+          </div> <!-- main-panel-header rounded-window-top -->
+          <div class="main-panel-content rounded-window-bottom">
+            <pre>
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;!DOCTYPE suite SYSTEM &quot;http://testng.org/testng-1.0.dtd&quot;&gt;
+&lt;suite name=&quot;Default suite&quot;&gt;
+  &lt;test verbose=&quot;2&quot; name=&quot;Default test&quot; preserve-order=&quot;true&quot;&gt;
+    &lt;classes&gt;
+      &lt;class name=&quot;org.apache.ace.obr.servlet.BundleServletTest&quot;/&gt;
+    &lt;/classes&gt;
+  &lt;/test&gt; &lt;!-- Default test --&gt;
+&lt;/suite&gt; &lt;!-- Default suite --&gt;
+            </pre>
+          </div> <!-- main-panel-content rounded-window-bottom -->
+        </div> <!-- panel -->
+        <div panel-name="testlist-Default_suite" class="panel">
+          <div class="main-panel-header rounded-window-top">
+            <span class="header-content">Tests for Default suite</span>
+          </div> <!-- main-panel-header rounded-window-top -->
+          <div class="main-panel-content rounded-window-bottom">
+            <ul>
+              <li>
+                <span class="test-name">Default test (1 class)</span>
+              </li>
+            </ul>
+          </div> <!-- main-panel-content rounded-window-bottom -->
+        </div> <!-- panel -->
+        <div panel-name="group-Default_suite" class="panel">
+          <div class="main-panel-header rounded-window-top">
+            <span class="header-content">Groups for Default suite</span>
+          </div> <!-- main-panel-header rounded-window-top -->
+          <div class="main-panel-content rounded-window-bottom">
+            <div class="test-group">
+              <span class="test-group-name">unit</span>
+              <br/>
+              <div class="method-in-group">
+                <span class="method-in-group-name">testGetInValidResource</span>
+                <br/>
+              </div> <!-- method-in-group -->
+              <div class="method-in-group">
+                <span class="method-in-group-name">testGetValidResource</span>
+                <br/>
+              </div> <!-- method-in-group -->
+              <div class="method-in-group">
+                <span class="method-in-group-name">testPostResource</span>
+                <br/>
+              </div> <!-- method-in-group -->
+              <div class="method-in-group">
+                <span class="method-in-group-name">testPostResourceInPath</span>
+                <br/>
+              </div> <!-- method-in-group -->
+              <div class="method-in-group">
+                <span class="method-in-group-name">testRemoveResource</span>
+                <br/>
+              </div> <!-- method-in-group -->
+              <div class="method-in-group">
+                <span class="method-in-group-name">testRemoveResourceInPath</span>
+                <br/>
+              </div> <!-- method-in-group -->
+            </div> <!-- test-group -->
+          </div> <!-- main-panel-content rounded-window-bottom -->
+        </div> <!-- panel -->
+        <div panel-name="times-Default_suite" class="panel">
+          <div class="main-panel-header rounded-window-top">
+            <span class="header-content">Times for Default suite</span>
+          </div> <!-- main-panel-header rounded-window-top -->
+          <div class="main-panel-content rounded-window-bottom">
+            <div class="times-div">
+              <script type="text/javascript">
+suiteTableInitFunctions.push('tableData_Default_suite');
+function tableData_Default_suite() {
+var data = new google.visualization.DataTable();
+data.addColumn('number', 'Number');
+data.addColumn('string', 'Method');
+data.addColumn('string', 'Class');
+data.addColumn('number', 'Time (ms)');
+data.addRows(6);
+data.setCell(0, 0, 0)
+data.setCell(0, 1, 'testGetValidResource')
+data.setCell(0, 2, 'org.apache.ace.obr.servlet.BundleServletTest')
+data.setCell(0, 3, 8);
+data.setCell(1, 0, 1)
+data.setCell(1, 1, 'testGetInValidResource')
+data.setCell(1, 2, 'org.apache.ace.obr.servlet.BundleServletTest')
+data.setCell(1, 3, 4);
+data.setCell(2, 0, 2)
+data.setCell(2, 1, 'testRemoveResource')
+data.setCell(2, 2, 'org.apache.ace.obr.servlet.BundleServletTest')
+data.setCell(2, 3, 1);
+data.setCell(3, 0, 3)
+data.setCell(3, 1, 'testPostResourceInPath')
+data.setCell(3, 2, 'org.apache.ace.obr.servlet.BundleServletTest')
+data.setCell(3, 3, 0);
+data.setCell(4, 0, 4)
+data.setCell(4, 1, 'testPostResource')
+data.setCell(4, 2, 'org.apache.ace.obr.servlet.BundleServletTest')
+data.setCell(4, 3, 0);
+data.setCell(5, 0, 5)
+data.setCell(5, 1, 'testRemoveResourceInPath')
+data.setCell(5, 2, 'org.apache.ace.obr.servlet.BundleServletTest')
+data.setCell(5, 3, 0);
+window.suiteTableData['Default_suite']= { tableData: data, tableDiv: 'times-div-Default_suite'}
+return data;
+}
+              </script>
+              <span class="suite-total-time">Total running time: 13 ms</span>
+              <div id="times-div-Default_suite">
+              </div> <!-- times-div-Default_suite -->
+            </div> <!-- times-div -->
+          </div> <!-- main-panel-content rounded-window-bottom -->
+        </div> <!-- panel -->
+        <div panel-name="reporter-Default_suite" class="panel">
+          <div class="main-panel-header rounded-window-top">
+            <span class="header-content">Reporter output for Default suite</span>
+          </div> <!-- main-panel-header rounded-window-top -->
+          <div class="main-panel-content rounded-window-bottom">
+          </div> <!-- main-panel-content rounded-window-bottom -->
+        </div> <!-- panel -->
+        <div panel-name="ignored-methods-Default_suite" class="panel">
+          <div class="main-panel-header rounded-window-top">
+            <span class="header-content">0 ignored methods</span>
+          </div> <!-- main-panel-header rounded-window-top -->
+          <div class="main-panel-content rounded-window-bottom">
+          </div> <!-- main-panel-content rounded-window-bottom -->
+        </div> <!-- panel -->
+        <div panel-name="chronological-Default_suite" class="panel">
+          <div class="main-panel-header rounded-window-top">
+            <span class="header-content">Methods in chronological order</span>
+          </div> <!-- main-panel-header rounded-window-top -->
+          <div class="main-panel-content rounded-window-bottom">
+            <div class="chronological-class">
+              <div class="chronological-class-name">org.apache.ace.obr.servlet.BundleServletTest</div>
<!-- chronological-class-name -->
+              <div class="configuration-method before">
+                <span class="method-name">setUp</span>
+                <span class="method-start">0 ms</span>
+              </div> <!-- configuration-method before -->
+              <div class="test-method">
+                <span class="method-name">testGetInValidResource</span>
+                <span class="method-start">49 ms</span>
+              </div> <!-- test-method -->
+              <div class="configuration-method after">
+                <span class="method-name">tearDown</span>
+                <span class="method-start">54 ms</span>
+              </div> <!-- configuration-method after -->
+              <div class="configuration-method before">
+                <span class="method-name">setUp</span>
+                <span class="method-start">55 ms</span>
+              </div> <!-- configuration-method before -->
+              <div class="test-method">
+                <span class="method-name">testGetValidResource</span>
+                <span class="method-start">56 ms</span>
+              </div> <!-- test-method -->
+              <div class="configuration-method after">
+                <span class="method-name">tearDown</span>
+                <span class="method-start">65 ms</span>
+              </div> <!-- configuration-method after -->
+              <div class="configuration-method before">
+                <span class="method-name">setUp</span>
+                <span class="method-start">66 ms</span>
+              </div> <!-- configuration-method before -->
+              <div class="test-method">
+                <span class="method-name">testPostResource</span>
+                <span class="method-start">67 ms</span>
+              </div> <!-- test-method -->
+              <div class="configuration-method after">
+                <span class="method-name">tearDown</span>
+                <span class="method-start">68 ms</span>
+              </div> <!-- configuration-method after -->
+              <div class="configuration-method before">
+                <span class="method-name">setUp</span>
+                <span class="method-start">69 ms</span>
+              </div> <!-- configuration-method before -->
+              <div class="test-method">
+                <span class="method-name">testPostResourceInPath</span>
+                <span class="method-start">70 ms</span>
+              </div> <!-- test-method -->
+              <div class="configuration-method after">
+                <span class="method-name">tearDown</span>
+                <span class="method-start">71 ms</span>
+              </div> <!-- configuration-method after -->
+              <div class="configuration-method before">
+                <span class="method-name">setUp</span>
+                <span class="method-start">72 ms</span>
+              </div> <!-- configuration-method before -->
+              <div class="test-method">
+                <span class="method-name">testRemoveResource</span>
+                <span class="method-start">72 ms</span>
+              </div> <!-- test-method -->
+              <div class="configuration-method after">
+                <span class="method-name">tearDown</span>
+                <span class="method-start">73 ms</span>
+              </div> <!-- configuration-method after -->
+              <div class="configuration-method before">
+                <span class="method-name">setUp</span>
+                <span class="method-start">74 ms</span>
+              </div> <!-- configuration-method before -->
+              <div class="test-method">
+                <span class="method-name">testRemoveResourceInPath</span>
+                <span class="method-start">75 ms</span>
+              </div> <!-- test-method -->
+              <div class="configuration-method after">
+                <span class="method-name">tearDown</span>
+                <span class="method-start">76 ms</span>
+              </div> <!-- configuration-method after -->
+          </div> <!-- main-panel-content rounded-window-bottom -->
+        </div> <!-- panel -->
+      </div> <!-- main-panel-root -->
+    </div> <!-- wrapper -->
+  </body>
+</html>



Mime
View raw message