Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9707] Anvil: testSocketIO test in network_socket_tcp test suite is incorrect

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-05-01T22:20:37.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sn/a
ComponentsDrillbit
Labelsanvil, core, linvalid
ReporterAllen Yeung
AssigneeEric Merriman
Created2012-06-21T14:44:10.000+0000
Updated2017-05-22T22:14:31.000+0000

Description

Per documentation: - Read/WriteStreamCallbackArgs.errorState is either 0 or 1. - Read/WriteStreamCallbackArgs.errorDescription is empty string when no error. - CreateBufferArgs has value, not data Correct validation:
	valueOf(testRun, e.errorState).shouldBe(0);
	valueOf(testRun, e.errorDescription).shouldBe('');

Comments

  1. Ping Wang 2012-07-16

    Tested with 2_1_X branch on Android. Can not reproduce.
  2. Lee Morris 2017-05-01

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

JSON Source