fixed [IDEADEV-41319] test runner: do not show green balloon and green progress bar...
[fedora-idea.git] / platform / testRunner / src / com / intellij / execution / testframework / AbstractTestProxy.java
blob76c7c8563b8c3c455aadf6cec80c1765b30499c2
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * User: anna
19 * Date: 23-May-2007
21 package com.intellij.execution.testframework;
23 import com.intellij.execution.Location;
24 import com.intellij.openapi.project.Project;
25 import com.intellij.pom.Navigatable;
26 import org.jetbrains.annotations.NonNls;
28 import java.util.List;
30 public interface AbstractTestProxy {
31 @NonNls String DATA_CONSTANT = "testProxy";
33 boolean isInProgress();
35 boolean isDefect();
37 //todo?
38 boolean shouldRun();
40 int getMagnitude();
42 boolean isLeaf();
44 boolean isPassed();
46 String getName();
48 Location getLocation(final Project project);
50 Navigatable getDescriptor(final Location location);
52 AbstractTestProxy getParent();
54 List<? extends AbstractTestProxy> getChildren();
56 List<? extends AbstractTestProxy> getAllTests();