User Activity

  • Posted a comment on discussion General Discussion on NovaProva

    Awesome I'm glad to hear you got np_mock() to work for you. For non-public methods the right thing to do would be np_mock_by_name() but that probably won't handle actual C++ method signatures. You might be able to pass the mangled name. I haven't tried. On Sat, Oct 14, 2017 at 12:50 Rohith Jayakumar rojayaku@users.sf.net wrote: Hi Greg, Thanks for the suggestion, by providing the address of the functions prefixed with the class name scope resolution operator, i was able to mock the public function....

  • Posted a comment on discussion General Discussion on NovaProva

    Without seeeing an actual test case, here's what I think is going on. The first argument to np_mock() needs to be the address of withinAAAMethod(). Instead you're calling the method and passing its return value. Your compiler is not complaining because np_mock() is actually a macro which casts its first argument thus defeating type checking. On Thu, Oct 12, 2017 at 03:38 Rohith Jayakumar rojayaku@users.sf.net wrote: Hi Greg, Thanks for your response. I tried mocking one of the member functions which...

  • Posted a comment on discussion General Discussion on NovaProva

    Hi RJ, Thanks for looking into NovaProva. To answer your questions: On 11 October 2017 at 06:01, Rohith Jayakumar rojayaku@users.sf.net wrote: Hi, I am working on a C++ project and in need of performing unit testing for my C++ class member functions using NovaProva, could you please let me know if there are sample examples on how we can use NovaProva for testing C++ class functions I haven't written any such examples. If there were examples they would be very similar to the C examples, particularly...

  • Posted a comment on discussion General Discussion on NovaProva

    G'day, The Mac OS X port of NovaProva is ready for folks to try it out. I've added...

  • Posted a comment on discussion General Discussion on NovaProva

    Sent from my iPhone On Aug 16, 2015, at 2:00, "Greig" greighamilton@users.sf.net...

  • Posted a comment on discussion General Discussion on NovaProva

    ...and to be clear, I'm eagerly awaiting your patch. On 16 August 2015 at 07:44,...

  • Posted a comment on discussion General Discussion on NovaProva

    G'day, Nope, no internal documentation - sorry. I just pushed a commit for an error...

  • Posted a comment on discussion General Discussion on NovaProva

    Curious. I would expect that to work. Does the tnmemleak regression test pass? How...

View All

Personal Data

Username:
gnb
Joined:
2000-04-03 08:12:25

Projects

This is a list of open source software projects that Greg Banks is associated with:

Personal Tools