-
Notifications
You must be signed in to change notification settings - Fork 157
File Assert
jnm2 edited this page Jun 14, 2017
·
5 revisions
The FileAssert class provides methods for comparing or verifying the existence of files, which may be provided as Streams, as FileInfos or as strings giving the path to each file.
FileAssert.AreEqual(Stream expected, Stream actual);
FileAssert.AreEqual(
Stream expected, Stream actual, string message, params object[] args);
FileAssert.AreEqual(FileInfo expected, FileInfo actual);
FileAssert.AreEqual(
FileInfo expected, FileInfo actual, string message, params object[] args);
FileAssert.AreEqual(string expected, string actual);
FileAssert.AreEqual(
string expected, string actual, string message, params object[] args);
FileAssert.AreNotEqual(Stream expected, Stream actual);
FileAssert.AreNotEqual(
Stream expected, Stream actual, string message, params object[] args);
FileAssert.AreNotEqual(FileInfo expected, FileInfo actual);
FileAssert.AreNotEqual(
FileInfo expected, FileInfo actual, string message, params object[] args);
FileAssert.AreNotEqual(string expected, string actual);
FileAssert.AreNotEqual(
string expected, string actual, string message, params object[] args);
FileAssert.Exists(FileInfo actual);
FileAssert.Exists(
FileInfo actual, string message, params object[] args);
FileAssert.Exists(string actual);
FileAssert.Exists(
string actual, string message, params object[] args);
FileAssert.DoesNotExist(FileInfo actual);
FileAssert.DoesNotExist(
FileInfo actual, string message, params object[] args);
FileAssert.DoesNotExist(string actual);
FileAssert.DoesNotExist(
string actual, string message, params object[] args);
Copyright (c) 2018 The NUnit Project - Licensed under CC BY-NC-SA 4.0
-
NUnit
-
Release Notes
-
License
- Getting Started
- Writing Tests
- Running Tests
- Extending NUnit
- Technical Notes
-
Release Notes
- NUnit Xamarin Runners
- VS Test Adapter
- VS Test Generator
- NUnit Analyzers