< prev index next >

test/java/awt/datatransfer/DataFlavor/SelectBestTextFlavorBadArrayTest.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2014, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2014, 2015, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 26,35 **** --- 26,36 ---- @bug 4386360 @summary tests that DataFlavor.selectBestTextFlavor() returns null when passed is a null array or an empty array or an array which doesn't contain a text flavor in a supported encoding. @author das@sparc.spb.su area=datatransfer + @modules java.datatransfer @run main SelectBestTextFlavorBadArrayTest */ import java.awt.datatransfer.DataFlavor; import java.util.Stack;
< prev index next >