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

zhengqiwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c2cc59b5 [chore] add service test tmpl file (#2472)
0c2cc59b5 is described below

commit 0c2cc59b558c8f8bc800c308aab1b7f45b7bc552
Author: YuLuo <[email protected]>
AuthorDate: Tue Aug 6 00:37:55 2024 +0800

    [chore] add service test tmpl file (#2472)
    
    Signed-off-by: yuluo-yx <[email protected]>
    Co-authored-by: Calvin <[email protected]>
---
 .../manager/service/AccountServiceTest.java        | 27 +++++++++++++++++++++
 .../manager/service/AlibabaAiServiceTest.java      | 27 +++++++++++++++++++++
 .../manager/service/KimiAiServiceTest.java         | 28 ++++++++++++++++++++++
 .../service/MailGeneralConfigServiceTest.java      | 27 +++++++++++++++++++++
 .../service/ObjectStoreConfigServiceTest.java      | 27 +++++++++++++++++++++
 .../manager/service/ObsObjectStoreServiceTest.java | 27 +++++++++++++++++++++
 .../service/SmsGeneralConfigServiceTest.java       | 27 +++++++++++++++++++++
 .../manager/service/SparkDeskAiServiceTest.java    | 27 +++++++++++++++++++++
 .../manager/service/StatusPageServiceTest.java     | 27 +++++++++++++++++++++
 .../service/SystemGeneralConfigServiceTest.java    | 27 +++++++++++++++++++++
 .../manager/service/SystemSecretServiceTest.java   | 27 +++++++++++++++++++++
 .../manager/service/ZhiPuServiceTest.java          | 27 +++++++++++++++++++++
 12 files changed, 325 insertions(+)

diff --git 
a/manager/src/test/java/org/apache/hertzbeat/manager/service/AccountServiceTest.java
 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/AccountServiceTest.java
new file mode 100644
index 000000000..46f55d22b
--- /dev/null
+++ 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/AccountServiceTest.java
@@ -0,0 +1,27 @@
+/*
+ * 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.hertzbeat.manager.service;
+
+import org.apache.hertzbeat.manager.service.impl.AccountServiceImpl;
+
+/**
+ * test case for {@link AccountServiceImpl}
+ */
+
+class AccountServiceTest {
+}
diff --git 
a/manager/src/test/java/org/apache/hertzbeat/manager/service/AlibabaAiServiceTest.java
 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/AlibabaAiServiceTest.java
new file mode 100644
index 000000000..ac6b7bbcc
--- /dev/null
+++ 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/AlibabaAiServiceTest.java
@@ -0,0 +1,27 @@
+/*
+ * 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.hertzbeat.manager.service;
+
+import org.apache.hertzbeat.manager.service.impl.AlibabaAiServiceImpl;
+
+/**
+ * test case for {@link AlibabaAiServiceImpl}
+ */
+
+class AlibabaAiServiceTest {
+}
diff --git 
a/manager/src/test/java/org/apache/hertzbeat/manager/service/KimiAiServiceTest.java
 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/KimiAiServiceTest.java
new file mode 100644
index 000000000..30f0eb790
--- /dev/null
+++ 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/KimiAiServiceTest.java
@@ -0,0 +1,28 @@
+/*
+ * 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.hertzbeat.manager.service;
+
+
+import org.apache.hertzbeat.manager.service.impl.KimiAiServiceImpl;
+
+/**
+ * test case for {@link KimiAiServiceImpl}
+ */
+
+class KimiAiServiceTest {
+}
diff --git 
a/manager/src/test/java/org/apache/hertzbeat/manager/service/MailGeneralConfigServiceTest.java
 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/MailGeneralConfigServiceTest.java
new file mode 100644
index 000000000..7d9ea3979
--- /dev/null
+++ 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/MailGeneralConfigServiceTest.java
@@ -0,0 +1,27 @@
+/*
+ * 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.hertzbeat.manager.service;
+
+import org.apache.hertzbeat.manager.service.impl.MailGeneralConfigServiceImpl;
+
+/**
+ * test case for {@link MailGeneralConfigServiceImpl}
+ */
+
+class MailGeneralConfigServiceTest {
+}
diff --git 
a/manager/src/test/java/org/apache/hertzbeat/manager/service/ObjectStoreConfigServiceTest.java
 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/ObjectStoreConfigServiceTest.java
new file mode 100644
index 000000000..54c2403db
--- /dev/null
+++ 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/ObjectStoreConfigServiceTest.java
@@ -0,0 +1,27 @@
+/*
+ * 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.hertzbeat.manager.service;
+
+import org.apache.hertzbeat.manager.service.impl.ObjectStoreConfigServiceImpl;
+
+/**
+ * test case for {@link ObjectStoreConfigServiceImpl}
+ */
+
+class ObjectStoreConfigServiceTest {
+}
diff --git 
a/manager/src/test/java/org/apache/hertzbeat/manager/service/ObsObjectStoreServiceTest.java
 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/ObsObjectStoreServiceTest.java
new file mode 100644
index 000000000..f0e6a0e2e
--- /dev/null
+++ 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/ObsObjectStoreServiceTest.java
@@ -0,0 +1,27 @@
+/*
+ * 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.hertzbeat.manager.service;
+
+import org.apache.hertzbeat.manager.service.impl.ObsObjectStoreServiceImpl;
+
+/**
+ * test case for {@link ObsObjectStoreServiceImpl}
+ */
+
+class ObsObjectStoreServiceTest {
+}
diff --git 
a/manager/src/test/java/org/apache/hertzbeat/manager/service/SmsGeneralConfigServiceTest.java
 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/SmsGeneralConfigServiceTest.java
new file mode 100644
index 000000000..6ba364b85
--- /dev/null
+++ 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/SmsGeneralConfigServiceTest.java
@@ -0,0 +1,27 @@
+/*
+ * 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.hertzbeat.manager.service;
+
+import org.apache.hertzbeat.manager.service.impl.SmsGeneralConfigServiceImpl;
+
+/**
+ * test case for {@link SmsGeneralConfigServiceImpl}
+ */
+
+class SmsGeneralConfigServiceTest {
+}
diff --git 
a/manager/src/test/java/org/apache/hertzbeat/manager/service/SparkDeskAiServiceTest.java
 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/SparkDeskAiServiceTest.java
new file mode 100644
index 000000000..f8dd26a99
--- /dev/null
+++ 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/SparkDeskAiServiceTest.java
@@ -0,0 +1,27 @@
+/*
+ * 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.hertzbeat.manager.service;
+
+import org.apache.hertzbeat.manager.service.impl.SparkDeskAiServiceImpl;
+
+/**
+ * test case for {@link SparkDeskAiServiceImpl}
+ */
+
+class SparkDeskAiServiceTest {
+}
diff --git 
a/manager/src/test/java/org/apache/hertzbeat/manager/service/StatusPageServiceTest.java
 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/StatusPageServiceTest.java
new file mode 100644
index 000000000..e3714240a
--- /dev/null
+++ 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/StatusPageServiceTest.java
@@ -0,0 +1,27 @@
+/*
+ * 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.hertzbeat.manager.service;
+
+import org.apache.hertzbeat.manager.service.impl.StatusPageServiceImpl;
+
+/**
+ * test case for {@link StatusPageServiceImpl}
+ */
+
+class StatusPageServiceTest {
+}
diff --git 
a/manager/src/test/java/org/apache/hertzbeat/manager/service/SystemGeneralConfigServiceTest.java
 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/SystemGeneralConfigServiceTest.java
new file mode 100644
index 000000000..bed51fdc8
--- /dev/null
+++ 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/SystemGeneralConfigServiceTest.java
@@ -0,0 +1,27 @@
+/*
+ * 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.hertzbeat.manager.service;
+
+import 
org.apache.hertzbeat.manager.service.impl.SystemGeneralConfigServiceImpl;
+
+/**
+ * test case for {@link SystemGeneralConfigServiceImpl}
+ */
+
+class SystemGeneralConfigServiceTest {
+}
diff --git 
a/manager/src/test/java/org/apache/hertzbeat/manager/service/SystemSecretServiceTest.java
 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/SystemSecretServiceTest.java
new file mode 100644
index 000000000..729cd130f
--- /dev/null
+++ 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/SystemSecretServiceTest.java
@@ -0,0 +1,27 @@
+/*
+ * 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.hertzbeat.manager.service;
+
+import org.apache.hertzbeat.manager.service.impl.SystemSecretServiceImpl;
+
+/**
+ * test case for {@link SystemSecretServiceImpl}
+ */
+
+class SystemSecretServiceTest {
+}
diff --git 
a/manager/src/test/java/org/apache/hertzbeat/manager/service/ZhiPuServiceTest.java
 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/ZhiPuServiceTest.java
new file mode 100644
index 000000000..68329d472
--- /dev/null
+++ 
b/manager/src/test/java/org/apache/hertzbeat/manager/service/ZhiPuServiceTest.java
@@ -0,0 +1,27 @@
+/*
+ * 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.hertzbeat.manager.service;
+
+import org.apache.hertzbeat.manager.service.impl.ZhiPuServiceImpl;
+
+/**
+ * test case for {@link ZhiPuServiceImpl}
+ */
+
+class ZhiPuServiceTest {
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to