Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Avila2017-05-15 17:34:30 -0400
committerAngel Avila2017-05-17 20:26:02 -0400
commit36632fd9f2b191475211f5563fa85f2e2e85a336 (patch)
treea1389d0f98df381a48dc3bce58d1f76153b496a4
parentf72a9cc0a3ee0eae7350b8f42677bbc2984cbb59 (diff)
downloadorg.eclipse.osee-36632fd9f2b191475211f5563fa85f2e2e85a336.tar.gz
org.eclipse.osee-36632fd9f2b191475211f5563fa85f2e2e85a336.tar.xz
org.eclipse.osee-36632fd9f2b191475211f5563fa85f2e2e85a336.zip
bug: Fix Text and Resolution switched on import0.25.0.v201705181722-NR
-rw-r--r--plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/importer/coverage/LisFileParser.java14
1 files changed, 2 insertions, 12 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 ef9f006109..002858e2bd 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
@@ -162,10 +162,6 @@ public class LisFileParser implements DispoImporterApi {
private void processExceptionHandled(OperationReport report) {
for (String datId : datIdsCoveredByException) {
- if (datId.contains("4:46") || datId.contains("4:47")) {
- System.out.println();
- }
-
Matcher matcher = Pattern.compile("\\d*:\\d*:").matcher(datId);
matcher.find();
String itemDatId = matcher.group();
@@ -179,7 +175,7 @@ public class LisFileParser implements DispoImporterApi {
text = matchingDiscrepancy.getText();
Map<String, Discrepancy> discrepancies = item.getDiscrepanciesList();
discrepancies.remove(matchingDiscrepancy.getId());
- addAnnotationForForCoveredLine(item, line, Exception_Handling_Resolution, text, "");
+ addAnnotationForForCoveredLine(item, line, Exception_Handling_Resolution, "", text);
}
}
}
@@ -290,11 +286,6 @@ public class LisFileParser implements DispoImporterApi {
String.format("Error parsing LIS file: [%s], on function [%s]", lisFile.getLISFile(), function.getName()),
ERROR);
}
-
- if (fileNum == 41 && functionNum == 1) {
- System.out.println();
- }
-
String location;
if (lineData != null) {
boolean isMCDCPair = statementCoverageItem.getIsMCDCPair();
@@ -406,7 +397,7 @@ public class LisFileParser implements DispoImporterApi {
Map<String, Discrepancy> discrepancies = item.getDiscrepanciesList();
discrepancies.remove(matchingDiscrepancy.getId());
item.setDiscrepanciesList(discrepancies);
- addAnnotationForForCoveredLine(item, location, Test_Unit_Resolution, text, resultPath);
+ addAnnotationForForCoveredLine(item, location, Test_Unit_Resolution, resultPath, text);
}
}
@@ -510,7 +501,6 @@ public class LisFileParser implements DispoImporterApi {
newAnnotation.setResolution(coveringFile);
newAnnotation.setIsResolutionValid(true);
newAnnotation.setCustomerNotes(text);
- // dispoConnector.connectAnnotation(newAnnotation, item.getDiscrepanciesList());
List<DispoAnnotationData> annotationsList = item.getAnnotationsList();
int newIndex = annotationsList.size();

Back to the top