#134 Test units for libpkg(updated periodically )

open
nobody
Analysis (17)
5
2012-08-11
2012-07-26
No

I am testing both pkg_permserver and pkg_permserver_ip in a single test because they call the same private implementation function.
This is also the reason why I am not testing the first (port, protocol etc ) parameters for permserver_ip.

pkg_open Unit test requires server to be started manually, found no other " easy " workaround that would be portable.

I will update the tracker with the rest of the tests aswell, for the moment portability is causing some difficulties.

Discussion

  • Andrei Popescu

    Andrei Popescu - 2012-08-11
    • labels: 622302 --> Analysis
    • summary: Test units for pkg_permserver , pkg_permserver_ip and pkg_op --> Test units for libpkg(updated periodically )
     
  • Andrei Popescu

    Andrei Popescu - 2012-08-14

    need to do some fixes, to remove unnecessary cases. will be fixed soon

     
  • Andrei Popescu

    Andrei Popescu - 2012-08-18

    pkg_block, pkg_close, pkg_flush, pkg_getclient, pkg_open

     
  • Andrei Popescu

    Andrei Popescu - 2012-08-18

    pkg_permserver, pkg_process, pkg_stream, pkg_suckin

     
  • Andrei Popescu

    Andrei Popescu - 2012-08-18

    Test units up to date, if possible, I would need some feedback on the two unit tests that aren't in patch format, I have asked some help on IRC regarding them.

     
  • Andrei Popescu

    Andrei Popescu - 2012-08-18

    Should not be applied, memory issues. haven't managed to solve them

     
  • Andrei Popescu

    Andrei Popescu - 2012-08-18

    Should not be applied, cannot overcome infinite loop.

     

Log in to post a comment.