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

Unified Diff: test/registry_test.dart

Issue 1030313003: pkg/isolate: fix test library names and group tests (Closed) Base URL: https://github.com/dart-lang/isolate.git@master
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
« no previous file with comments | « test/ports_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/registry_test.dart
diff --git a/test/registry_test.dart b/test/registry_test.dart
index d03623b452983f90b3609f486a315197a526d158..48d917d263de411a1cd33e6310b4e2cead3cb759 100644
--- a/test/registry_test.dart
+++ b/test/registry_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library dart.pkg.isolate.test.registry;
+library isolate.test.registry_test;
import 'dart:async';
import 'dart:isolate';
@@ -15,14 +15,14 @@ import 'package:unittest/unittest.dart';
const MS = const Duration(milliseconds: 1);
void main() {
- testLookup();
- testAddLookup();
- testAddRemoveTags();
- testRemove();
- testCrossIsolate();
- testTimeout();
- testMultiRegistry();
- testObjectsAndTags();
+ group('lookup', testLookup);
+ group('AddLookup', testAddLookup);
+ group('AddRemoveTags', testAddRemoveTags);
+ group('Remove', testRemove);
+ group('CrossIsolate', testCrossIsolate);
+ group('Timeout', testTimeout);
+ group('MultiRegistry', testMultiRegistry);
+ group('ObjectsAndTags', testObjectsAndTags);
}
class Oddity {
@@ -35,7 +35,7 @@ Future<List> waitAll(int n, Future action(int n)) {
}
void testLookup() {
- test("lookupAll", () {
+ test("All", () {
RegistryManager regman = new RegistryManager();
Registry registry = regman.registry;
return waitAll(10, (i) {
@@ -52,7 +52,7 @@ void testLookup() {
.whenComplete(regman.close);
});
- test("lookupOdd", () {
+ test("Odd", () {
RegistryManager regman = new RegistryManager();
Registry registry = regman.registry;
return waitAll(10, (i) {
@@ -69,7 +69,7 @@ void testLookup() {
.whenComplete(regman.close);
});
- test("lookupMax", () {
+ test("Max", () {
RegistryManager regman = new RegistryManager();
Registry registry = regman.registry;
return waitAll(10, (i) {
@@ -84,7 +84,7 @@ void testLookup() {
.whenComplete(regman.close);
});
- test("lookupMultiTag", () {
+ test("MultiTag", () {
RegistryManager regman = new RegistryManager();
Registry registry = regman.registry;
return waitAll(25, (i) {
@@ -105,7 +105,7 @@ void testLookup() {
.whenComplete(regman.close);
});
- test("lookupMultiTagMax", () {
+ test("MultiTagMax", () {
RegistryManager regman = new RegistryManager();
Registry registry = regman.registry;
return waitAll(25, (i) {
« no previous file with comments | « test/ports_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698