From 0e92ae50ea6d9f408dbc7a8ddbb6c65589066f1a Mon Sep 17 00:00:00 2001 From: shawnhatch Date: Tue, 16 Apr 2024 13:52:46 -0400 Subject: [PATCH] Fixed toString() tests that broke due to renaming package to gov.hhs.aspr.ms.gcm.simulation to align with Maven standards --- .../gcm/simulation/plugins/partitions/support/AT_Partition.java | 2 +- .../plugins/properties/support/AT_EnumPropertyManager.java | 2 +- .../properties/support/arraycontainers/AT_EnumContainer.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/simulation/src/test/java/gov/hhs/aspr/ms/gcm/simulation/plugins/partitions/support/AT_Partition.java b/simulation/src/test/java/gov/hhs/aspr/ms/gcm/simulation/plugins/partitions/support/AT_Partition.java index cec3ee955..bf30d0c9f 100644 --- a/simulation/src/test/java/gov/hhs/aspr/ms/gcm/simulation/plugins/partitions/support/AT_Partition.java +++ b/simulation/src/test/java/gov/hhs/aspr/ms/gcm/simulation/plugins/partitions/support/AT_Partition.java @@ -285,7 +285,7 @@ public void testToString() { Partition randomPartition = getRandomPartition(5250756946904578664L); String actualValue = randomPartition.toString(); - String expectedValue = "Partition [data=Data [filter=AttributeFilter [attributeId=BOOLEAN_1, value=2146794287, equality=LESS_THAN, attributesDataManager=null], labelers={1157575879=gov.hhs.aspr.ms.gcm.plugins.partitions.support.AT_Partition$LocalLabeler@44ff34e6}, retainPersonKeys=false]]"; + String expectedValue = "Partition [data=Data [filter=AttributeFilter [attributeId=BOOLEAN_1, value=2146794287, equality=LESS_THAN, attributesDataManager=null], labelers={1157575879=gov.hhs.aspr.ms.gcm.simulation.plugins.partitions.support.AT_Partition$LocalLabeler@44ff34e6}, retainPersonKeys=false]]"; assertEquals(expectedValue, actualValue); } } diff --git a/simulation/src/test/java/gov/hhs/aspr/ms/gcm/simulation/plugins/properties/support/AT_EnumPropertyManager.java b/simulation/src/test/java/gov/hhs/aspr/ms/gcm/simulation/plugins/properties/support/AT_EnumPropertyManager.java index b518441f5..af3bfaff7 100644 --- a/simulation/src/test/java/gov/hhs/aspr/ms/gcm/simulation/plugins/properties/support/AT_EnumPropertyManager.java +++ b/simulation/src/test/java/gov/hhs/aspr/ms/gcm/simulation/plugins/properties/support/AT_EnumPropertyManager.java @@ -303,7 +303,7 @@ public void testToString() { String actualValue = enumPropertyManager.toString(); - String expectedValue = "EnumPropertyManager [enumContainer=EnumContainer [values=[1=RED, 2=BLUE, 5=RED, 6=BLUE, 7=YELLOW], enumClass=class gov.hhs.aspr.ms.gcm.plugins.properties.support.AT_EnumPropertyManager$Color]]"; + String expectedValue = "EnumPropertyManager [enumContainer=EnumContainer [values=[1=RED, 2=BLUE, 5=RED, 6=BLUE, 7=YELLOW], enumClass=class gov.hhs.aspr.ms.gcm.simulation.plugins.properties.support.AT_EnumPropertyManager$Color]]"; assertEquals(expectedValue, actualValue); }); diff --git a/simulation/src/test/java/gov/hhs/aspr/ms/gcm/simulation/plugins/properties/support/arraycontainers/AT_EnumContainer.java b/simulation/src/test/java/gov/hhs/aspr/ms/gcm/simulation/plugins/properties/support/arraycontainers/AT_EnumContainer.java index 476863b20..34e9c655f 100644 --- a/simulation/src/test/java/gov/hhs/aspr/ms/gcm/simulation/plugins/properties/support/arraycontainers/AT_EnumContainer.java +++ b/simulation/src/test/java/gov/hhs/aspr/ms/gcm/simulation/plugins/properties/support/arraycontainers/AT_EnumContainer.java @@ -177,7 +177,7 @@ public void testToString() { enumContainer.setValue(8, Animal.SHEEP); String actualValue = enumContainer.toString(); - String expectedValue = "EnumContainer [values=[1=PIG, 2=HORSE, 5=DOG, 6=HORSE, 7=CAT], enumClass=class gov.hhs.aspr.ms.gcm.plugins.properties.support.arraycontainers.AT_EnumContainer$Animal]"; + String expectedValue = "EnumContainer [values=[1=PIG, 2=HORSE, 5=DOG, 6=HORSE, 7=CAT], enumClass=class gov.hhs.aspr.ms.gcm.simulation.plugins.properties.support.arraycontainers.AT_EnumContainer$Animal]"; assertEquals(expectedValue, actualValue); }