diff options
author | Gun Kim <gune.kim@samsung.com> | 2013-06-05 21:33:18 +0900 |
---|---|---|
committer | Gun Kim <gune.kim@samsung.com> | 2013-06-05 21:34:28 +0900 |
commit | 10bbda246cbda8ffb24d1678d21b0e760447b474 (patch) | |
tree | 3fcbe31d948336e8cb1c4eb0fe0375e6c310fe0a | |
parent | 9b6c4948ba4aef74aa99b40538b38b83ce304382 (diff) | |
download | codecoverage-eplugin-10bbda246cbda8ffb24d1678d21b0e760447b474.tar.gz codecoverage-eplugin-10bbda246cbda8ffb24d1678d21b0e760447b474.tar.bz2 codecoverage-eplugin-10bbda246cbda8ffb24d1678d21b0e760447b474.zip |
[Title] applied Sdblib's change.
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]
Change-Id: I972fd0011ea8027d425a5d1b983f2bfb934fbef6
-rw-r--r-- | org.tizen.codecoverage/src/org/tizen/codecoverage/helper/GcovHelper.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/org.tizen.codecoverage/src/org/tizen/codecoverage/helper/GcovHelper.java b/org.tizen.codecoverage/src/org/tizen/codecoverage/helper/GcovHelper.java index bcfd5df..8af71d3 100644 --- a/org.tizen.codecoverage/src/org/tizen/codecoverage/helper/GcovHelper.java +++ b/org.tizen.codecoverage/src/org/tizen/codecoverage/helper/GcovHelper.java @@ -22,6 +22,8 @@ package org.tizen.codecoverage.helper; import static org.tizen.sdblib.service.SyncServiceConstants.RESULT_OK; +import java.io.File; +import java.net.URI; import java.util.LinkedList; import java.util.List; @@ -142,7 +144,7 @@ public class GcovHelper { try { for (String gcdaPath: gcdaPathsInGcno) { - dstFile = gcdaPath; + dstFile = new Path(gcdaPath).removeLastSegments(1).toString(); srcFile = targetPath + gcdaPath; SyncResult syncSuccess = syncService.pull( currentDevice.getFileEntry( srcFile ), dstFile); |