jdk/test/java/lang/System/Logger/Level/LoggerLevelTest.java
changeset 36237 963d1115678b
parent 33875 c1c71107d45f
equal deleted inserted replaced
36236:eec5770c5b01 36237:963d1115678b
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    28 /**
    28 /**
    29  * @test
    29  * @test
    30  * @bug 8140364
    30  * @bug 8140364
    31  * @summary Tests System.Logger.Level names and severity.
    31  * @summary Tests System.Logger.Level names and severity.
    32  * @author danielfuchs
    32  * @author danielfuchs
       
    33  * @modules java.logging
    33  */
    34  */
    34 public class LoggerLevelTest {
    35 public class LoggerLevelTest {
    35     public static void main(String[] args) {
    36     public static void main(String[] args) {
    36         Set<Level> untested = EnumSet.allOf(Level.class);
    37         Set<Level> untested = EnumSet.allOf(Level.class);
    37         testLevel(untested, Level.ALL, java.util.logging.Level.ALL);
    38         testLevel(untested, Level.ALL, java.util.logging.Level.ALL);