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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org

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

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

SUCCESS: Integrated in Jenkins build maven-surefire #1780 (See [https://builds.apache.org/job/maven-surefire/1780/])
[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])
* (add) surefire-booter/src/test/resources/proc/curproc/status
* (edit) surefire-booter/src/main/java/org/apache/maven/surefire/booter/SystemUtils.java
* (add) surefire-booter/src/test/resources/proc/self/stat
* (edit) surefire-booter/src/test/java/org/apache/maven/surefire/booter/SystemUtilsTest.java


> 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)