"super-manually"
>>>>>>
>>>>>> 1. thrift -r --gen js:jquery ThriftTest.thrift
>>>>>>
>>>>>> to generate the client code
>>>>>>
>>>>>> 2. thrift -r --gen php:server ThriftTest.thrift
>>>&g
ngliche Nachricht-
> Von: Andrew Grumet [mailto:aegru...@gmail.com]
> Gesendet: Freitag, 23. Dezember 2011 10:30
> An: dev@thrift.apache.org
> Betreff: Re: Javascript Async tests
>
> Ok, answering my own question for future searches. Callback support
> requires the jquery
nd load to run tests.
>>>>
>>>> Though not automated, this method has proved useful for testing out our
>>>> new
>>>> code.
>>>>
>>>> Are we missing any steps here?
>>>>
>>>> Thanks!
>>>> Andrew
>>
suite:
lib/js/test$ ant testserver
for manual test
and
lib/js/test$ ant test
with phantomjs
-roger
> -Ursprüngliche Nachricht-
> Von: Andrew Grumet [mailto:aegru...@gmail.com]
> Gesendet: Freitag, 23. Dezember 2011 10:30
> An: dev@thrift.apache.org
> Betreff: Re: J
sing any steps here?
>>
>> Thanks!
>> Andrew
>>
>>
>>
>> On Fri, Dec 23, 2011 at 2:01 AM, Roger Meier **
>> wrote:
>>
>> Yes!
>>>
>>> Or just use the integrated testsuite:
>>>
>>> lib/js/test$ ant testserver
>
g, 23. Dezember 2011 10:30
> An: dev@thrift.apache.org
> Betreff: Re: Javascript Async tests
>
> Ok, answering my own question for future searches. Callback support
> requires the jquery option
>
> thrift -r --gen js:jquery ThriftTest.thrift
>
>
> On Thu, Dec 22
; lib/js/test$ ant testserver
> for manual test
>
> and
> lib/js/test$ ant test
> with phantomjs
>
> -roger
>
> > -Ursprüngliche Nachricht-
> > Von: Andrew Grumet [mailto:aegru...@gmail.com]
> > Gesendet: Freitag, 23. Dezember 2011 10:30
> > An:
t.apache.org
> Betreff: Re: Javascript Async tests
>
> Ok, answering my own question for future searches. Callback support
> requires the jquery option
>
> thrift -r --gen js:jquery ThriftTest.thrift
>
>
> On Thu, Dec 22, 2011 at 4:48 PM, Andrew Grumet
> wrote:
Ok, answering my own question for future searches. Callback support
requires the jquery option
thrift -r --gen js:jquery ThriftTest.thrift
On Thu, Dec 22, 2011 at 4:48 PM, Andrew Grumet wrote:
>
> We're running some tests of the Javascript client (lib/js/test/test.js)
> and noticed that the
We're running some tests of the Javascript client (lib/js/test/test.js) and
noticed that the Async tests ( module("Async") ) do not appear to be
running the supplied callbacks. For example, in this block
test("Double", function() {
expect( 1 );
QUnit.stop();
client.testDouble(3.14
10 matches
Mail list logo