You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Gordon Sim <gs...@redhat.com> on 2015/02/02 17:01:40 UTC
[proton]: testing handlers written in c under jython?
I tried switching to use the CFlowController as part of some
rationalisation and consolidation. This works fine from cpython, but it
causes the recent 'utils' tests to fail under jython. I suppose this is
simply because there is no equivalent to pn_flowcontroller there.
Should tests that use a c-handler simply be added to
tests/java/pythonTests.ignore?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org
Re: [proton]: testing handlers written in c under jython?
Posted by Rafael Schloming <rh...@alum.mit.edu>.
Yeah, exactly.
--Rafael
On Mon, Feb 2, 2015 at 12:31 PM, Gordon Sim <gs...@redhat.com> wrote:
> On 02/02/2015 05:16 PM, Rafael Schloming wrote:
>
>> Ok, if you try now those tests (or any test that attempts to use one of
>> the
>> C handlers) should just be automatically skipped under jython.
>>
>
> Great thanks!
>
> So the correct approach for anything like this is to add an equivalent
> method that simply raises the Skipped exception.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>
Re: [proton]: testing handlers written in c under jython?
Posted by Gordon Sim <gs...@redhat.com>.
On 02/02/2015 05:16 PM, Rafael Schloming wrote:
> Ok, if you try now those tests (or any test that attempts to use one of the
> C handlers) should just be automatically skipped under jython.
Great thanks!
So the correct approach for anything like this is to add an equivalent
method that simply raises the Skipped exception.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org
Re: [proton]: testing handlers written in c under jython?
Posted by Rafael Schloming <rh...@alum.mit.edu>.
Ok, if you try now those tests (or any test that attempts to use one of the
C handlers) should just be automatically skipped under jython.
--Rafael
On Mon, Feb 2, 2015 at 11:54 AM, Rafael Schloming <rh...@alum.mit.edu> wrote:
> I can fix that in a better way. I'm afk at the moment, but will submit a
> fix soon.
> On Feb 2, 2015 11:03 AM, "Gordon Sim" <gs...@redhat.com> wrote:
>
>> I tried switching to use the CFlowController as part of some
>> rationalisation and consolidation. This works fine from cpython, but it
>> causes the recent 'utils' tests to fail under jython. I suppose this is
>> simply because there is no equivalent to pn_flowcontroller there.
>>
>> Should tests that use a c-handler simply be added to
>> tests/java/pythonTests.ignore?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
>> For additional commands, e-mail: users-help@qpid.apache.org
>>
>>
Re: [proton]: testing handlers written in c under jython?
Posted by Rafael Schloming <rh...@alum.mit.edu>.
I can fix that in a better way. I'm afk at the moment, but will submit a
fix soon.
On Feb 2, 2015 11:03 AM, "Gordon Sim" <gs...@redhat.com> wrote:
> I tried switching to use the CFlowController as part of some
> rationalisation and consolidation. This works fine from cpython, but it
> causes the recent 'utils' tests to fail under jython. I suppose this is
> simply because there is no equivalent to pn_flowcontroller there.
>
> Should tests that use a c-handler simply be added to
> tests/java/pythonTests.ignore?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>