Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: utils/tests/pub/version_solver_test.dart

Issue 11785008: Convert pub tests to line doc comments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/tests/pub/test_pub.dart ('k') | utils/tests/pub/yaml_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/version_solver_test.dart
diff --git a/utils/tests/pub/version_solver_test.dart b/utils/tests/pub/version_solver_test.dart
index 6c0626f6573bc06350de06d7bc79f4b27e61a834..eb49d3d8236a50ad596cf8265e9e76e64d8107f8 100644
--- a/utils/tests/pub/version_solver_test.dart
+++ b/utils/tests/pub/version_solver_test.dart
@@ -461,14 +461,13 @@ testResolve(description, packages, {lockfile, result, Matcher error}) {
});
}
-/**
- * A source used for testing. This both creates mock package objects and acts as
- * a source for them.
- *
- * In order to support testing packages that have the same name but different
- * descriptions, a package's name is calculated by taking the description string
- * and stripping off any trailing hyphen followed by non-hyphen characters.
- */
+/// A source used for testing. This both creates mock package objects and acts
+/// as a source for them.
+///
+/// In order to support testing packages that have the same name but different
+/// descriptions, a package's name is calculated by taking the description
+/// string and stripping off any trailing hyphen followed by non-hyphen
+/// characters.
class MockSource extends Source {
final Map<String, Map<Version, Package>> _packages;
@@ -515,10 +514,8 @@ class MockSource extends Source {
}
}
-/**
- * A source used for testing that doesn't natively understand versioning,
- * similar to how the Git and SDK sources work.
- */
+/// A source used for testing that doesn't natively understand versioning,
+/// similar to how the Git and SDK sources work.
class MockVersionlessSource extends Source {
final Map<String, Package> _packages;
« no previous file with comments | « utils/tests/pub/test_pub.dart ('k') | utils/tests/pub/yaml_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698