nk1506 commented on code in PR #9927: URL: https://github.com/apache/iceberg/pull/9927#discussion_r1523107552
########## core/src/test/java/org/apache/iceberg/TableMetadataParserTest.java: ########## @@ -37,30 +40,24 @@ import org.apache.iceberg.io.OutputFile; import org.apache.iceberg.relocated.com.google.common.collect.Maps; import org.apache.iceberg.types.Types.BooleanType; -import org.junit.After; -import org.junit.Assert; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.TestTemplate; +import org.junit.jupiter.api.extension.ExtendWith; -@RunWith(Parameterized.class) +@ExtendWith(ParameterizedTestExtension.class) public class TableMetadataParserTest { private static final Schema SCHEMA = new Schema(optional(1, "b", BooleanType.get())); - @Parameterized.Parameters(name = "codecName = {0}") - public static Object[] parameters() { - return new Object[] {"none", "gzip"}; + @Parameters(name = "codecName = {0}") + protected static List<Object> parameters() { + return Arrays.asList("none", "gzip"); } - private final String codecName; + @Parameter protected String codecName; Review Comment: why privileged changed from `private` to `protected` ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org