You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by nd...@apache.org on 2006/06/24 02:46:01 UTC

svn commit: r416847 - /incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/org/apache/harmony/tests/java/awt/AWTEventMulticasterTest.java

Author: ndbeyer
Date: Fri Jun 23 17:46:00 2006
New Revision: 416847

URL: http://svn.apache.org/viewvc?rev=416847&view=rev
Log:
Add missed test file

Added:
    incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/org/apache/harmony/tests/java/awt/AWTEventMulticasterTest.java   (with props)

Added: incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/org/apache/harmony/tests/java/awt/AWTEventMulticasterTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/org/apache/harmony/tests/java/awt/AWTEventMulticasterTest.java?rev=416847&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/org/apache/harmony/tests/java/awt/AWTEventMulticasterTest.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/org/apache/harmony/tests/java/awt/AWTEventMulticasterTest.java Fri Jun 23 17:46:00 2006
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+package org.apache.harmony.tests.java.awt;
+
+import java.awt.AWTEventMulticaster;
+
+import javax.swing.text.DefaultEditorKit;
+
+import junit.framework.TestCase;
+
+public class AWTEventMulticasterTest extends TestCase {
+
+    public void test_getListeners() {
+        DefaultEditorKit.PasteAction pa = new DefaultEditorKit.PasteAction();
+        DefaultEditorKit.PasteAction[] result = AWTEventMulticaster.getListeners(pa, DefaultEditorKit.PasteAction.class);
+        assertNotNull(result);
+    }
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/org/apache/harmony/tests/java/awt/AWTEventMulticasterTest.java
------------------------------------------------------------------------------
    svn:eol-style = native