Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9709] Anvil: pump test in stream test suite fails on both iOS and Android

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-05-01T22:18:45.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sn/a
ComponentsDrillbit
Labelsanvil, core, linvalid
ReporterAllen Yeung
AssigneeEric Merriman
Created2012-06-21T15:02:41.000+0000
Updated2017-05-22T22:14:30.000+0000

Description

To reproduce run the pump test inside the stream test suite in anvil. This is most likely a porting/anvil issue. We get an error:
TypeError: Object [object Object] has no method 'async' / 406 

// Line 406 in code:
Ti.Stream.pump(blobStream, this.async(handler), chunksize, true);
anvil either does not handle 'this.async' correctly or we need to modify the test case.

Comments

  1. Ping Wang 2012-07-16

    Tested with 2_1_X branch on Android. Can not reproduce.
  2. Opie Cyrus 2012-08-06

    The reported issue was a test porting issue where the test needed to be updated to use the new async testing mechanism.
  3. Lee Morris 2017-05-01

    Closing ticket as "Won't Fix" as Anvil is no longer supported.

JSON Source