hotspot/test/serviceability/ParserTest.java
author nloodin
Thu, 15 Mar 2012 13:37:13 +0100
changeset 12262 fb3b9fede660
child 13200 7b506e7b406e
permissions -rw-r--r--
7148488: Whitebox tests for the Diagnostic Framework Parser Reviewed-by: brutisso, sla, mgerdin
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12262
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     1
/*
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     2
 * @test ParserTest
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     3
 * @summary verify that whitebox functions can be linked and executed
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     4
 * @run compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI ParserTest.java
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     5
 * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ParserTest
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     6
 */
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     7
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     8
import java.math.BigInteger;
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     9
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    10
import sun.hotspot.parser.DiagnosticCommand;
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    11
import sun.hotspot.parser.DiagnosticCommand.DiagnosticArgumentType;
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    12
import sun.hotspot.WhiteBox;
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    13
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    14
public class ParserTest {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    15
    WhiteBox wb;
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    16
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    17
    public ParserTest() throws Exception {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    18
        wb = WhiteBox.getWhiteBox();
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    19
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    20
        testNanoTime();
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    21
        testJLong();
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    22
        testBool();
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    23
        testMemorySize();
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    24
    }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    25
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    26
    public static void main(String... args) throws Exception  {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    27
         new ParserTest();
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    28
    }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    29
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    30
    public void testNanoTime() throws Exception {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    31
        String name = "name";
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    32
        DiagnosticCommand arg = new DiagnosticCommand(name,
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    33
                "desc", DiagnosticArgumentType.NANOTIME,
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    34
                false, "0");
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    35
        DiagnosticCommand[] args = {arg};
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    36
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    37
        BigInteger bi = new BigInteger("7");
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    38
        //These should work
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    39
        parse(name, bi.toString(), name + "=7ns", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    40
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    41
        bi = bi.multiply(BigInteger.valueOf(1000));
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    42
        parse(name, bi.toString(), name + "=7us", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    43
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    44
        bi = bi.multiply(BigInteger.valueOf(1000));
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    45
        parse(name, bi.toString(), name + "=7ms", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    46
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    47
        bi = bi.multiply(BigInteger.valueOf(1000));
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    48
        parse(name, bi.toString(), name + "=7s", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    49
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    50
        bi = bi.multiply(BigInteger.valueOf(60));
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    51
        parse(name, bi.toString() , name + "=7m", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    52
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    53
        bi = bi.multiply(BigInteger.valueOf(60));
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    54
        parse(name, bi.toString() , name + "=7h", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    55
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    56
        bi = bi.multiply(BigInteger.valueOf(24));
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    57
        parse(name, bi.toString() , name + "=7d", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    58
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    59
        parse(name, "0", name + "=0", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    60
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    61
        shouldFail(name + "=7xs", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    62
        shouldFail(name + "=7mms", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    63
        shouldFail(name + "=7f", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    64
        //Currently, only value 0 is allowed without unit
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    65
        shouldFail(name + "=7", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    66
    }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    67
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    68
    public void testJLong() throws Exception {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    69
        String name = "name";
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    70
        DiagnosticCommand arg = new DiagnosticCommand(name,
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    71
                "desc", DiagnosticArgumentType.JLONG,
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    72
                false, "0");
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    73
        DiagnosticCommand[] args = {arg};
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    74
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    75
        wb.parseCommandLine(name + "=10", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    76
        parse(name, "10", name + "=10", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    77
        parse(name, "-5", name + "=-5", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    78
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    79
        //shouldFail(name + "=12m", args); <-- should fail, doesn't
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    80
    }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    81
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    82
    public void testBool() throws Exception {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    83
        String name = "name";
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    84
        DiagnosticCommand arg = new DiagnosticCommand(name,
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    85
                "desc", DiagnosticArgumentType.BOOLEAN,
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    86
                false, "false");
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    87
        DiagnosticCommand[] args = {arg};
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    88
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    89
        parse(name, "true", name + "=true", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    90
        parse(name, "false", name + "=false", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    91
        parse(name, "true", name, args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    92
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    93
        //Empty commandline to parse, tests default value
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    94
        //of the parameter "name"
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    95
        parse(name, "false", "", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    96
    }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    97
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    98
    public void testMemorySize() throws Exception {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    99
        String name = "name";
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   100
        String defaultValue = "1024";
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   101
        DiagnosticCommand arg = new DiagnosticCommand(name,
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   102
                "desc", DiagnosticArgumentType.MEMORYSIZE,
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   103
                false, defaultValue);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   104
        DiagnosticCommand[] args = {arg};
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   105
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   106
        BigInteger bi = new BigInteger("7");
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   107
        parse(name, bi.toString(), name + "=7b", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   108
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   109
        bi = bi.multiply(BigInteger.valueOf(1024));
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   110
        parse(name, bi.toString(), name + "=7k", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   111
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   112
        bi = bi.multiply(BigInteger.valueOf(1024));
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   113
        parse(name, bi.toString(), name + "=7m", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   114
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   115
        bi = bi.multiply(BigInteger.valueOf(1024));
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   116
        parse(name, bi.toString(), name + "=7g", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   117
        parse(name, defaultValue, "", args);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   118
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   119
        //shouldFail(name + "=7gg", args); <---- should fail, doesn't
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   120
        //shouldFail(name + "=7t", args);  <----- should fail, doesn't
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   121
    }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   122
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   123
    public void parse(String searchName, String expectedValue,
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   124
            String cmdLine, DiagnosticCommand[] argumentTypes) throws Exception {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   125
        //parseCommandLine will return an object array that looks like
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   126
        //{<name of parsed object>, <of parsed object> ... }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   127
        Object[] res = wb.parseCommandLine(cmdLine, argumentTypes);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   128
        for (int i = 0; i < res.length-1; i+=2) {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   129
            String parsedName = (String) res[i];
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   130
            if (searchName.equals(parsedName)) {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   131
                String parsedValue = (String) res[i+1];
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   132
                if (expectedValue.equals(parsedValue)) {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   133
                    return;
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   134
                } else {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   135
                    throw new Exception("Parsing of cmdline '" + cmdLine + "' failed!\n"
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   136
                            + searchName + " parsed as " + parsedValue
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   137
                            + "! Expected: " + expectedValue);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   138
                }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   139
            }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   140
        }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   141
        throw new Exception(searchName + " not found as a parsed Argument!");
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   142
    }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   143
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   144
    private void shouldFail(String argument, DiagnosticCommand[] argumentTypes) throws Exception {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   145
        try {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   146
            wb.parseCommandLine(argument, argumentTypes);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   147
            throw new Exception("Parser accepted argument: " + argument);
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   148
        } catch (IllegalArgumentException e) {
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   149
            //expected
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   150
        }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   151
    }
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
   152
}