blob: 8458ec3b388a4c8fc9373bf782bdc9b8ea373ef7 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2019 Boeing.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
package org.eclipse.ote.simple.test.environment;
import java.util.Set;
import org.eclipse.osee.ote.core.IUserSession;
import org.eclipse.osee.ote.core.TestScript;
import org.eclipse.osee.ote.core.environment.ScriptControl;
import org.eclipse.osee.ote.core.environment.interfaces.IRuntimeLibraryManager;
import org.eclipse.osee.ote.message.MessageSystemTestEnvironment;
import org.eclipse.osee.ote.message.enums.DataType;
import org.eclipse.osee.ote.message.timer.RealTime;
/**
* @author Andy Jury
*/
public class SimpleTestEnvironment extends MessageSystemTestEnvironment {
public SimpleTestEnvironment(IRuntimeLibraryManager runtimeLibManager) {
super(new SimpleTestEnvironmentFactory(new RealTime(), new ScriptControl(), new SimpleTestStation(), runtimeLibManager));
}
@Override
public boolean isPhysicalTypeAvailable(DataType physicalType) {
return false;
}
@Override
public Set<? extends DataType> getDataTypes() {
return null;
}
@Override
protected TestScript instantiateScriptClass(Class<?> scriptClass, IUserSession connection) {
return null;
}
@Override
public void singleStepEnv() {
// Intentionally empty block
}
@Override
public Object getModel(String modelClassName) {
return null;
}
@Override
protected void loadExternalDrivers() {
// Intentionally empty block
}
}