Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominic Guss2018-08-14 19:05:28 -0400
committerDonald Dunne2018-08-20 19:00:51 -0400
commit78b5508bbf4a4acf8439ae6ba22326a4689b114f (patch)
tree442a2b5e194ca968936bc1ff859f88bfc40b788f
parent62b56983089008448b39514898f9a58b6bbcc760 (diff)
downloadorg.eclipse.osee-78b5508bbf4a4acf8439ae6ba22326a4689b114f.tar.gz
org.eclipse.osee-78b5508bbf4a4acf8439ae6ba22326a4689b114f.tar.xz
org.eclipse.osee-78b5508bbf4a4acf8439ae6ba22326a4689b114f.zip
bug[ats_TW10425]: Coverage tool not accounting for Ada OTHERS outside of exception blocks0.25.4.v201808202310-NR
Change-Id: I43ad77e88b5e7fc419b99221ea18a6952c802e01 Signed-off-by: Dominic Guss <Dominic.Guss@boeing.com>
-rw-r--r--plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/importer/coverage/LisFileParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/importer/coverage/LisFileParser.java b/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/importer/coverage/LisFileParser.java
index 4e40bad336b..c04b9c9fdb7 100644
--- a/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/importer/coverage/LisFileParser.java
+++ b/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/importer/coverage/LisFileParser.java
@@ -66,7 +66,7 @@ public class LisFileParser implements DispoImporterApi {
private static final String LOG = "\\s*(log).*";
private static final String EXIT_WHEN = "\\s*\\( \\)\\s*\\( \\)\\s*(EXIT WHEN).*";
private static final String WHEN_FOR = "\\s*\\( \\)\\s*(WHEN|FOR).*";
- private static final String WHEN_CASE = "^(?=.*WHEN)(?!.*OTHERS).*";
+ private static final String WHEN_CASE = "(.*\\bWHEN\\b\\s*[^:]*$)";
private final DispoDataFactory dataFactory;

Back to the top