Menu

#25 Static variables makes testing hard

1.4
closed-fixed
None
5
2020-02-10
2018-01-02
No

Discussion

  • Daniel Aarno

    Daniel Aarno - 2018-01-02
    • Group: 1.2.x --> 1.4
     
  • Daniel Aarno

    Daniel Aarno - 2020-02-10
    • status: open --> closed-fixed
     
  • Daniel Aarno

    Daniel Aarno - 2020-02-10

    Specfic problem fixed in 1.4-dev branch at [2a4ae2] (test case now pass).

    There are other static variables that should be removed too, but that is not easily doable without large changes to the API (e.g., require every Arg to have a CmdLine object attached to it) so probably something for 2.0. We could probably change these to compile time constants in 1.4 to get rid of the statics, but I'm not convinced it's worth it.

     

    Related

    Commit: [2a4ae2]


Log in to post a comment.