I see. I'll try to write with a more end-to-end test framework then.
Thank you.

Patrick

On 10/3/14 9:59 PM, Benjamin Smedberg wrote:
> 
> On 10/3/2014 9:46 AM, Patrick Wang wrote:
>> The test I am writing is to test an implementation of WebRTC's TCP
>> socket in content process. These codes are build on top of TCPSocket's
>> IPDL in C++ and don't have IDL so it cannot be called directly from JS,
>> and the tests for chrome process version are written with gtest.
>> Therefore I am thinking of writing a similar one with gtest but run in
>> content process.
> 
> Does the unit of code you're testing include two processes communicating
> via IPDL? If so, I think you're going to need something more than a C++
> unit test, and should probably focus your efforts on a more end-to-end
> integration test. Setting up IPDL connections and all of the machinery
> that goes with that doesn't sounds like something we should be trying in
> low-level unit tests.
> 
> --BDS
> 
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to