Skip to content

Commit

Permalink
Fixed toString() tests that broke due to renaming package to gov.hhs.…
Browse files Browse the repository at this point in the history
…aspr.ms.gcm.simulation to align with Maven standards
  • Loading branch information
shawnhatch committed Apr 16, 2024
1 parent bcc23f8 commit 0e92ae5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 0e92ae5

Please sign in to comment.