| package org.eclipse.stem.core.graph.tests; |
| |
| /******************************************************************************* |
| * Copyright (c) 2011 IBM Corporation and others. |
| * 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: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| |
| import junit.framework.TestCase; |
| |
| import org.eclipse.stem.core.graph.GraphPartitioner; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A test case for the model object '<em><b>Partitioner</b></em>'. |
| * <!-- end-user-doc --> |
| * <p> |
| * The following operations are tested: |
| * <ul> |
| * <li>{@link org.eclipse.stem.core.graph.GraphPartitioner#partitionDecoratorLabels(org.eclipse.stem.core.model.Decorator, int) <em>Partition Decorator Labels</em>}</li> |
| * <li>{@link org.eclipse.stem.core.graph.GraphPartitioner#partitionDecoratorLabels(org.eclipse.stem.core.model.Decorator) <em>Partition Decorator Labels</em>}</li> |
| * <li>{@link org.eclipse.stem.core.graph.GraphPartitioner#isManaged(org.eclipse.stem.core.common.Identifiable) <em>Is Managed</em>}</li> |
| * </ul> |
| * </p> |
| * @generated |
| */ |
| public abstract class GraphPartitionerTest extends TestCase { |
| |
| /** |
| * The fixture for this Partitioner test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected GraphPartitioner fixture = null; |
| |
| /** |
| * Constructs a new Partitioner test case with the given name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public GraphPartitionerTest(String name) { |
| super(name); |
| } |
| |
| /** |
| * Sets the fixture for this Partitioner test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected void setFixture(GraphPartitioner fixture) { |
| this.fixture = fixture; |
| } |
| |
| /** |
| * Returns the fixture for this Partitioner test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected GraphPartitioner getFixture() { |
| return fixture; |
| } |
| |
| /** |
| * Tests the '{@link org.eclipse.stem.core.graph.GraphPartitioner#partitionDecoratorLabels(org.eclipse.stem.core.model.Decorator, int) <em>Partition Decorator Labels</em>}' operation. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.stem.core.graph.GraphPartitioner#partitionDecoratorLabels(org.eclipse.stem.core.model.Decorator, int) |
| * @generated |
| */ |
| public void testPartitionDecoratorLabels__Decorator_int() { |
| // TODO: implement this operation test method |
| // Ensure that you remove @generated or mark it @generated NOT |
| fail(); |
| } |
| |
| /** |
| * Tests the '{@link org.eclipse.stem.core.graph.GraphPartitioner#partitionDecoratorLabels(org.eclipse.stem.core.model.Decorator) <em>Partition Decorator Labels</em>}' operation. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.stem.core.graph.GraphPartitioner#partitionDecoratorLabels(org.eclipse.stem.core.model.Decorator) |
| * @generated |
| */ |
| public void testPartitionDecoratorLabels__Decorator() { |
| // TODO: implement this operation test method |
| // Ensure that you remove @generated or mark it @generated NOT |
| fail(); |
| } |
| |
| /** |
| * Tests the '{@link org.eclipse.stem.core.graph.GraphPartitioner#isManaged(org.eclipse.stem.core.common.Identifiable) <em>Is Managed</em>}' operation. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.stem.core.graph.GraphPartitioner#isManaged(org.eclipse.stem.core.common.Identifiable) |
| * @generated |
| */ |
| public void testIsManaged__Identifiable() { |
| // TODO: implement this operation test method |
| // Ensure that you remove @generated or mark it @generated NOT |
| fail(); |
| } |
| |
| } //GraphPartitionerTest |