Hi,
That works well, thanks!
On Thu, May 18, 2017 at 5:16 PM, Richard Moore wrote:
> On 18 May 2017 at 11:35, Shantanu Tushar wrote:
>>
>> Any recommendations on how to do I achieve the unit test without
>> needing network access?
>
>
> Here's an example:
>
> https://github.com/richmoore/qt-exa
On 18 May 2017 at 11:35, Shantanu Tushar wrote:
> Any recommendations on how to do I achieve the unit test without
> needing network access?
>
Here's an example:
https://github.com/richmoore/qt-examples/tree/master/qcustomnetworkreply
and a discussion of how it works:
https://blogs.kde.org/
18.05.2017, 13:35, "Shantanu Tushar" :
> Hi,
>
> In one of the unit tests that I am trying to write, I call a function
> that makes a get() call using a QNetworkAccessManager that I pass to
> it. It looks something like this-
>
> bool trackEvent(QString event, QNetworkAccessManager *nam);
>
> How
Hi,
In one of the unit tests that I am trying to write, I call a function
that makes a get() call using a QNetworkAccessManager that I pass to
it. It looks something like this-
bool trackEvent(QString event, QNetworkAccessManager *nam);
However, I do not want actual HTTP calls being made during