8374433: java/util/Locale/PreserveTagCase.java does not run any tests

Reviewed-by: iris, joehw, jlu
This commit is contained in:
Naoto Sato 2026-01-06 16:28:33 +00:00
parent c611da257f
commit 136ac0d10b

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -53,7 +53,7 @@ public class PreserveTagCase {
*/
@ParameterizedTest
@MethodSource("filterProvider")
public static void testFilterTags(String ranges, List<String> tags,
public void testFilterTags(String ranges, List<String> tags,
List<String> expected, FilteringMode mode) {
List<LanguageRange> priorityList = LanguageRange.parse(ranges);
List<String> actual = Locale.filterTags(priorityList, tags, mode);
@ -67,7 +67,7 @@ public class PreserveTagCase {
*/
@ParameterizedTest
@MethodSource("lookupProvider")
public static void testLookupTag(String ranges, List<String> tags,
public void testLookupTag(String ranges, List<String> tags,
String expected) {
List<LanguageRange> priorityList = LanguageRange.parse(ranges);
String actual = Locale.lookupTag(priorityList, tags);