You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2022/04/12 12:22:55 UTC

[incubator-linkis] branch dev-1.1.2 updated: remove unused test ut (#1957)

This is an automated email from the ASF dual-hosted git repository.

peacewong pushed a commit to branch dev-1.1.2
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git


The following commit(s) were added to refs/heads/dev-1.1.2 by this push:
     new 3371401cf remove unused test ut (#1957)
3371401cf is described below

commit 3371401cf61a2545b8ba0d5024216d2d8882c790
Author: legendtkl <ta...@gmail.com>
AuthorDate: Tue Apr 12 20:22:50 2022 +0800

    remove unused test ut (#1957)
---
 .../java/org/apache/linkis/udf/TestUDFTree.java    | 43 ----------------------
 1 file changed, 43 deletions(-)

diff --git a/linkis-public-enhancements/linkis-publicservice/linkis-udf/linkis-udf-service/src/test/java/org/apache/linkis/udf/TestUDFTree.java b/linkis-public-enhancements/linkis-publicservice/linkis-udf/linkis-udf-service/src/test/java/org/apache/linkis/udf/TestUDFTree.java
deleted file mode 100644
index 875fde84b..000000000
--- a/linkis-public-enhancements/linkis-publicservice/linkis-udf/linkis-udf-service/src/test/java/org/apache/linkis/udf/TestUDFTree.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.linkis.udf;
-
-import java.io.File;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Modifier;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.net.URLClassLoader;
-
-public class TestUDFTree {
-
-    public static void main(String[] args)
-            throws MalformedURLException, ClassNotFoundException, NoSuchMethodException {
-        File hiveDependency =
-                new File("repository\\org\\apache\\hive\\hive-exec\\1.2.1\\hive-exec-1.2.1.jar");
-        File jar = new File("E:\\tm_client_1.6.jar");
-        URL[] url = {
-            new URL("file:" + jar.getAbsolutePath()),
-            new URL("file:" + hiveDependency.getAbsolutePath())
-        };
-        URLClassLoader loader = URLClassLoader.newInstance(url);
-        Class clazz = loader.loadClass("org.apache.linkis.mask.udf.BdpAddressFirstEightMask");
-        Constructor constructor = clazz.getConstructor(new Class[0]);
-        Modifier.isPublic(constructor.getModifiers());
-    }
-}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org