summaryrefslogtreecommitdiffstats
path: root/test/unit/classes/TestClassLoop.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/classes/TestClassLoop.java')
-rw-r--r--test/unit/classes/TestClassLoop.java48
1 files changed, 0 insertions, 48 deletions
diff --git a/test/unit/classes/TestClassLoop.java b/test/unit/classes/TestClassLoop.java
deleted file mode 100644
index 5288cf6..0000000
--- a/test/unit/classes/TestClassLoop.java
+++ /dev/null
@@ -1,48 +0,0 @@
-package unit.classes;
-
-public class TestClassLoop {
-
- public static void testSimpleInfinite() {
-
- while(true) {
- System.out.println();
- }
-
- }
-
- public static void testFinally() {
-
- boolean a = (Math.random() > 0);
-
- while(true) {
- try {
- if(!a) {
- return;
- }
- } finally {
- System.out.println("1");
- }
- }
-
- }
-
- public static void testFinallyContinue() {
-
- boolean a = (Math.random() > 0);
-
- for(;;) {
- try {
- System.out.println("1");
- } finally {
- if(a) {
- System.out.println("3");
- continue;
- }
- }
-
- System.out.println("4");
- }
-
- }
-
-}