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

Unified Diff: pkg/analyzer/test/src/task/model_test.dart

Issue 1012993002: Rename ContributionPoint and error result (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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
Index: pkg/analyzer/test/src/task/model_test.dart
diff --git a/pkg/analyzer/test/src/task/model_test.dart b/pkg/analyzer/test/src/task/model_test.dart
index 8bf96255f166ee076a99eff00c290a0bf2410826..b52873af8b679dc5dca31e82feac42a495750087 100644
--- a/pkg/analyzer/test/src/task/model_test.dart
+++ b/pkg/analyzer/test/src/task/model_test.dart
@@ -58,7 +58,7 @@ class AnalysisTaskTest extends EngineTestCase {
@reflectiveTest
class ContributionPointImplTest extends EngineTestCase {
test_contributors_empty() {
- ContributionPointImpl point = new ContributionPointImpl('point');
+ CompositeResultDescriptorImpl point = new CompositeResultDescriptorImpl('point');
List<ResultDescriptor> contributors = point.contributors;
expect(contributors, isEmpty);
}
@@ -66,7 +66,7 @@ class ContributionPointImplTest extends EngineTestCase {
test_contributors_nonEmpty() {
ResultDescriptorImpl result1 = new ResultDescriptorImpl('result1', null);
ResultDescriptorImpl result2 = new ResultDescriptorImpl('result2', null);
- ContributionPointImpl point = new ContributionPointImpl('point');
+ CompositeResultDescriptorImpl point = new CompositeResultDescriptorImpl('point');
point.recordContributor(result1);
point.recordContributor(result2);
List<ResultDescriptor> contributors = point.contributors;
@@ -79,12 +79,12 @@ class ContributionPointImplTest extends EngineTestCase {
}
test_create() {
- expect(new ContributionPointImpl('name'), isNotNull);
+ expect(new CompositeResultDescriptorImpl('name'), isNotNull);
}
test_name() {
String name = 'point';
- ContributionPointImpl point = new ContributionPointImpl(name);
+ CompositeResultDescriptorImpl point = new CompositeResultDescriptorImpl(name);
expect(point.name, name);
}
}
@@ -92,7 +92,7 @@ class ContributionPointImplTest extends EngineTestCase {
@reflectiveTest
class ResultDescriptorImplTest extends EngineTestCase {
test_create_withContribution() {
- ContributionPointImpl point = new ContributionPointImpl('point');
+ CompositeResultDescriptorImpl point = new CompositeResultDescriptorImpl('point');
ResultDescriptorImpl result =
new ResultDescriptorImpl('result', null, contributesTo: point);
expect(result, isNotNull);
« pkg/analyzer/lib/src/task/model.dart ('K') | « pkg/analyzer/test/src/task/dart_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698