blob: 952fe0a1d6164bc7eb572623f531743359f3a5d5 [file] [log] [blame]
// Copyright (c) 2017, 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';
import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
void main() {
defineReflectiveSuite(() {
class TestReflectiveLoaderTest {
String pathname;
void test_passes() {
expect(true, true);
void test_fails() {
expect(false, true);
void test_fails_throws_sync() {
throw 'foo';
Future test_fails_throws_async() {
return new Future.error('foo');