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

songxiaosheng pushed a commit to branch auto_gen_doc
in repository https://gitbox.apache.org/repos/asf/dubbo-spi-extensions.git


The following commit(s) were added to refs/heads/auto_gen_doc by this push:
     new d6c143a  :memo: visit code tree to gen doc
d6c143a is described below

commit d6c143a92299c30efb6291761de18eca6b982849
Author: songxiaosheng <[email protected]>
AuthorDate: Sun Oct 1 10:18:32 2023 +0800

    :memo: visit code tree to gen doc
---
 doc-auto-gen/pom.xml                               | 16 +++++++++
 .../main/java/org/apache/dubbo/doc/DocAutoGen.java | 16 +++++++++
 .../src/test/java/org/example/AppTest.java         | 38 ----------------------
 3 files changed, 32 insertions(+), 38 deletions(-)

diff --git a/doc-auto-gen/pom.xml b/doc-auto-gen/pom.xml
index e85c1af..17ebf6b 100644
--- a/doc-auto-gen/pom.xml
+++ b/doc-auto-gen/pom.xml
@@ -1,3 +1,19 @@
+<!--
+  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.
+  -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
     <modelVersion>4.0.0</modelVersion>
diff --git a/doc-auto-gen/src/main/java/org/apache/dubbo/doc/DocAutoGen.java 
b/doc-auto-gen/src/main/java/org/apache/dubbo/doc/DocAutoGen.java
index c1c3baf..6d16db5 100644
--- a/doc-auto-gen/src/main/java/org/apache/dubbo/doc/DocAutoGen.java
+++ b/doc-auto-gen/src/main/java/org/apache/dubbo/doc/DocAutoGen.java
@@ -1,3 +1,19 @@
+/*
+ * 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.dubbo.doc;
 
 import java.io.*;
diff --git a/doc-auto-gen/src/test/java/org/example/AppTest.java 
b/doc-auto-gen/src/test/java/org/example/AppTest.java
deleted file mode 100644
index d5f435d..0000000
--- a/doc-auto-gen/src/test/java/org/example/AppTest.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package org.example;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest 
-    extends TestCase
-{
-    /**
-     * Create the test case
-     *
-     * @param testName name of the test case
-     */
-    public AppTest( String testName )
-    {
-        super( testName );
-    }
-
-    /**
-     * @return the suite of tests being tested
-     */
-    public static Test suite()
-    {
-        return new TestSuite( AppTest.class );
-    }
-
-    /**
-     * Rigourous Test :-)
-     */
-    public void testApp()
-    {
-        assertTrue( true );
-    }
-}

Reply via email to