DependencyChecker with tests (#7268)

- [x] Introduce DependencyChecker which can determine if any dependencies have been modified.
- [x] Move the DartDependencyBuilder into a separate file.
- [x] Add unit tests for DartDependencyBuilder.
- [x] Add unit tets for DependencyChecker

Part of #7014
This commit is contained in:
John McCutchan
2016-12-15 15:05:15 -08:00
committed by GitHub
parent 977a25f29c
commit 2546259a64
25 changed files with 325 additions and 49 deletions

View File

@@ -0,0 +1 @@
!.packages

View File

@@ -0,0 +1,3 @@
analyzer:
exclude:
- '**'

View File

@@ -0,0 +1 @@
self:lib/

View File

@@ -0,0 +1,3 @@
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

View File

@@ -0,0 +1,3 @@
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

View File

@@ -0,0 +1,6 @@
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'foo.dart';
import 'package:self/bar.dart';

View File

@@ -0,0 +1 @@
name: self

View File

@@ -0,0 +1,3 @@
analyzer:
exclude:
- '**'

View File

@@ -0,0 +1,5 @@
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
bad programmer!

View File

@@ -0,0 +1,5 @@
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'foo.dart';