Make FailingTest public.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ade68b1..8430219 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+## 0.1.6
+
+- Make `FailingTest` public, with the URI of the issue that causes
+ the test to break.
+
## 0.1.5
- Set max SDK version to `<3.0.0`, and adjust other dependencies.
diff --git a/lib/test_reflective_loader.dart b/lib/test_reflective_loader.dart
index 9f2478f..efefaa6 100644
--- a/lib/test_reflective_loader.dart
+++ b/lib/test_reflective_loader.dart
@@ -21,7 +21,7 @@
* A marker annotation used to annotate overridden test methods (so we cannot
* rename them to `fail_`) which are expected to fail.
*/
-const _FailingTest failingTest = const _FailingTest();
+const FailingTest failingTest = const FailingTest(null);
/**
* A marker annotation used to instruct dart2js to keep reflection information
@@ -267,11 +267,11 @@
typedef dynamic _TestFunction();
/**
- * A marker annotation used to instruct dart2js to keep reflection information
- * for the annotated classes.
+ * A marker annotation used to annotate overridden test methods (so we cannot
+ * rename them to `fail_`) which are expected to fail.
*/
-class _ReflectiveTest {
- const _ReflectiveTest();
+class FailingTest {
+ const FailingTest(String issueUri);
}
/**
@@ -294,14 +294,6 @@
}
/**
- * A marker annotation used to annotate overridden test methods (so we cannot
- * rename them to `fail_`) which are expected to fail.
- */
-class _FailingTest {
- const _FailingTest();
-}
-
-/**
* Information about a type based test group.
*/
class _Group {
@@ -322,6 +314,14 @@
}
/**
+ * A marker annotation used to instruct dart2js to keep reflection information
+ * for the annotated classes.
+ */
+class _ReflectiveTest {
+ const _ReflectiveTest();
+}
+
+/**
* A marker annotation used to annotate "solo" groups and tests.
*/
class _SoloTest {
diff --git a/pubspec.yaml b/pubspec.yaml
index 392e498..dd6090e 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: test_reflective_loader
-version: 0.1.5
+version: 0.1.6
description: Support for discovering tests and test suites using reflection.
author: Dart Team <misc@dartlang.org>