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

Unified Diff: pkg/analyzer/test/generated/utilities_test.dart

Issue 1674963002: Probably don't need an unused re-implementation of addAll(). :) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 | « pkg/analyzer/lib/src/generated/utilities_collection.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/utilities_test.dart
diff --git a/pkg/analyzer/test/generated/utilities_test.dart b/pkg/analyzer/test/generated/utilities_test.dart
index 87c58858680b420fd560a314460c2213477ba864..32b2487a806c6fbc36d60ac127ae8b3f464f617b 100644
--- a/pkg/analyzer/test/generated/utilities_test.dart
+++ b/pkg/analyzer/test/generated/utilities_test.dart
@@ -30,7 +30,6 @@ main() {
runReflectiveTests(SourceRangeTest);
runReflectiveTests(BooleanArrayTest);
runReflectiveTests(DirectedGraphTest);
- runReflectiveTests(ListUtilitiesTest);
runReflectiveTests(MultipleMapIteratorTest);
runReflectiveTests(SingleMapIteratorTest);
runReflectiveTests(TokenMapTest);
@@ -2756,39 +2755,6 @@ class ListGetter_NodeReplacerTest_testSwitchMember_2
}
@reflectiveTest
-class ListUtilitiesTest {
- void test_addAll_emptyToEmpty() {
- List<String> list = new List<String>();
- List<String> elements = <String>[];
- ListUtilities.addAll(list, elements);
- expect(list.length, 0);
- }
-
- void test_addAll_emptyToNonEmpty() {
- List<String> list = new List<String>();
- list.add("a");
- List<String> elements = <String>[];
- ListUtilities.addAll(list, elements);
- expect(list.length, 1);
- }
-
- void test_addAll_nonEmptyToEmpty() {
- List<String> list = new List<String>();
- List<String> elements = ["b", "c"];
- ListUtilities.addAll(list, elements);
- expect(list.length, 2);
- }
-
- void test_addAll_nonEmptyToNonEmpty() {
- List<String> list = new List<String>();
- list.add("a");
- List<String> elements = ["b", "c"];
- ListUtilities.addAll(list, elements);
- expect(list.length, 3);
- }
-}
-
-@reflectiveTest
class MultipleMapIteratorTest extends EngineTestCase {
void test_multipleMaps_firstEmpty() {
Map<String, String> map1 = new HashMap<String, String>();
« no previous file with comments | « pkg/analyzer/lib/src/generated/utilities_collection.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698