File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
dotnet/test/common/DevTools Expand file tree Collapse file tree 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)
131131 {
132132 Assert . That ( profiler , Is . Not . Null ) ;
133133 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 ) ;
136136 Assert . That ( profiler . TimeDeltas , Is . Not . Null ) ;
137137 foreach ( var delta in profiler . TimeDeltas )
138138 {
139- Assert . That ( delta , Is . Not . Null ) ;
139+ Assert . That ( delta , Is . Not . Zero ) ;
140140 }
141141
142142 foreach ( var node in profiler . Nodes )
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public void Setup()
3939 devTools = driver as IDevTools ;
4040 if ( devTools == null )
4141 {
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") ;
4343 return ;
4444 }
4545
You can’t perform that action at this time.
0 commit comments