< prev index next >
test/jdk/java/awt/dnd/DragSourceListenerSerializationTest/DragSourceListenerSerializationTest.java
Print this page
rev 51789 : [mq]: asserts
*** 25,36 ****
@test
@key headful
@bug 4422345 8039083
@summary tests serialization of DragSourceListeners
@author das@sparc.spb.su area=dnd
! @library ../../../../lib/testlibrary
! @build jdk.testlibrary.Asserts
@run main/othervm DragSourceListenerSerializationTest
*/
import java.awt.Button;
import java.awt.Component;
--- 25,36 ----
@test
@key headful
@bug 4422345 8039083
@summary tests serialization of DragSourceListeners
@author das@sparc.spb.su area=dnd
! @library /test/lib
! @build jdk.test.lib.Asserts
@run main/othervm DragSourceListenerSerializationTest
*/
import java.awt.Button;
import java.awt.Component;
*** 56,66 ****
import java.util.Arrays;
import java.util.TooManyListenersException;
import java.util.stream.Collectors;
import java.util.stream.Stream;
! import static jdk.testlibrary.Asserts.assertEquals;
public class DragSourceListenerSerializationTest {
public static void main(String[] args) throws Exception {
DragSource ds = new DragSource();
TestDragSourceAdapter dsa1 = new TestDragSourceAdapter(1);
--- 56,66 ----
import java.util.Arrays;
import java.util.TooManyListenersException;
import java.util.stream.Collectors;
import java.util.stream.Stream;
! import static jdk.test.lib.Asserts.assertEquals;
public class DragSourceListenerSerializationTest {
public static void main(String[] args) throws Exception {
DragSource ds = new DragSource();
TestDragSourceAdapter dsa1 = new TestDragSourceAdapter(1);
< prev index next >