File tree 2 files changed +4
-4
lines changed
dotnet/test/common/DevTools
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -131,12 +131,12 @@ private void ValidateProfile(CurrentCdpVersion.Profiler.Profile profiler)
131
131
{
132
132
Assert . That ( profiler , Is . Not . Null ) ;
133
133
Assert . That ( profiler . Nodes , Is . Not . Null ) ;
134
- Assert . That ( profiler . StartTime , Is . Not . Null ) ;
135
- Assert . That ( profiler . EndTime , Is . Not . Null ) ;
134
+ Assert . That ( profiler . StartTime , Is . Not . Zero ) ;
135
+ Assert . That ( profiler . EndTime , Is . Not . Zero ) ;
136
136
Assert . That ( profiler . TimeDeltas , Is . Not . Null ) ;
137
137
foreach ( var delta in profiler . TimeDeltas )
138
138
{
139
- Assert . That ( delta , Is . Not . Null ) ;
139
+ Assert . That ( delta , Is . Not . Zero ) ;
140
140
}
141
141
142
142
foreach ( var node in profiler . Nodes )
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public void Setup()
39
39
devTools = driver as IDevTools ;
40
40
if ( devTools == null )
41
41
{
42
- Assert . Ignore ( "{0 } does not support Chrome DevTools Protocol", EnvironmentManager . Instance . Browser ) ;
42
+ Assert . Ignore ( $ " { EnvironmentManager . Instance . Browser } does not support Chrome DevTools Protocol") ;
43
43
return ;
44
44
}
45
45
You can’t perform that action at this time.
0 commit comments