From 3efc13f943058c2679db322ec4e38dad20f98cc5 Mon Sep 17 00:00:00 2001 From: Rob Daugherty Date: Wed, 19 Jul 2017 16:38:36 -0400 Subject: Fix artifact group IDs (org.openecomp.so) Since the repositories were renamed from "mso" to "so" the artifact group IDs in the poms must be updated to match. Issue: SO-39 Change-Id: I617fe738a77d0f6c1d1cc0ac9474fb753f4e234c Signed-off-by: Rob Daugherty --- .../mso/bpmn/core/PropertyConfigurationTest.java | 26 ---------------------- 1 file changed, 26 deletions(-) (limited to 'bpmn/MSOCoreBPMN/src/test') diff --git a/bpmn/MSOCoreBPMN/src/test/java/org/openecomp/mso/bpmn/core/PropertyConfigurationTest.java b/bpmn/MSOCoreBPMN/src/test/java/org/openecomp/mso/bpmn/core/PropertyConfigurationTest.java index fa0f8d8dd8..50b9a53f04 100644 --- a/bpmn/MSOCoreBPMN/src/test/java/org/openecomp/mso/bpmn/core/PropertyConfigurationTest.java +++ b/bpmn/MSOCoreBPMN/src/test/java/org/openecomp/mso/bpmn/core/PropertyConfigurationTest.java @@ -105,30 +105,4 @@ public class PropertyConfigurationTest { Assert.assertEquals("testValue", props.get("testKey")); props.put("newKey", "newvalue"); } - - @Test - public void testNotAllowedPropertyReloading() throws IOException { - Path msoConfigPath = Paths.get(System.getProperty("mso.config.path")); - Path backupPropFilePath = msoConfigPath.resolve("backup-" + PropertyConfiguration.MSO_BPMN_PROPERTIES); - - try { - // Create a new file... a backup file - Files.createFile(backupPropFilePath); - - // Load properties - PropertyConfiguration propertyConfiguration = PropertyConfiguration.getInstance(); - Map props = propertyConfiguration.getProperties(PropertyConfiguration.MSO_BPMN_PROPERTIES); - Assert.assertNotNull(props); - Assert.assertEquals("testValue", props.get("testKey")); - - // Update the backup file - Path bpmnPropertiesSourcePath = Paths.get("src", "test", "resources", "mso.bpmn.properties"); - Files.copy(bpmnPropertiesSourcePath, backupPropFilePath, StandardCopyOption.REPLACE_EXISTING); - - // Cache size should remain the same - Assert.assertEquals(1, PropertyConfiguration.getInstance().cacheSize()); - } finally { - backupPropFilePath.toFile().delete(); - } - } } -- cgit 1.2.3-korg