Commit 67871413 by Ashutosh Mestry

ATLAS-2897: Elegant handling of empty zip files. Unit test fix.

parent 5fe6d830
...@@ -56,7 +56,7 @@ public class ZipSourceTest { ...@@ -56,7 +56,7 @@ public class ZipSourceTest {
return getZipSource("sales-v1-full.zip"); return getZipSource("sales-v1-full.zip");
} }
@Test @Test(expectedExceptions = AtlasBaseException.class)
public void improperInit_ReturnsNullCreationOrder() throws IOException, AtlasBaseException { public void improperInit_ReturnsNullCreationOrder() throws IOException, AtlasBaseException {
byte bytes[] = new byte[10]; byte bytes[] = new byte[10];
ByteArrayInputStream bais = new ByteArrayInputStream(bytes); ByteArrayInputStream bais = new ByteArrayInputStream(bytes);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment