You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2018/06/12 01:34:42 UTC
[kylin] branch master updated: KYLIN-1948,
add test to cover the case.
This is an automated email from the ASF dual-hosted git repository.
shaofengshi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push:
new fd7cc17 KYLIN-1948, add test to cover the case.
fd7cc17 is described below
commit fd7cc177f78e4b037d57e7a28b749c747485040e
Author: tttMelody <24...@qq.com>
AuthorDate: Mon Jun 11 16:14:49 2018 +0800
KYLIN-1948, add test to cover the case.
---
.../test/java/org/apache/kylin/dimension/IntegerDimEncTest.java | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/core-metadata/src/test/java/org/apache/kylin/dimension/IntegerDimEncTest.java b/core-metadata/src/test/java/org/apache/kylin/dimension/IntegerDimEncTest.java
index 039e056..d731a87 100644
--- a/core-metadata/src/test/java/org/apache/kylin/dimension/IntegerDimEncTest.java
+++ b/core-metadata/src/test/java/org/apache/kylin/dimension/IntegerDimEncTest.java
@@ -110,6 +110,15 @@ public class IntegerDimEncTest {
}
@Test
+ // For JIRA: KYLIN-1948
+ public void testEncodeDecodeMinusOne() {
+ for (int i = 1; i < 9; i++) {
+ IntegerDimEnc enc = new IntegerDimEnc(i);
+ testEncodeDecode(enc, -1);
+ }
+ }
+
+ @Test
public void testEncodeDecode() {
for (int i = 1; i <= successValue.size(); i++) {
IntegerDimEnc enc = new IntegerDimEnc(i);
--
To stop receiving notification emails like this one, please contact
shaofengshi@apache.org.