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/07/31 05:25:12 UTC
svn commit: r427008 - in
/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java:
org/apache/harmony/tests/luni/util/NYITest.java tests/impl/ tests/luni/
Author: ndbeyer
Date: Sun Jul 30 20:25:11 2006
New Revision: 427008
URL: http://svn.apache.org/viewvc?rev=427008&view=rev
Log:
Refactor and cleanup tests.
Added:
incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/luni/util/NYITest.java (with props)
Removed:
incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/impl/
incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/luni/
Added: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/luni/util/NYITest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/luni/util/NYITest.java?rev=427008&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/luni/util/NYITest.java (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/luni/util/NYITest.java Sun Jul 30 20:25:11 2006
@@ -0,0 +1,37 @@
+/* Copyright 1998, 2005 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.luni.util;
+
+import junit.framework.TestCase;
+
+import org.apache.harmony.luni.util.NotYetImplementedException;
+
+/**
+ * Testing the NYI framework code.
+ */
+public class NYITest extends TestCase {
+
+ public void testNYI() {
+ System.err.println("Test suite -> expect a Not yet implemented output >>>");
+ try {
+ throw new NotYetImplementedException();
+ } catch (NotYetImplementedException exception) {
+ // Expected
+ }
+ System.err.println("Test suite finished Not yet implemented output <<<");
+ }
+
+}
Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/luni/util/NYITest.java
------------------------------------------------------------------------------
svn:eol-style = native