Index: pkg/docgen/test/util.dart |
diff --git a/pkg/docgen/test/util.dart b/pkg/docgen/test/util.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fad786d4417ca5ce73cf0120eb60b2788c4aa12c |
--- /dev/null |
+++ b/pkg/docgen/test/util.dart |
@@ -0,0 +1,11 @@ |
+import 'dart:io'; |
+import 'package:path/path.dart' as p; |
+ |
+String getMultiLibraryCodePath() { |
+ var currentScript = p.fromUri(Platform.script); |
+ var codeDir = p.join(p.dirname(currentScript), 'multi_library_code'); |
+ |
+ assert(FileSystemEntity.isDirectorySync(codeDir)); |
+ |
+ return codeDir; |
+} |