Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5056] Filesystem Blob empty file size should be 0 failure in drillbit

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-09-13T14:17:47.000+0000
Affected Version/sn/a
Fix Version/sSprint 2011-36, Release 1.8.0
Componentsn/a
Labelsn/a
ReporterReggie Seagraves
AssigneeSabil Rahim
Created2011-08-19T10:29:05.000+0000
Updated2017-03-08T00:03:54.000+0000

Description

emptyFile false 398 should be: "0", was:"110" emptyFile: function() { 396 var emptyFile = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, "empty.txt"); 397 valueOf(emptyFile).shouldNotBeNull(); 398 valueOf(emptyFile.size).shouldBe(0); 399 400 var blob = emptyFile.read(); 401 valueOf(blob.length).shouldBe(0); 402 valueOf(blob.text).shouldBe(""); 403 valueOf(blob.toString()).shouldBe(""); 404 }

Comments

  1. Sabil Rahim 2011-09-07

    pending pull #448
  2. Lee Morris 2017-03-08

    Closing ticket due to time passed.

JSON Source