Skip to content

Commit

Permalink
Easing package restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-singer committed Feb 20, 2014
1 parent e5cb68a commit 13fcf05
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: stats
version: 0.1.0
version: 0.1.1
author: Adam Singer <financeCoding@gmail.com>
description: Visual Dart Performance Monitor
homepage: https://github.com/Dartist/stats.dart
environment:
sdk: ">=0.8.10+6 <2.0.0"
dependencies:
unittest: "0.9.0"
unittest: ">=0.9.0"
browser: ">=0.9.0 < 0.10.0"
plummbur_kruk: ">=0.1.0 <0.1.1"
dev_dependencies:
html5lib: '>=0.4.3'
hop: '>=0.21.0 <0.22.0'
hop: '>=0.21.0'

2 changes: 1 addition & 1 deletion test/test_dump_render_tree.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void testRun() {
void _runDrt(String htmlFile) {
final allPassedRegExp = new RegExp('All \\d+ tests passed');

final future = Process.run('DumpRenderTree', [htmlFile])
final future = Process.run('content_shell', [htmlFile])
.then((ProcessResult pr) {
expect(pr.exitCode, 0);
expect(pr.stdout, matches(allPassedRegExp));
Expand Down
7 changes: 3 additions & 4 deletions tool/hop_runner.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
library hop_runner;

import 'dart:async';
import 'dart:io';
import 'package:hop/hop.dart';
import 'package:hop/hop_tasks.dart';
import '../test/test_dump_render_tree.dart' as test_dump_render_tree;

void main() {
void main(List<String> args) {
//
// Assert were being called from the proper location.
//
Expand All @@ -15,7 +14,7 @@ void main() {
//
// Analyzer
//
addTask('analyze', createDartAnalyzerTask(['lib/stats.dart',
addTask('analyze', createAnalyzerTask(['lib/stats.dart',
'example/basic/statsdart.dart',
'example/theming/theming.dart',
'test/tests_browser.dart',
Expand All @@ -31,7 +30,7 @@ void main() {
//
// Hop away!
//
runHop();
runHop(args);
}

void _assertKnownPath() {
Expand Down

0 comments on commit 13fcf05

Please sign in to comment.