You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2015/01/31 13:02:11 UTC
[44/50] incubator-kylin git commit: clear warning in query module
clear warning in query module
Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/666624f2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/666624f2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/666624f2
Branch: refs/heads/inverted-index
Commit: 666624f2ba58377a028af12aaffd6aeabee36779
Parents: f9ca3a0
Author: Li, Yang <ya...@ebay.com>
Authored: Thu Jan 29 17:43:27 2015 +0800
Committer: Li, Yang <ya...@ebay.com>
Committed: Thu Jan 29 17:43:27 2015 +0800
----------------------------------------------------------------------
.../query/test/RealizationRegistryTest.java | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/666624f2/query/src/test/java/com/kylinolap/query/test/RealizationRegistryTest.java
----------------------------------------------------------------------
diff --git a/query/src/test/java/com/kylinolap/query/test/RealizationRegistryTest.java b/query/src/test/java/com/kylinolap/query/test/RealizationRegistryTest.java
index ac45e29..9b63f97 100644
--- a/query/src/test/java/com/kylinolap/query/test/RealizationRegistryTest.java
+++ b/query/src/test/java/com/kylinolap/query/test/RealizationRegistryTest.java
@@ -1,28 +1,20 @@
package com.kylinolap.query.test;
-import com.kylinolap.common.KylinConfig;
-import com.kylinolap.common.util.ClasspathUtil;
-import com.kylinolap.metadata.realization.RealizationRegistry;
-import com.kylinolap.metadata.realization.RealizationType;
-import org.junit.Before;
-import org.junit.Test;
+import static org.junit.Assert.*;
-import java.io.File;
import java.util.Set;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
+import org.junit.Test;
+
+import com.kylinolap.common.KylinConfig;
+import com.kylinolap.metadata.realization.RealizationRegistry;
+import com.kylinolap.metadata.realization.RealizationType;
/**
* Created by qianzhou on 1/26/15.
*/
public class RealizationRegistryTest extends KylinQueryTest {
-// @Before
-// public void before() throws Exception {
-// ClasspathUtil.addClasspath(new File("../examples/test_case_data/sandbox/").getAbsolutePath());
-// }
-
@Test
public void test() throws Exception {
final RealizationRegistry registry = RealizationRegistry.getInstance(KylinConfig.getInstanceFromEnv());