[tor-commits] [collector/master] Adapted cobertura-check to the new coverage rates.

karsten at torproject.org karsten at torproject.org
Fri Sep 30 13:48:49 UTC 2016


commit 7ea23e7e52f31aa68f1afe0b2699b72d4e676170
Author: iwakeh <iwakeh at torproject.org>
Date:   Fri Sep 30 12:13:24 2016 +0200

    Adapted cobertura-check to the new coverage rates.
---
 build.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/build.xml b/build.xml
index 11d1f92..ffbeb31 100644
--- a/build.xml
+++ b/build.xml
@@ -280,11 +280,13 @@
         <include name="**/*.java" />
       </fileset>
     </cobertura-report>
-    <cobertura-check totallinerate="7" totalbranchrate="2" >
+    <cobertura-check totallinerate="31" totalbranchrate="26" >
+      <regex pattern="org.torproject.collector.bridgedescs"
+             branchrate="87" linerate="73"/>
       <regex pattern="org.torproject.collector.conf"
              branchrate="87" linerate="100"/>
       <regex pattern="org.torproject.collector.cron"
-             branchrate="50" linerate="71" />
+             branchrate="66" linerate="72" />
       <regex pattern="org.torproject.collector.Main"
              branchrate="100" linerate="91" />
     </cobertura-check>





More information about the tor-commits mailing list