blob: aea3af823c83070417aa46e3c2bef77c8baf9de4 [file] [log] [blame]
/*
* Copyright (c) 2015, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
// Contributors:
// Tomas Kraus - Initial implementation
package org.eclipse.persistence.testing.tests.junit.logging;
import org.junit.Test;
/**
* Unit tests for EclipseLink log levels enumeration.
*/
public class LogLevelTest {
@Test
public void testLength() {
LogLevelHelper.testLength();
}
@Test
public void testToValue() {
LogLevelHelper.testToValueString();
LogLevelHelper.testToValueInt();
LogLevelHelper.testToValueIntFallBack();
}
@Test
public void testShouldLog() {
LogLevelHelper.testShouldLogOnLogLevel();
LogLevelHelper.testShouldLogOnId();
}
}