From 42bf14e9cfbee5ee218bb6a775e3d7b90e9e491c Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 2 Mar 2013 16:12:39 -0500 Subject: [PATCH] already had ported in z testing stuff, so dropping that side project. --- kona/.classpath | 2 +- ...or_of_finally_when_exception_in_catch.java | 2 -- kona/src/test/java/semantics/instance_of.java | 3 -- kona/z-testing/.classpath | 6 ---- kona/z-testing/.project | 17 ----------- .../.settings/org.eclipse.jdt.core.prefs | 12 -------- .../src/test/java/semantics/instance_of.java | 29 ------------------- 7 files changed, 1 insertion(+), 70 deletions(-) rename kona/{z-testing => }/src/test/java/semantics/behavior_of_finally_when_exception_in_catch.java (98%) delete mode 100644 kona/z-testing/.classpath delete mode 100644 kona/z-testing/.project delete mode 100644 kona/z-testing/.settings/org.eclipse.jdt.core.prefs delete mode 100644 kona/z-testing/src/test/java/semantics/instance_of.java diff --git a/kona/.classpath b/kona/.classpath index 12d4c4aa..18bf7466 100644 --- a/kona/.classpath +++ b/kona/.classpath @@ -10,5 +10,5 @@ - + diff --git a/kona/z-testing/src/test/java/semantics/behavior_of_finally_when_exception_in_catch.java b/kona/src/test/java/semantics/behavior_of_finally_when_exception_in_catch.java similarity index 98% rename from kona/z-testing/src/test/java/semantics/behavior_of_finally_when_exception_in_catch.java rename to kona/src/test/java/semantics/behavior_of_finally_when_exception_in_catch.java index cbccf0a7..e722b130 100644 --- a/kona/z-testing/src/test/java/semantics/behavior_of_finally_when_exception_in_catch.java +++ b/kona/src/test/java/semantics/behavior_of_finally_when_exception_in_catch.java @@ -2,8 +2,6 @@ package test.java.semantics; import java.io.FileNotFoundException; -//import java.util.List; - class finally_behavior_test { int calibrador = 17; diff --git a/kona/src/test/java/semantics/instance_of.java b/kona/src/test/java/semantics/instance_of.java index 39008566..2a5f2b0f 100644 --- a/kona/src/test/java/semantics/instance_of.java +++ b/kona/src/test/java/semantics/instance_of.java @@ -1,5 +1,3 @@ - - package test.java.semantics; import java.util.List; @@ -25,5 +23,4 @@ class instance_of } } - } \ No newline at end of file diff --git a/kona/z-testing/.classpath b/kona/z-testing/.classpath deleted file mode 100644 index fb565a58..00000000 --- a/kona/z-testing/.classpath +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/kona/z-testing/.project b/kona/z-testing/.project deleted file mode 100644 index 5f0583eb..00000000 --- a/kona/z-testing/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - z-testing - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - diff --git a/kona/z-testing/.settings/org.eclipse.jdt.core.prefs b/kona/z-testing/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index e9210e9a..00000000 --- a/kona/z-testing/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,12 +0,0 @@ -#Mon Sep 10 12:59:04 EDT 2012 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/kona/z-testing/src/test/java/semantics/instance_of.java b/kona/z-testing/src/test/java/semantics/instance_of.java deleted file mode 100644 index 39008566..00000000 --- a/kona/z-testing/src/test/java/semantics/instance_of.java +++ /dev/null @@ -1,29 +0,0 @@ - - -package test.java.semantics; - -import java.util.List; - -class instance_of -{ - public instance_of() {} - - public Object cogitate() { - return null; - } - - public static void main(String s[]) throws Exception - { - // we are just asserting that it is safe to do instanceof on an object that is null. - // let's test that theory. - instance_of tony = new instance_of(); - Object fred = tony.cogitate(); // will produce null. - if (fred instanceof List) { - throw new Exception("that should not have happened!"); - } else { - System.out.println("told us null is not an instance of List, which is correct."); - } - - } - -} \ No newline at end of file -- 2.34.1