Macadamian/titanium_mobile — pull request #138 by dlifshitz-maca (2012-08-24 21:03:39+00:00)
Title: TIMOB-10162: BlackBerry: Implement Ti.Stream.pump for Anvil

Reviewer: Martin

```
TIMOB-10162: BlackBerry: Implement Ti.Stream.pump for Anvil

[Issues Fixed]
TIMOB-10162: BlackBerry: Implement Ti.Stream.pump for Anvil

[Changes]
Stream.yml
- updated

NativeBufferObject.cpp
- function clear
- make sure the size stays the same

NativeTCPSocketObject.cpp
- function read
- if can't read, call the error handler

bootstrap.js
- implemented function Ti.Stream.pump

[Tests]
Test 1: Run test code
1) Use the app.js attached to the jira
2) Verify the stream is pumped
```