tmf: Fix remote test failing on Windows
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Wed, 18 Nov 2015 21:28:19 +0000 (16:28 -0500)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Sat, 21 Nov 2015 02:16:55 +0000 (21:16 -0500)
commit9ef463a37e5e25f12e85468dafb02c5f1d86edad
tree9b39bbacabee32e5d9241a679336022669ec0fd5
parentab9ca7ea32d9b1a1c933edd94f94ba9575e60aa4
tmf: Fix remote test failing on Windows

IFileInfo.getSize() returns 0 for directories on Windows. "For
directories, the return value is unspecified" so the right thing to do
is to add an isDirectory check.

Change-Id: I6112287adc6cef8fcd7c609edab5bbdfbd933ba3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/60756
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
tmf/org.eclipse.tracecompass.tmf.remote.ui/src/org/eclipse/tracecompass/internal/tmf/remote/ui/wizards/fetch/model/RemoteGenerateManifestOperation.java
This page took 0.024134 seconds and 5 git commands to generate.