forbidden apis check fix

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874991 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2020-03-08 23:27:44 +00:00
parent 40f320bcf9
commit 69cb2da52e
1 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,8 @@ package org.apache.poi.hpsf.basic;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import java.util.Locale;
import org.apache.poi.hpsf.ClassID;
import org.apache.poi.hpsf.ClassIDPredefined;
import org.junit.Test;
@ -78,6 +80,6 @@ public final class TestClassID {
String exp = "EABCECDB-CC1C-4A6F-B4E3-7F888A5ADFC8";
ClassID clsId = ClassIDPredefined.EXCEL_V14_ODS.getClassID();
assertEquals(exp, clsId.toUUIDString());
assertEquals(exp, clsId.toUUID().toString().toUpperCase());
assertEquals(exp, clsId.toUUID().toString().toUpperCase(Locale.ROOT));
}
}