Send kea-dev mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/kea-dev
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of kea-dev digest..."


Today's Topics:

   1.  How to properly test callouts? (Marcin Wyszynski)


----------------------------------------------------------------------

Message: 1
Date: Tue, 4 Nov 2014 15:43:37 -0800
From: Marcin Wyszynski <[email protected]>
To: <[email protected]>
Subject: [kea-dev] How to properly test callouts?
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="utf-8"

Dear KEA devs,

I have a statically linked hook library which I?d like to test and I?d want to 
know what the best approach would be. My naive attempt was to create an 
empty?CalloutHandle object, pass it to my hook function and compare the result 
with my expectations. However, that is not so simple. CalloutHandle constructor 
expects at least a boost::shared_ptr<CalloutManager>. Unfortunately I see no 
way to create an actual instance since hooks/callout_manager.h header file is 
not explicitly exported.

Please kindly advise on the best way of dealing with this problem.

Thank you in advance!

Best,
Marcin



------------------------------

_______________________________________________
kea-dev mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-dev

End of kea-dev Digest, Vol 8, Issue 1
*************************************

Reply via email to