package org.musetest.core.tests.mocks.unknownresource;

import org.musetest.core.*;
import org.musetest.core.step.*;
import org.musetest.core.step.descriptor.*;
import org.musetest.core.values.descriptor.*;

/**
 * @author Christopher L Merrill (see LICENSE.txt for license details)
 */
public class TestStepDescriptor implements StepDescriptor
    {
    public final static String TYPE = "test_type";
    public final static String NAME = "test_name";
    public final static String SHORT_DESCRIPTION = "short_description {var1}";
    public final static String SOURCE_NAME = "var1";
    public final static String ICON = "icon descriptor";
    public final static String TEST_STEP = "inline edit {string}";

    @Override
    public String getName()
        {
        return NAME;
        }

    public String getInlineEditString()
        {
        return TEST_STEP;
        }

    public String getType()
        {
        return TYPE;
        }

    public String getIconDescriptor()
        {
        return ICON;
        }

    public String getShortDescription()
        {
        return SHORT_DESCRIPTION;
        }

    public String getShortDescription(StepConfiguration config)
        {
        return "this does " + config.getSources().get(SOURCE_NAME).getValue() + " with something";
        }

    @Override
    public String getGroupName()
        {
        return null;
        }

    @Override
    public String getDocumentationDescription()
        {
        return null;
        }

    @Override
    public String getLongDescription()
        {
        return null;
        }

    @Override
    public SubsourceDescriptor[] getSubsourceDescriptors()
        {
        return new SubsourceDescriptor[0];
        }

    @SuppressWarnings("unused")
    public TestStepDescriptor(MuseProject project) { }
    public boolean isCompound() { return false; }
    }


@@ -49,16 +49,45 @@
 ource;%0A%0A
+import javafx.scene.paint.*;%0A
 import o
@@ -1045,32 +1045,127 @@
 CON;%0A        %7D%0A%0A
+    @Override%0A    public Color getIconColor()%0A        %7B%0A        return Color.GREEN;%0A        %7D%0A%0A
     public Strin

fix unit tests