blob: 935412745438f65b7eb075b2c29b41123117b319 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 1C-Soft LLC.
* 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:
* Vladimir Piskarev (1C) - initial API and implementation
*******************************************************************************/
package org.eclipse.handly.model.impl;
import static org.eclipse.handly.context.Contexts.EMPTY_CONTEXT;
import org.eclipse.handly.context.IContext;
import org.eclipse.handly.model.IModel;
/**
* A simple model for tests.
* Test clients can instantiate this class directly or subclass it.
*/
class SimpleModel
implements IModel
{
IContext context = EMPTY_CONTEXT;
@Override
public IContext getModelContext()
{
return context;
}
@Override
public int getApiLevel()
{
return ApiLevel.CURRENT;
}
}