Treat empty directory properly in skimage.
authorscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 21 Jun 2013 19:12:47 +0000 (19:12 +0000)
committerscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 21 Jun 2013 19:12:47 +0000 (19:12 +0000)
commit2b9424b3420ac4df2c3104f31d3cbdadda1d4ffd
treef3a988cd3da28787ffbb4acf35b9cf8c44490210
parentea33808d32468bc452f0486e2effa9567e869513
Treat empty directory properly in skimage.

Instead of treating an empty directory as a file that failed to
decode, treat it as an empty directory.

Add self tests to check for this.

Builds upon from https://codereview.chromium.org/16866010,
which was reverted.

R=epoger@google.com

Review URL: https://codereview.chromium.org/17101029

git-svn-id: http://skia.googlecode.com/svn/trunk@9730 2bbb7eff-a529-9590-31e7-b0007b416f81
tools/skimage_main.cpp
tools/tests/skimage/output-actual/empty-dir/README [new file with mode: 0644]
tools/tests/skimage/output-actual/nonexistent-dir/README [new file with mode: 0644]
tools/tests/skimage/output-expected/empty-dir/expectations.json [new file with mode: 0644]
tools/tests/skimage/output-expected/nonexistent-dir/expectations.json [new file with mode: 0644]
tools/tests/skimage_self_test.py