blob: f7800b9eb732ab57e87c19f4c5c917528828e52b [file] [log] [blame]
/*********************************************************************
* Copyright (c) 2004, 2007 Boeing
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Boeing - initial API and implementation
**********************************************************************/
package org.eclipse.osee.ote.core.environment.interfaces;
import java.util.logging.Handler;
import java.util.logging.Level;
import org.eclipse.osee.framework.jdk.core.persistence.Xmlizable;
import org.eclipse.osee.ote.core.MethodFormatter;
import org.eclipse.osee.ote.core.ReturnFormatter;
import org.eclipse.osee.ote.core.TestCase;
import org.eclipse.osee.ote.core.TestScript;
import org.eclipse.osee.ote.core.environment.OteInternalApi;
import org.eclipse.osee.ote.core.log.record.TestPointRecord;
import org.eclipse.osee.ote.core.log.record.TestRecord;
public interface ITestLogger {
public void addHandler(Handler handler);
public void debug(ITestEnvironmentAccessor source, String message);
public void debug(ITestEnvironmentAccessor source, String message, boolean timeStamp);
public void info(String message);
public void log(TestRecord record);
public void log(Level level, String message, Throwable th);
public void log(ITestEnvironmentAccessor source, Level level, String message, Throwable th);
public void methodCalled(ITestEnvironmentAccessor source);
public void methodCalled(ITestEnvironmentAccessor source, MethodFormatter methodFormat);
public void methodCalledOnObject(ITestEnvironmentAccessor source, String objectName);
public void methodCalledOnObject(ITestEnvironmentAccessor source, String objectName, MethodFormatter methodFormat);
public void methodCalledOnObject(ITestEnvironmentAccessor source, String objectName, MethodFormatter methodFormat, Xmlizable xmlObject);
public void methodEnded(ITestEnvironmentAccessor source);
public void methodEnded(ITestEnvironmentAccessor source, ReturnFormatter returnFormatter);
public void removeHandler(Handler handler);
public void support(ITestEnvironmentAccessor source, String message);
public void severe(ITestEnvironmentAccessor source, String message);
public void severe(Object source, Throwable thrown);
public void severe(String message);
public void testCaseBegan(TestCase testCase);
public void testpoint(ITestEnvironmentAccessor env, TestScript script, TestCase testCase, boolean passed, String testPointName, String expected, String actual);
public void testpoint(ITestEnvironmentAccessor env, TestScript script, TestCase testCase, ITestPoint testPoint);
public void testpoint(TestPointRecord record);
public void testpoint(OteInternalApi api, ITestPoint testPoint);
public void warning(ITestEnvironmentAccessor source, String message);
public void warning(String message);
}