summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCoreBPMN/src/test
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2017-07-19 16:38:36 -0400
committerRob Daugherty <rd472p@att.com>2017-07-19 16:39:10 -0400
commit3efc13f943058c2679db322ec4e38dad20f98cc5 (patch)
tree732de32358dbd683c3e6aca13f5a16d68a5e6d4b /bpmn/MSOCoreBPMN/src/test
parent62a625db852194e0afb6063cb982b4b71a833a2c (diff)
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 <rd472p@att.com>
Diffstat (limited to 'bpmn/MSOCoreBPMN/src/test')
-rw-r--r--bpmn/MSOCoreBPMN/src/test/java/org/openecomp/mso/bpmn/core/PropertyConfigurationTest.java26
1 files changed, 0 insertions, 26 deletions
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<String,String> 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();
- }
- }
}