Skip to content

Commit a654b9b

Browse files
committed
update smoke tests to correspond to new nuget reporting
1 parent 8677a9f commit a654b9b

15 files changed

+137
-276
lines changed

tests/smoke-nuget-central-package-management.yaml

+1-17
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ input:
55
- update-type: all
66
experiments:
77
nuget_native_analysis: true
8+
nuget_use_direct_discovery: true
89
ignore-conditions:
910
- dependency-name: Newtonsoft.Json
1011
source: tests/smoke-nuget-central-package-management.yaml
@@ -31,11 +32,6 @@ output:
3132
- dependencies
3233
requirement: 13.0.1
3334
source: null
34-
- file: /nuget/central-package-management/Directory.Packages.props
35-
groups:
36-
- dependencies
37-
requirement: 13.0.1
38-
source: null
3935
version: 13.0.1
4036
dependency_files:
4137
- /nuget/central-package-management/project.csproj
@@ -52,11 +48,6 @@ output:
5248
- dependencies
5349
requirement: 13.0.1
5450
source: null
55-
- file: /nuget/central-package-management/Directory.Packages.props
56-
groups:
57-
- dependencies
58-
requirement: 13.0.1
59-
source: null
6051
previous-version: 13.0.1
6152
requirements:
6253
- file: /nuget/central-package-management/project.csproj
@@ -66,13 +57,6 @@ output:
6657
source:
6758
source_url: https://github.com/JamesNK/Newtonsoft.Json
6859
type: nuget_repo
69-
- file: /nuget/central-package-management/Directory.Packages.props
70-
groups:
71-
- dependencies
72-
requirement: 13.0.3
73-
source:
74-
source_url: https://github.com/JamesNK/Newtonsoft.Json
75-
type: nuget_repo
7660
version: 13.0.3
7761
directory: /nuget/central-package-management
7862
updated-dependency-files:

tests/smoke-nuget-compatible-version.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ input:
55
- update-type: all
66
experiments:
77
nuget_native_analysis: true
8+
nuget_use_direct_discovery: true
89
ignore-conditions:
910
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
1011
source: tests/smoke-nuget-compatible-version.yaml
@@ -24,9 +25,6 @@ output:
2425
expect:
2526
data:
2627
dependencies:
27-
- name: NETStandard.Library
28-
requirements: []
29-
version: 2.0.3
3028
- name: Microsoft.AspNetCore.Authentication.JwtBearer
3129
requirements:
3230
- file: /nuget/compatible-version/project/project.csproj

tests/smoke-nuget-dirs-proj.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ input:
55
- update-type: all
66
experiments:
77
nuget_native_analysis: true
8+
nuget_use_direct_discovery: true
89
ignore-conditions:
910
- dependency-name: NuGet.Versioning
1011
source: tests/smoke-nuget-dirs-proj.yaml

tests/smoke-nuget-group-multidir.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ input:
1515
- NuGet.Versioning
1616
experiments:
1717
nuget_native_analysis: true
18+
nuget_use_direct_discovery: true
1819
ignore-conditions:
1920
- dependency-name: NuGet.Versioning
2021
source: ../smoke-tests/tests/smoke-nuget-group-multidir.yaml

tests/smoke-nuget-lockfile.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ input:
55
- update-type: all
66
experiments:
77
nuget_native_analysis: true
8+
nuget_use_direct_discovery: true
89
ignore-conditions:
910
- dependency-name: Newtonsoft.Json.Bson
1011
source: tests/smoke-nuget-lockfile.yaml

tests/smoke-nuget-peer-dependencies.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ input:
55
- update-type: all
66
experiments:
77
nuget_native_analysis: true
8+
nuget_use_direct_discovery: true
89
ignore-conditions:
910
- dependency-name: Microsoft.Extensions.Http
1011
source: tests/smoke-nuget-peer-dependencies.yaml

0 commit comments

Comments
 (0)