Skip to content

Commit

Permalink
Add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg committed Nov 22, 2024
1 parent e3eb3e1 commit b6d8daf
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void compareMappingMarshaling() {
}

@Test
void compareProfileContainerMarshaling() {
void compareProfileContainerMarshaling() throws IOException {
String profileId = "0123456789abcdef0123456789abcdef";
ProfileContainerData input =
ImmutableProfileContainerData.create(
Expand Down Expand Up @@ -275,7 +275,7 @@ private static ProfileData sampleProfileData() {
Attributes.empty(),
Collections.emptyList(),
Collections.emptyList(),
Collections.emptyList(),
listOf("foo", "bar"),
3,
4,
5,
Expand Down Expand Up @@ -304,6 +304,8 @@ private static Profile.Builder sampleProfileBuilder() {
.AGGREGATION_TEMPORALITY_CUMULATIVE)
.build())
.addAllComment(listOf(8L, 9L))
.addStringTable("foo")
.addStringTable("bar")
.setDefaultSampleType(10);
}

Expand Down

0 comments on commit b6d8daf

Please sign in to comment.