Skip the test if required Locale is not present.
Bug
2343677
Change-Id: I0f2672bd4b56cc1685e7368921aaa1e9d4492cf0
method = "!SerializationGolden",
args = {}
)
- @KnownFailure("a regression. This didn't fail before")
public void test_serializationHarmonyRICompatible() throws Exception {
+ Locale[] requiredLocales = {Locale.FRANCE};
+ if (!Support_Locale.areLocalesAvailable(requiredLocales)) {
+ // locale dependent test, bug 1943269
+ return;
+ }
NumberFormat nf = NumberFormat.getInstance(Locale.FRANCE);
DecimalFormat df = null;