From 30005ce24cdba962c473df8564a78b1d9e696bf8 Mon Sep 17 00:00:00 2001 From: Alexander Fedorov Date: Wed, 13 Nov 2024 21:30:13 +0300 Subject: [PATCH] [#1456] Correct type names for registry contract tests `KeyKeepersRegitryTest` -> `KeyKeepersRegistryTest` --- ...rmissionEmittingServicesRegistryTest.java} | 5 ++-- ...rmissionEmittingServicesRegistryTest.java} | 7 +++-- ...ssionsExaminationServicesRegistryTest.java | 28 ------------------- 3 files changed, 7 insertions(+), 33 deletions(-) rename tests/org.eclipse.passage.lic.api.tests/src/org/eclipse/passage/lic/api/tests/{PermissionEmittingServicesRegitryTest.java => PermissionEmittingServicesRegistryTest.java} (87%) rename tests/org.eclipse.passage.seal.demo.tests/src/org/eclipse/passage/seal/demo/tests/registries/{SealedPermissionEmttingServicesRegistryTest.java => SealedPermissionEmittingServicesRegistryTest.java} (79%) delete mode 100644 tests/org.eclipse.passage.seal.demo.tests/src/org/eclipse/passage/seal/demo/tests/registries/SealedPermissionsExaminationServicesRegistryTest.java diff --git a/tests/org.eclipse.passage.lic.api.tests/src/org/eclipse/passage/lic/api/tests/PermissionEmittingServicesRegitryTest.java b/tests/org.eclipse.passage.lic.api.tests/src/org/eclipse/passage/lic/api/tests/PermissionEmittingServicesRegistryTest.java similarity index 87% rename from tests/org.eclipse.passage.lic.api.tests/src/org/eclipse/passage/lic/api/tests/PermissionEmittingServicesRegitryTest.java rename to tests/org.eclipse.passage.lic.api.tests/src/org/eclipse/passage/lic/api/tests/PermissionEmittingServicesRegistryTest.java index 799404f1f..4ceadac92 100644 --- a/tests/org.eclipse.passage.lic.api.tests/src/org/eclipse/passage/lic/api/tests/PermissionEmittingServicesRegitryTest.java +++ b/tests/org.eclipse.passage.lic.api.tests/src/org/eclipse/passage/lic/api/tests/PermissionEmittingServicesRegistryTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2020, 2021 ArSysOp + * Copyright (c) 2020, 2024 ArSysOp * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at @@ -9,6 +9,7 @@ * * Contributors: * ArSysOp - initial API and implementation + * ArSysOp - further support and improvements *******************************************************************************/ package org.eclipse.passage.lic.api.tests; @@ -30,7 +31,7 @@ * and satisfy all the demands. *

*/ -public abstract class PermissionEmittingServicesRegitryTest extends ReadOnlyCollectionTest { +public abstract class PermissionEmittingServicesRegistryTest extends ReadOnlyCollectionTest { @Override protected final Supplier> collection() { diff --git a/tests/org.eclipse.passage.seal.demo.tests/src/org/eclipse/passage/seal/demo/tests/registries/SealedPermissionEmttingServicesRegistryTest.java b/tests/org.eclipse.passage.seal.demo.tests/src/org/eclipse/passage/seal/demo/tests/registries/SealedPermissionEmittingServicesRegistryTest.java similarity index 79% rename from tests/org.eclipse.passage.seal.demo.tests/src/org/eclipse/passage/seal/demo/tests/registries/SealedPermissionEmttingServicesRegistryTest.java rename to tests/org.eclipse.passage.seal.demo.tests/src/org/eclipse/passage/seal/demo/tests/registries/SealedPermissionEmittingServicesRegistryTest.java index 69956e57d..830ecf17f 100644 --- a/tests/org.eclipse.passage.seal.demo.tests/src/org/eclipse/passage/seal/demo/tests/registries/SealedPermissionEmttingServicesRegistryTest.java +++ b/tests/org.eclipse.passage.seal.demo.tests/src/org/eclipse/passage/seal/demo/tests/registries/SealedPermissionEmittingServicesRegistryTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2020, 2021 ArSysOp + * Copyright (c) 2020, 2024 ArSysOp * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at @@ -9,16 +9,17 @@ * * Contributors: * ArSysOp - initial API and implementation + * ArSysOp - further support and improvements *******************************************************************************/ package org.eclipse.passage.seal.demo.tests.registries; import java.util.Optional; import org.eclipse.passage.lic.api.Framework; -import org.eclipse.passage.lic.api.tests.PermissionEmittingServicesRegitryTest; +import org.eclipse.passage.lic.api.tests.PermissionEmittingServicesRegistryTest; import org.eclipse.passage.seal.internal.demo.DemoFrameworkSupplier; -public final class SealedPermissionEmttingServicesRegistryTest extends PermissionEmittingServicesRegitryTest { +public final class SealedPermissionEmittingServicesRegistryTest extends PermissionEmittingServicesRegistryTest { @Override protected Optional framework() { diff --git a/tests/org.eclipse.passage.seal.demo.tests/src/org/eclipse/passage/seal/demo/tests/registries/SealedPermissionsExaminationServicesRegistryTest.java b/tests/org.eclipse.passage.seal.demo.tests/src/org/eclipse/passage/seal/demo/tests/registries/SealedPermissionsExaminationServicesRegistryTest.java deleted file mode 100644 index cdfe27d28..000000000 --- a/tests/org.eclipse.passage.seal.demo.tests/src/org/eclipse/passage/seal/demo/tests/registries/SealedPermissionsExaminationServicesRegistryTest.java +++ /dev/null @@ -1,28 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2020, 2021 ArSysOp - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License 2.0 which is available at - * https://www.eclipse.org/legal/epl-2.0/. - * - * SPDX-License-Identifier: EPL-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package org.eclipse.passage.seal.demo.tests.registries; - -import java.util.Optional; - -import org.eclipse.passage.lic.api.Framework; -import org.eclipse.passage.lic.api.tests.PermissionEmittingServicesRegitryTest; -import org.eclipse.passage.seal.internal.demo.DemoFrameworkSupplier; - -public final class SealedPermissionsExaminationServicesRegistryTest extends PermissionEmittingServicesRegitryTest { - - @Override - protected Optional framework() { - return new DemoFrameworkSupplier().get(); - } - -}