changeset 183:67f1ec14b9cd

Removes test methods which were testing if vm-thread-capabilities record was found in db. Feature was removed from thermostat. ( http://icedtea.classpath.org/hg/thermostat/rev/a3579383abe1 )
author Zdenek Zambersky <zzambers@redhat.com>
date Fri, 15 May 2015 19:03:37 +0200
parents 98c90d0f337d
children 40990362e151
files src/org/thermostat/qa2/reporter/Generator.java src/org/thermostat/qa2/tests/DBCommandsHeapDumpTest.java src/org/thermostat/qa2/tests/DBGuiHeapDumpTest.java src/org/thermostat/qa2/tests/DBSchemeSmokeTest.java
diffstat 4 files changed, 1 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/thermostat/qa2/reporter/Generator.java	Fri May 15 19:00:54 2015 +0200
+++ b/src/org/thermostat/qa2/reporter/Generator.java	Fri May 15 19:03:37 2015 +0200
@@ -257,7 +257,7 @@
                         String printedResultString = result == TestResult.PASSED ? "ok" : result == TestResult.FAILED ? "fail" : resultString;
                         output.add("<td class='" + resultString + "-header'><a href='" + "log_" + runs.get(i).date + ".xhtml" + methodref + "'>" + printedResultString + "</a></td>");
                     } else {
-                        output.add("<td> </td>");
+                        output.add("<td>n/a</td>");
                     }
                     ++i;
                 }
--- a/src/org/thermostat/qa2/tests/DBCommandsHeapDumpTest.java	Fri May 15 19:00:54 2015 +0200
+++ b/src/org/thermostat/qa2/tests/DBCommandsHeapDumpTest.java	Fri May 15 19:03:37 2015 +0200
@@ -135,11 +135,6 @@
         assertContainsPattern(scriptOutput, "schema for vm-memory-stats is OK");
     }
 
-    @Test
-    public void vmThreadCapabilities() {
-        assertNotNull(scriptOutput, errMessage);
-        assertContainsPattern(scriptOutput, "schema for vm-thread-capabilities is OK");
-    }
 
     @Test
     public void vmThreadHarvesting() {
--- a/src/org/thermostat/qa2/tests/DBGuiHeapDumpTest.java	Fri May 15 19:00:54 2015 +0200
+++ b/src/org/thermostat/qa2/tests/DBGuiHeapDumpTest.java	Fri May 15 19:03:37 2015 +0200
@@ -165,12 +165,6 @@
     }
     
     @Test
-    public void vmThreadCapabilities() {
-        assertNotNull(scriptOutput, errMessage);
-        assertContainsPattern(scriptOutput, "schema for vm-thread-capabilities is OK");
-    }
-    
-    @Test
     public void vmThreadHarvesting() {
         assertNotNull(scriptOutput, errMessage);
         assertContainsPattern(scriptOutput, "schema for vm-thread-harvesting is OK");
--- a/src/org/thermostat/qa2/tests/DBSchemeSmokeTest.java	Fri May 15 19:00:54 2015 +0200
+++ b/src/org/thermostat/qa2/tests/DBSchemeSmokeTest.java	Fri May 15 19:03:37 2015 +0200
@@ -141,12 +141,6 @@
     }
 
     @Test
-    public void vmThreadCapabilities() {
-        assertNotNull(scriptOutput, "problems running auxiliary js script in mongo shell");
-        assertContainsPattern(scriptOutput, "schema for vm-thread-capabilities is OK");
-    }
-
-    @Test
     public void vmThreadHarvesting() {
         assertNotNull(scriptOutput, "problems running auxiliary js script in mongo shell");
         assertContainsPattern(scriptOutput, "schema for vm-thread-harvesting is OK");