aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/junit/runner/Describable.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/junit/runner/Describable.java')
-rw-r--r--src/main/java/org/junit/runner/Describable.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/org/junit/runner/Describable.java b/src/main/java/org/junit/runner/Describable.java
new file mode 100644
index 0000000..e59cc01
--- /dev/null
+++ b/src/main/java/org/junit/runner/Describable.java
@@ -0,0 +1,12 @@
+package org.junit.runner;
+
+
+/**
+ * Represents an object that can describe itself
+ */
+public interface Describable {
+ /**
+ * @return a {@link Description} showing the tests to be run by the receiver
+ */
+ public abstract Description getDescription();
+} \ No newline at end of file