diff --git a/.gitignore b/.gitignore index a9eea254..0716c03d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ .packages .pub packages -pubspec.lock +/pubspec.lock build/ .idea/ diff --git a/test_fixtures/analyze/errors/pubspec.lock b/test_fixtures/analyze/errors/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/analyze/errors/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/analyze/hints/pubspec.lock b/test_fixtures/analyze/hints/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/analyze/hints/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/analyze/lints/pubspec.lock b/test_fixtures/analyze/lints/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/analyze/lints/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/analyze/no_issues/pubspec.lock b/test_fixtures/analyze/no_issues/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/analyze/no_issues/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/analyze/strong/pubspec.lock b/test_fixtures/analyze/strong/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/analyze/strong/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/analyze/warnings/pubspec.lock b/test_fixtures/analyze/warnings/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/analyze/warnings/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/copy_license/has_licenses/pubspec.lock b/test_fixtures/copy_license/has_licenses/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/copy_license/has_licenses/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/copy_license/license_with_empty_lines/pubspec.lock b/test_fixtures/copy_license/license_with_empty_lines/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/copy_license/license_with_empty_lines/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/copy_license/no_license_file/pubspec.lock b/test_fixtures/copy_license/no_license_file/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/copy_license/no_license_file/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/copy_license/no_licenses/pubspec.lock b/test_fixtures/copy_license/no_licenses/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/copy_license/no_licenses/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/dart_x_only/pubspec.lock b/test_fixtures/dart_x_only/pubspec.lock new file mode 100644 index 00000000..42eea83d --- /dev/null +++ b/test_fixtures/dart_x_only/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/export_config/with_format_config/pubspec.lock b/test_fixtures/export_config/with_format_config/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/export_config/with_format_config/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/export_config/with_no_config/pubspec.lock b/test_fixtures/export_config/with_no_config/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/export_config/with_no_config/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/format/changes_needed/pubspec.lock b/test_fixtures/format/changes_needed/pubspec.lock new file mode 100644 index 00000000..f0d71e7e --- /dev/null +++ b/test_fixtures/format/changes_needed/pubspec.lock @@ -0,0 +1,197 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + dart_style: + description: + name: dart_style + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.9+1" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/format/exclusions/pubspec.lock b/test_fixtures/format/exclusions/pubspec.lock new file mode 100644 index 00000000..f0d71e7e --- /dev/null +++ b/test_fixtures/format/exclusions/pubspec.lock @@ -0,0 +1,197 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + dart_style: + description: + name: dart_style + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.9+1" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/format/inclusions/pubspec.lock b/test_fixtures/format/inclusions/pubspec.lock new file mode 100644 index 00000000..f0d71e7e --- /dev/null +++ b/test_fixtures/format/inclusions/pubspec.lock @@ -0,0 +1,197 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + dart_style: + description: + name: dart_style + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.9+1" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/format/inclusions_deprecated/pubspec.lock b/test_fixtures/format/inclusions_deprecated/pubspec.lock new file mode 100644 index 00000000..f0d71e7e --- /dev/null +++ b/test_fixtures/format/inclusions_deprecated/pubspec.lock @@ -0,0 +1,197 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + dart_style: + description: + name: dart_style + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.9+1" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/format/no_changes_needed/pubspec.lock b/test_fixtures/format/no_changes_needed/pubspec.lock new file mode 100644 index 00000000..f0d71e7e --- /dev/null +++ b/test_fixtures/format/no_changes_needed/pubspec.lock @@ -0,0 +1,197 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + dart_style: + description: + name: dart_style + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.9+1" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/format/no_dart_style/pubspec.lock b/test_fixtures/format/no_dart_style/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/format/no_dart_style/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/gen_test_runner/browser_and_vm/pubspec.lock b/test_fixtures/gen_test_runner/browser_and_vm/pubspec.lock new file mode 100644 index 00000000..d0fcb1a5 --- /dev/null +++ b/test_fixtures/gen_test_runner/browser_and_vm/pubspec.lock @@ -0,0 +1,335 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/gen_test_runner/browser_and_vm_runner/pubspec.lock b/test_fixtures/gen_test_runner/browser_and_vm_runner/pubspec.lock new file mode 100644 index 00000000..d0fcb1a5 --- /dev/null +++ b/test_fixtures/gen_test_runner/browser_and_vm_runner/pubspec.lock @@ -0,0 +1,335 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/gen_test_runner/check_fail/pubspec.lock b/test_fixtures/gen_test_runner/check_fail/pubspec.lock new file mode 100644 index 00000000..d0fcb1a5 --- /dev/null +++ b/test_fixtures/gen_test_runner/check_fail/pubspec.lock @@ -0,0 +1,335 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/gen_test_runner/check_pass/pubspec.lock b/test_fixtures/gen_test_runner/check_pass/pubspec.lock new file mode 100644 index 00000000..d0fcb1a5 --- /dev/null +++ b/test_fixtures/gen_test_runner/check_pass/pubspec.lock @@ -0,0 +1,335 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/gen_test_runner/default_config/pubspec.lock b/test_fixtures/gen_test_runner/default_config/pubspec.lock new file mode 100644 index 00000000..d0fcb1a5 --- /dev/null +++ b/test_fixtures/gen_test_runner/default_config/pubspec.lock @@ -0,0 +1,335 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/init/initialized/pubspec.lock b/test_fixtures/init/initialized/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/init/initialized/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/init/uninitialized/pubspec.lock b/test_fixtures/init/uninitialized/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/init/uninitialized/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/local/follow_symlinks/pubspec.lock b/test_fixtures/local/follow_symlinks/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/local/follow_symlinks/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/local/good_tasks/pubspec.lock b/test_fixtures/local/good_tasks/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/local/good_tasks/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/local/no_executable/pubspec.lock b/test_fixtures/local/no_executable/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/local/no_executable/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/local/no_follow_symlinks/pubspec.lock b/test_fixtures/local/no_follow_symlinks/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/local/no_follow_symlinks/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/local/no_tasks/pubspec.lock b/test_fixtures/local/no_tasks/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/local/no_tasks/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/task_runner/failing_tasks/pubspec.lock b/test_fixtures/task_runner/failing_tasks/pubspec.lock new file mode 100644 index 00000000..6fa8a89e --- /dev/null +++ b/test_fixtures/task_runner/failing_tasks/pubspec.lock @@ -0,0 +1,341 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + dart_style: + description: + name: dart_style + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.9+1" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/task_runner/passing_tasks/pubspec.lock b/test_fixtures/task_runner/passing_tasks/pubspec.lock new file mode 100644 index 00000000..6fa8a89e --- /dev/null +++ b/test_fixtures/task_runner/passing_tasks/pubspec.lock @@ -0,0 +1,341 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + dart_style: + description: + name: dart_style + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.9+1" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/test/default_unit/pubspec.lock b/test_fixtures/test/default_unit/pubspec.lock new file mode 100644 index 00000000..d0fcb1a5 --- /dev/null +++ b/test_fixtures/test/default_unit/pubspec.lock @@ -0,0 +1,335 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/test/failing/pubspec.lock b/test_fixtures/test/failing/pubspec.lock new file mode 100644 index 00000000..d0fcb1a5 --- /dev/null +++ b/test_fixtures/test/failing/pubspec.lock @@ -0,0 +1,335 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/test/needs_build_runner/pubspec.lock b/test_fixtures/test/needs_build_runner/pubspec.lock new file mode 100644 index 00000000..26c9e13d --- /dev/null +++ b/test_fixtures/test/needs_build_runner/pubspec.lock @@ -0,0 +1,377 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + build: + description: + name: build + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.2" + build_barback: + description: + name: build_barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.4.0+2" + build_config: + description: + name: build_config + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.5" + build_runner: + description: + name: build_runner + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.0+1" + build_test: + description: + name: build_test + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.4" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + code_transformers: + description: + name: code_transformers + url: "https://pub.dartlang.org" + source: hosted + version: "0.5.1+5" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + stream_transform: + description: + name: stream_transform + url: "https://pub.dartlang.org" + source: hosted + version: "0.0.9" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/test/needs_pub_serve/pubspec.lock b/test_fixtures/test/needs_pub_serve/pubspec.lock new file mode 100644 index 00000000..d0fcb1a5 --- /dev/null +++ b/test_fixtures/test/needs_pub_serve/pubspec.lock @@ -0,0 +1,335 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/test/no_test_package/pubspec.lock b/test_fixtures/test/no_test_package/pubspec.lock new file mode 100644 index 00000000..cdac65ff --- /dev/null +++ b/test_fixtures/test/no_test_package/pubspec.lock @@ -0,0 +1,107 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/test/passing/pubspec.lock b/test_fixtures/test/passing/pubspec.lock new file mode 100644 index 00000000..d0fcb1a5 --- /dev/null +++ b/test_fixtures/test/passing/pubspec.lock @@ -0,0 +1,335 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44" diff --git a/test_fixtures/test/passingIntegration/pubspec.lock b/test_fixtures/test/passingIntegration/pubspec.lock new file mode 100644 index 00000000..d0fcb1a5 --- /dev/null +++ b/test_fixtures/test/passingIntegration/pubspec.lock @@ -0,0 +1,335 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: + analyzer: + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "0.30.0+4" + ansicolor: + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1" + args: + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + async: + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "1.13.3" + barback: + description: + name: barback + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.2+15" + boolean_selector: + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + charcode: + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.2" + cli_util: + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" + collection: + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.14.6" + convert: + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2+1" + csslib: + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.14.3" + dart2_constant: + description: + name: dart2_constant + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+dart1" + dart_dev: + description: + path: "../../.." + relative: true + source: path + version: "2.0.4" + front_end: + description: + name: front_end + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0-alpha.4.1" + glob: + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + html: + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http: + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+16" + http_multi_server: + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" + http_parser: + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.2" + io: + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2+1" + isolate: + description: + name: isolate + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" + kernel: + description: + name: kernel + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0-alpha.1.1" + logging: + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "0.11.3+2" + matcher: + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.1+4" + meta: + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.7" + mime: + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.5" + multi_server_socket: + description: + name: multi_server_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" + package_config: + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + package_resolver: + description: + name: package_resolver + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + path: + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.1" + plugin: + description: + name: plugin + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.0+3" + pool: + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.4" + pub_semver: + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + resource: + description: + name: resource + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" + shelf: + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.3" + shelf_packages_handler: + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + shelf_static: + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.7" + shelf_web_socket: + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.2" + source_map_stack_trace: + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + source_maps: + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.5" + source_span: + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.5" + stack_trace: + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.9.3" + stream_channel: + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.6" + string_scanner: + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" + term_glyph: + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + test: + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.34" + typed_data: + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.5" + utf: + description: + name: utf + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.0+3" + uuid: + description: + name: uuid + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + watcher: + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7+6" + web_socket_channel: + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.6" + yaml: + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.13" +sdks: + dart: ">=1.24.0 <2.0.0-dev.44"