harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r579285 - in /harmony/enhanced/buildtest/branches/2.0/tests/eut: ./ summary-reporter/src/org/apache/harmony/eut/reporter/
Date Tue, 25 Sep 2007 14:56:16 GMT
Author: smishura
Date: Tue Sep 25 07:56:15 2007
New Revision: 579285

URL: http://svn.apache.org/viewvc?rev=579285&view=rev
Log:
Apply patch from HARMONY-4847:
([buildtest][eut] rename index.htm to index.html and add links to output.txt and report.txt)

Modified:
    harmony/enhanced/buildtest/branches/2.0/tests/eut/build.xml
    harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTHTMLSummaryEmitter.java
    harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTReporter.java
    harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTTXTReportEmitter.java

Modified: harmony/enhanced/buildtest/branches/2.0/tests/eut/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/eut/build.xml?rev=579285&r1=579284&r2=579285&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/eut/build.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/eut/build.xml Tue Sep 25 07:56:15 2007
@@ -394,7 +394,7 @@
                 <include name="results/html/*.html"/>
                 <include name="output.txt"/>
                 <include name="report.txt"/>
-                <include name="index.htm"/>
+                <include name="index.html"/>
             </fileset>
         </copy>
     </target>

Modified: harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTHTMLSummaryEmitter.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTHTMLSummaryEmitter.java?rev=579285&r1=579284&r2=579285&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTHTMLSummaryEmitter.java
(original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTHTMLSummaryEmitter.java
Tue Sep 25 07:56:15 2007
@@ -22,7 +22,7 @@
  */
 final class EUTHTMLSummaryEmitter {
 
-    /** Keeps the output stream to write the index.htm data into. */
+    /** Keeps the output stream to write the index.html data into. */
     private static PrintWriter out;
 
     /** Emits JUnit like html report with EUT specific fields w/o frames. */
@@ -35,6 +35,7 @@
         emitAbsoluteSummary(esi.ss, esi.tests_crashed_total);
         emitNoteOfErrorFailures();
         emitNoteOfSummary();
+        emitLinksToLogReports();
         emitSuitesStatictics();
         emitHTMLEnd();
     }
@@ -153,6 +154,21 @@
         out.println("  </TD></TR></TBODY></TABLE>");
     }
 
+    private static void emitLinksToLogReports() {
+        out.println("<TABLE width=\"95%\" border=0>");
+        out.println("  <TBODY><TR>");
+        out.println("  <TD style=\"TEXT-ALIGN: justify\">");
+        out.println("  <u>For more details see also:</u>");
+
+        out.println("<li><a href=\"output.txt\"><EM>output.txt</EM></a>
- "
+                + "contains EUT scripts run output (both standard and error).");
+        out.println("<li><a href=\"report.txt\"><EM>report.txt</EM></a>
- "
+                + "contains unexpected failures/errors details (like stack "
+                + "traces) collected from correspondent xml reports.");
+
+        out.println("  </TD></TR></TBODY></TABLE>");
+    }
+
     private static void emitSuitesStatictics() {
         out.println("<H2>Suites Detailes</H2>");
         out.println("<TABLE class=details cellSpacing=2 cellPadding=5 "
@@ -174,7 +190,8 @@
                 out.println("  <TR class=\"\" vAlign=top>");
                 out.println("    <TD>" + si.name + "</TD>");
                 out.println("    <TD>" + si.tests_total + "</TD>");
-                out.println("    <TD colspan=3 align=center><EM>not run</EM></TD>");
+                out.println("    <TD colspan=3 align=center><EM>not run"
+                        + "</EM></TD></TR>");
             }
         }
         out.println("  </TBODY></TABLE>");

Modified: harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTReporter.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTReporter.java?rev=579285&r1=579284&r2=579285&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTReporter.java
(original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTReporter.java
Tue Sep 25 07:56:15 2007
@@ -222,9 +222,9 @@
         esi.testedJavaVersionLog = testedJavaVersionLog;
         esi.runningJavaVersionLog = runningJavaVersionLog;
 
-        // print statistics into summary index.htm 
+        // print statistics into summary index.html 
         PrintWriter out = new PrintWriter(results_dir + File.separatorChar +
-                "index.htm");
+                "index.html");
         EUTHTMLSummaryEmitter.emitHTMLReport(out, esi);
         out.close();
 

Modified: harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTTXTReportEmitter.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTTXTReportEmitter.java?rev=579285&r1=579284&r2=579285&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTTXTReportEmitter.java
(original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTTXTReportEmitter.java
Tue Sep 25 07:56:15 2007
@@ -25,7 +25,7 @@
  */
 final class EUTTXTReportEmitter {
 
-    /** Keeps the output stream to write the index.htm data into. */
+    /** Keeps the output stream to write the report.txt data into. */
     private static PrintWriter out;
 
     /** Emits EUT issues information into specified output. */



Mime
View raw message