11using Nickvision . Desktop . System ;
22using System . Runtime . Versioning ;
33using System . Threading . Tasks ;
4+ using Environment = System . Environment ;
45
56namespace Nickvision . Desktop . Tests ;
67
@@ -15,7 +16,7 @@ public sealed class SystemSecretServiceTests
1516 [ TestMethod ]
1617 public void Case001_Initialize ( )
1718 {
18- if ( global :: System . Environment . GetEnvironmentVariable ( "CI" ) == "true" )
19+ if ( Environment . GetEnvironmentVariable ( "CI" ) == "true" )
1920 {
2021 Assert . Inconclusive ( "Dialogs are not supported in CI environments" ) ;
2122 }
@@ -26,7 +27,7 @@ public void Case001_Initialize()
2627 [ TestMethod ]
2728 public async Task Case002_Add ( )
2829 {
29- if ( global :: System . Environment . GetEnvironmentVariable ( "CI" ) == "true" )
30+ if ( Environment . GetEnvironmentVariable ( "CI" ) == "true" )
3031 {
3132 Assert . Inconclusive ( "Dialogs are not supported in CI environments" ) ;
3233 }
@@ -39,7 +40,7 @@ public async Task Case002_Add()
3940 [ TestMethod ]
4041 public async Task Case003_Create ( )
4142 {
42- if ( global :: System . Environment . GetEnvironmentVariable ( "CI" ) == "true" )
43+ if ( Environment . GetEnvironmentVariable ( "CI" ) == "true" )
4344 {
4445 Assert . Inconclusive ( "Dialogs are not supported in CI environments" ) ;
4546 }
@@ -52,7 +53,7 @@ public async Task Case003_Create()
5253 [ TestMethod ]
5354 public void Case004_Create ( )
5455 {
55- if ( global :: System . Environment . GetEnvironmentVariable ( "CI" ) == "true" )
56+ if ( Environment . GetEnvironmentVariable ( "CI" ) == "true" )
5657 {
5758 Assert . Inconclusive ( "Dialogs are not supported in CI environments" ) ;
5859 }
@@ -65,7 +66,7 @@ public void Case004_Create()
6566 [ TestMethod ]
6667 public async Task Case005_Get ( )
6768 {
68- if ( global :: System . Environment . GetEnvironmentVariable ( "CI" ) == "true" )
69+ if ( Environment . GetEnvironmentVariable ( "CI" ) == "true" )
6970 {
7071 Assert . Inconclusive ( "Dialogs are not supported in CI environments" ) ;
7172 }
@@ -80,7 +81,7 @@ public async Task Case005_Get()
8081 [ TestMethod ]
8182 public async Task Case006_Get ( )
8283 {
83- if ( global :: System . Environment . GetEnvironmentVariable ( "CI" ) == "true" )
84+ if ( Environment . GetEnvironmentVariable ( "CI" ) == "true" )
8485 {
8586 Assert . Inconclusive ( "Dialogs are not supported in CI environments" ) ;
8687 }
@@ -97,7 +98,7 @@ public async Task Case006_Get()
9798 [ TestMethod ]
9899 public async Task Case007_Update ( )
99100 {
100- if ( global :: System . Environment . GetEnvironmentVariable ( "CI" ) == "true" )
101+ if ( Environment . GetEnvironmentVariable ( "CI" ) == "true" )
101102 {
102103 Assert . Inconclusive ( "Dialogs are not supported in CI environments" ) ;
103104 }
@@ -117,7 +118,7 @@ public async Task Case007_Update()
117118 [ TestMethod ]
118119 public async Task Case008_Update ( )
119120 {
120- if ( global :: System . Environment . GetEnvironmentVariable ( "CI" ) == "true" )
121+ if ( Environment . GetEnvironmentVariable ( "CI" ) == "true" )
121122 {
122123 Assert . Inconclusive ( "Dialogs are not supported in CI environments" ) ;
123124 }
@@ -137,7 +138,7 @@ public async Task Case008_Update()
137138 [ TestMethod ]
138139 public async Task Case009_Delete ( )
139140 {
140- if ( global :: System . Environment . GetEnvironmentVariable ( "CI" ) == "true" )
141+ if ( Environment . GetEnvironmentVariable ( "CI" ) == "true" )
141142 {
142143 Assert . Inconclusive ( "Dialogs are not supported in CI environments" ) ;
143144 }
0 commit comments