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:
1
packages/flutter_tools/test/data/dart_dependencies_test/.gitignore
vendored
Normal file
1
packages/flutter_tools/test/data/dart_dependencies_test/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!.packages
|
||||
@@ -0,0 +1,3 @@
|
||||
analyzer:
|
||||
exclude:
|
||||
- '**'
|
||||
@@ -0,0 +1 @@
|
||||
self:lib/
|
||||
@@ -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.
|
||||
@@ -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.
|
||||
@@ -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';
|
||||
@@ -0,0 +1 @@
|
||||
name: self
|
||||
@@ -0,0 +1,3 @@
|
||||
analyzer:
|
||||
exclude:
|
||||
- '**'
|
||||
@@ -0,0 +1 @@
|
||||
self:lib/
|
||||
@@ -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!
|
||||
@@ -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';
|
||||
@@ -0,0 +1 @@
|
||||
name: self
|
||||
Reference in New Issue
Block a user