From d6444de62214e2395a607592debfe3d410ce07fa Mon Sep 17 00:00:00 2001 From: Andrija Panic <45762285+andrijapanicsb@users.noreply.github.com> Date: Fri, 29 May 2026 02:26:53 +0200 Subject: [PATCH] Delete api/src/test/java/org/apache/cloudstack/api/command/admin/vm/ImportUnmanagedInstanceCmdTest.java unneeded --- .../vm/ImportUnmanagedInstanceCmdTest.java | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 api/src/test/java/org/apache/cloudstack/api/command/admin/vm/ImportUnmanagedInstanceCmdTest.java diff --git a/api/src/test/java/org/apache/cloudstack/api/command/admin/vm/ImportUnmanagedInstanceCmdTest.java b/api/src/test/java/org/apache/cloudstack/api/command/admin/vm/ImportUnmanagedInstanceCmdTest.java deleted file mode 100644 index 893bace07cc..00000000000 --- a/api/src/test/java/org/apache/cloudstack/api/command/admin/vm/ImportUnmanagedInstanceCmdTest.java +++ /dev/null @@ -1,36 +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.cloudstack.api.command.admin.vm; - -import java.lang.reflect.Field; - -import org.apache.cloudstack.api.Parameter; -import org.junit.Assert; -import org.junit.Test; - -public class ImportUnmanagedInstanceCmdTest { - - @Test - public void testTemplateIdDescriptionMentionsKvmRequirement() throws NoSuchFieldException { - Field templateIdField = ImportUnmanagedInstanceCmd.class.getDeclaredField("templateId"); - Parameter parameter = templateIdField.getAnnotation(Parameter.class); - - Assert.assertNotNull(parameter); - Assert.assertTrue(parameter.description().contains("Required when importing an unmanaged KVM Instance.")); - } -}