You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/01/13 17:47:01 UTC

[jira] [Commented] (SUREFIRE-1437) Improve unit tests. Call PID parser on all platforms in SystemUtilsTest.

    [ https://issues.apache.org/jira/browse/SUREFIRE-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16325249#comment-16325249 ] 

Hudson commented on SUREFIRE-1437:
----------------------------------

ABORTED: Integrated in Jenkins build maven-surefire-dev #103 (See [https://builds.apache.org/job/maven-surefire-dev/103/])
[SUREFIRE-1437] Improve unit tests. Call PID parser on all platforms in (tibor17: [http://git-wip-us.apache.org/repos/asf/?p=maven-surefire.git&a=commit&h=4bf7c39b40ad438fee7160472f282114d5ae57d8])
* (edit) surefire-booter/src/test/java/org/apache/maven/surefire/booter/SystemUtilsTest.java
* (add) surefire-booter/src/test/resources/proc/self/stat
* (edit) surefire-booter/src/main/java/org/apache/maven/surefire/booter/SystemUtils.java
* (add) surefire-booter/src/test/resources/proc/curproc/status


> Improve unit tests. Call PID parser on all platforms in SystemUtilsTest.
> ------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1437
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1437
>             Project: Maven Surefire
>          Issue Type: Test
>            Reporter: Tibor Digana
>            Assignee: Tibor Digana
>             Fix For: 2.21.0.Jigsaw
>
>
> Created additional methods {{pidStatusOnBSD}}, {{pidStatusOnLinux}} with parameter and mock real system links {{/proc/curproc/status}}, {{/proc/self/stat}}, respectively.
> These methods are parser of PID and should be a subject to test improving code coverage.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)