public void initMappings() {
//initialize mapping variables used in this test
flavorMap = (SystemFlavorMap)SystemFlavorMap.getDefaultFlavorMap();
//create a DataFlavor with valid parameters (mimeType, humanPresentableName)
test_flav = new DataFlavor("text/plain; charset=ascii","ASCII Flavor");
//create a String native
test_nat = "TEXT_TEST";
//create a DataFlavor array
test_flavors = new DataFlavor[] {test_flav};
//create a String native array
test_natives = new String[] {test_nat};
}
InvalidMapArgumentsTest.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:openjdk-jdk10
作者:
评论列表
文章目录