Writing a unit test to test support for proxied connections in a computer that is not behind a proxy?
Adrián Chaves Fernández
adriyetichaves at gmail.com
Sat Aug 9 16:14:26 BST 2014
“I’m trying to maintain the KDE MediaWiki Library, so far only used by KIPI
plugins, but I have some pet projects that rely on it as well. As part of
that, I aim to keep the list of bug reports and feature requests
(https://bugs.kde.org/buglist.cgi?product=libmediawiki&component=general&resolution=---&list_id=1061346) empty. As the library is barely used it is a fairly easy
task, however I can’t figure out how to start with the only reported issue
(feature request) so far: proxy support.
I’m confident that I will be able to figure out how to implement the feature
reading the API docs. I’m sure that there are several ways for me to make my
computer think that it is behind a proxy, or to actually put it behind a proxy
somehow (I can probably do something to the router to achieve that). But since
I’m not usually behind a proxy myself, what I want first is to write a unit
test for this feature, to make sure that I do not break it in the future.
Has anyone here ever written a unit test to test support for proxied
connections in a computer that is not behind a proxy? Do you think that it is
possible? Specifically testing that the software uses the (KDE) system-wide
I sent the message above back in June to kde-testing:
It was suggested to me at https://bugs.kde.org/show_bug.cgi?id=302598 to send
it to this mailing list instead, and see if I got luckier.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
More information about the kde-core-devel