blob: 73cdc8d4657f4e944c1fb38200f3af4504dec8d1 [file] [log] [blame]
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// 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.
import 'dart:async' show Future;
import 'package:testing/testing.dart' show Chain, runMe;
import 'spelling_test_base.dart';
import 'spell_checking_utils.dart' as spell;
main([List<String> arguments = const []]) =>
runMe(arguments, createContext, "../testing.json");
Future<Context> createContext(
Chain suite, Map<String, String> environment) async {
return new ContextSrc();
}
class ContextSrc extends Context {
@override
List<spell.Dictionaries> get dictionaries => const <spell.Dictionaries>[
spell.Dictionaries.common,
spell.Dictionaries.cfeCode
];
}