summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2014-05-07 14:28:28 (EDT)
committerTomasz Zarna2014-05-07 16:03:51 (EDT)
commitbd39a2ef3a536986bb2561df8b6e7e4591173fe0 (patch)
tree914eadc9161f5a17bad25de10b9efaa5874c9b91
parent0b83f6443dd3709c7d1c6be3c63471af39cf9f2f (diff)
downloadorg.eclipse.mylyn.reviews-bd39a2ef3a536986bb2561df8b6e7e4591173fe0.zip
org.eclipse.mylyn.reviews-bd39a2ef3a536986bb2561df8b6e7e4591173fe0.tar.gz
org.eclipse.mylyn.reviews-bd39a2ef3a536986bb2561df8b6e7e4591173fe0.tar.bz2
add test for isZippedContent(null)refs/changes/66/26166/2
Change-Id: I72fe6dc7cb0754d271dd7804a1d704b7cd38adca Signed-off-by: Sam Davis <sam.davis@tasktop.com>
-rw-r--r--org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/core/client/GerritClientTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/core/client/GerritClientTest.java b/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/core/client/GerritClientTest.java
index 04c75c5..3ba8470 100644
--- a/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/core/client/GerritClientTest.java
+++ b/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/core/client/GerritClientTest.java
@@ -311,6 +311,7 @@ public class GerritClientTest extends TestCase {
assertFalse(GerritClient.isZippedContent("notzippedcontent".getBytes()));
assertFalse(GerritClient.isZippedContent("PK".getBytes()));
assertFalse(GerritClient.isZippedContent("".getBytes()));
+ assertFalse(GerritClient.isZippedContent(null));
}
}