jdk/test/sun/net/www/http/ChunkedOutputStream/checkError.java
author amlu
Tue, 24 May 2016 11:28:29 +0800
changeset 38471 7baac1d79ed1
parent 5506 202f599c92aa
permissions -rw-r--r--
8157499: Mark several tests from jdk_net as intermittently failing Reviewed-by: chegar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
38471
7baac1d79ed1 8157499: Mark several tests from jdk_net as intermittently failing
amlu
parents: 5506
diff changeset
     2
 * Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
 * @test
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
 * @bug 5054016
38471
7baac1d79ed1 8157499: Mark several tests from jdk_net as intermittently failing
amlu
parents: 5506
diff changeset
    27
 * @key intermittent
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
 * @run main/othervm/timeout=300 checkError
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 * @summary get the failure immediately when writing individual chunks over socket fail
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
import java.io.*;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
import java.net.*;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
import java.util.StringTokenizer;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
public class checkError {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
    static final int TEST_PASSED = 95;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
    static final int TEST_FAILED = 97;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
    static int testStatus = TEST_PASSED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
    static String serverName = "localhost";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
    static int bufferSize = 8192; // 8k
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
    static int totalBytes = 1048576; // 1M
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
    static int j = 0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
    static public Object threadStarting = new Object();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
    static public Object threadWaiting = new Object();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
    public static void main(String[] args) throws Exception {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
        HttpURLConnection conn = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
        OutputStream toServer = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
        byte[] buffer = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
        HTTPServer server = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
        synchronized(threadWaiting) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
            System.out.println("HTTP-client>Starting default Http-server");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
            synchronized(threadStarting) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
                server = new HTTPServer();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
                server.start();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
                try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
                    System.out.println("waiting server to be start");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
                    threadStarting.wait();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
                } catch (InterruptedException e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
            int port = server.getPort();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
            URL url = new URL("http://" + serverName + ":" + port);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
            conn = (HttpURLConnection )url.openConnection();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
            conn.setRequestMethod("POST");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
            conn.setDoOutput(true);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
            System.out.println("assigning 1024 to the chunk length");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
            conn.setChunkedStreamingMode(1024);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
            conn.connect();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
            toServer = conn.getOutputStream();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
            buffer = getThickBuffer(bufferSize);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
            System.out.println("sending " + totalBytes + " bytes");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
        int byteAtOnce = 0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
        int sendingBytes = totalBytes;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
        try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
            while (sendingBytes > 0) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
                if (sendingBytes > bufferSize) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
                    byteAtOnce = bufferSize;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
                } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
                    byteAtOnce = sendingBytes;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
                toServer.write(buffer, 0, byteAtOnce);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
                sendingBytes -= byteAtOnce;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
                // System.out.println((totalBytes - sendingBytes) + " was sent");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
                toServer.flush();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
        } catch (OutOfMemoryError e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
            e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
            System.out.println("***ERR***> UNEXPECTED error: " + e);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
            testStatus = TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
            testExit();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
        } catch (IOException e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
            // e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
            // this is the expected IOException
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
            // due to server.close()
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
            testStatus = TEST_PASSED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
            testExit();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
        } finally {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
            toServer.close();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
        // we have not received the expected IOException
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
        // test fail
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
        testStatus = TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
        testExit();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
    static void testExit() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
        if (testStatus == TEST_FAILED) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
            throw new RuntimeException("Test Failed: haven't received the expected IOException");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
        } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
            System.out.println("TEST PASSED");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
        System.exit(testStatus);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
    static byte[] getThickBuffer(int size) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
        byte[] buffer = new byte[size];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
        for (int i = 0; i < size; i++) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
            if (j > 9)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
                j = 0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
            String s = Integer.toString(j);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
            buffer[i] = (byte )s.charAt(0);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
            j++;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
        return buffer;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
class HTTPServer extends Thread {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
    static volatile boolean isCompleted;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
    Socket client;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
    ServerSocket serverSocket;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
    int getPort() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
        return serverSocket.getLocalPort();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
    public void run() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
        synchronized(checkError.threadStarting) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
            try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
                serverSocket = new ServerSocket(0, 100);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
            } catch (Exception e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
                e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
                checkError.testStatus = checkError.TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
                return;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
            checkError.threadStarting.notify();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
        try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
            client = serverSocket.accept();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
        } catch (Exception e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
            e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
            checkError.testStatus = checkError.TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
            return;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
        System.out.println("Server started");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
        BufferedReader in = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
        PrintStream out = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
        InputStreamReader reader = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
        String version = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
        String line;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
        String method;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
        synchronized(checkError.threadWaiting) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
            try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
                reader = new InputStreamReader(client.getInputStream());
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
                in = new BufferedReader(reader);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
                line = in.readLine();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
            } catch (Exception e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
                e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
                checkError.testStatus = checkError.TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
                return;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
            StringTokenizer st = new StringTokenizer(line);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
            method = st.nextToken();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
            String fileName = st.nextToken();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
            // save version for replies
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
            if (st.hasMoreTokens()) version = st.nextToken();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
            System.out.println("HTTP version: " + version);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
        try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
            while (line != null && line.length() > 0) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
                line = in.readLine();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
                System.out.println(line);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
        } catch (IOException e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
            e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
            checkError.testStatus = checkError.TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
            return;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
        if (method.equals("POST")) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
            System.out.println("receiving data");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
            byte[] buf = new byte[1024];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
            try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
                //reading bytes until chunk whose size is zero,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
                // see 19.4.6 Introduction of Transfer-Encoding in RFC2616
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
                int count = 0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
                while (count <=5) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
                    count++;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
                    in.readLine();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
                System.out.println("Server socket is closed");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
                in.close();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
                client.close();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
                serverSocket.close();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
            } catch (IOException e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
                e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
                checkError.testStatus = checkError.TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
                return;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
            } catch (OutOfMemoryError e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
                e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
                checkError.testStatus = checkError.TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
                return;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
}