45 references to TempFileName
Microsoft.AspNetCore.WebUtilities.Tests (45)
FileBufferingReadStreamTests.cs (45)
32
Assert.Null(stream.
TempFileName
);
52
Assert.Null(stream.
TempFileName
);
59
Assert.Null(stream.
TempFileName
);
66
Assert.Null(stream.
TempFileName
);
85
Assert.Null(stream.
TempFileName
);
92
Assert.Null(stream.
TempFileName
);
99
Assert.Null(stream.
TempFileName
);
119
Assert.Null(stream.
TempFileName
);
126
Assert.NotNull(stream.
TempFileName
);
127
tempFileName = stream.
TempFileName
!;
135
Assert.NotNull(stream.
TempFileName
);
157
Assert.Null(stream.
TempFileName
);
162
Assert.Null(stream.
TempFileName
);
163
Assert.False(File.Exists(stream.
TempFileName
));
180
Assert.Null(stream.
TempFileName
);
187
Assert.NotNull(stream.
TempFileName
);
188
tempFileName = stream.
TempFileName
!;
194
Assert.NotNull(stream.
TempFileName
);
214
Assert.Null(stream.
TempFileName
);
221
Assert.Null(stream.
TempFileName
);
228
Assert.Null(stream.
TempFileName
);
247
Assert.Null(stream.
TempFileName
);
254
Assert.Null(stream.
TempFileName
);
261
Assert.Null(stream.
TempFileName
);
281
Assert.Null(stream.
TempFileName
);
288
Assert.NotNull(stream.
TempFileName
);
289
tempFileName = stream.
TempFileName
!;
297
Assert.NotNull(stream.
TempFileName
);
319
Assert.NotNull(stream.
TempFileName
);
320
tempFileName = stream.
TempFileName
!;
360
Assert.Null(stream.
TempFileName
);
365
Assert.Null(stream.
TempFileName
);
366
Assert.False(File.Exists(stream.
TempFileName
));
383
Assert.Null(stream.
TempFileName
);
390
Assert.NotNull(stream.
TempFileName
);
391
tempFileName = stream.
TempFileName
!;
397
Assert.NotNull(stream.
TempFileName
);
419
Assert.False(File.Exists(stream.
TempFileName
), "tempFile should not be created as yet");
422
Assert.True(File.Exists(stream.
TempFileName
), "tempFile should be created");
423
tempFileName = stream.
TempFileName
!;
448
Assert.False(File.Exists(stream.
TempFileName
), "tempFile should not be created as yet");
451
Assert.True(File.Exists(stream.
TempFileName
), "tempFile should be created");
452
tempFileName = stream.
TempFileName
!;
617
Assert.NotNull(stream.
TempFileName
);
622
tempFileName = stream.
TempFileName
!;