IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests Class Reference
+ Collaboration diagram for NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests:

Public Member Functions

void SetUp ()
 
void TearDown ()
 
void PassesWhenFileInfoExists ()
 
void PassesWhenDirectoryInfoExists ()
 
void PassesWhenFileStringExists ()
 
void PassesWhenDirectoryStringExists ()
 
void FailsWhenIgnoreFilesIsTrueWithFileString ()
 
void FailsWhenIgnoreFilesIsTrueWithFileInfo ()
 
void FailsWhenIgnoreDirectoriesIsTrueWithDirectoryString ()
 
void FailsWhenIgnoreDirectoriesIsTrueWithDirectoryInfo ()
 
void FailsWhenDirectoryInfoDoesNotExist ()
 
void FailsWhenFileInfoDoesNotExist ()
 
void FailsWhenFileStringDoesNotExist ()
 
void FailsWhenDirectoryStringDoesNotExist ()
 
void FailsWhenNotStringOrDirectoryInfo ()
 
void FailsWhenFileInfoIsNull ()
 
void FailsWhenDirectoryInfoIsNull ()
 
void FailsWhenStringIsNull ()
 
void FailsWhenStringIsEmpty ()
 

Private Attributes

FileOrDirectoryExistsConstraint _constraint
 
TestDirectory _goodDir
 
const string TEST_FILE = "Test1.txt"
 
const string RESOURCE_FILE = "TestText1.txt"
 

Static Private Attributes

static readonly string BAD_DIRECTORY = Path.Combine(Path.GetTempPath(), @"\I\hope\this\is\garbage")
 
static readonly string BAD_FILE = Path.Combine(Path.GetTempPath(), "garbage.txt")
 

Member Function Documentation

void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.SetUp ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.TearDown ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.PassesWhenFileInfoExists ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.PassesWhenDirectoryInfoExists ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.PassesWhenFileStringExists ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.PassesWhenDirectoryStringExists ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenIgnoreFilesIsTrueWithFileString ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenIgnoreFilesIsTrueWithFileInfo ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenIgnoreDirectoriesIsTrueWithDirectoryString ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenIgnoreDirectoriesIsTrueWithDirectoryInfo ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenDirectoryInfoDoesNotExist ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenFileInfoDoesNotExist ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenFileStringDoesNotExist ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenDirectoryStringDoesNotExist ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenNotStringOrDirectoryInfo ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenFileInfoIsNull ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenDirectoryInfoIsNull ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenStringIsNull ( )
inline
void NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.FailsWhenStringIsEmpty ( )
inline

Member Data Documentation

FileOrDirectoryExistsConstraint NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests._constraint
private
TestDirectory NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests._goodDir
private
readonly string NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.BAD_DIRECTORY = Path.Combine(Path.GetTempPath(), @"\I\hope\this\is\garbage")
staticprivate
readonly string NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.BAD_FILE = Path.Combine(Path.GetTempPath(), "garbage.txt")
staticprivate
const string NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.TEST_FILE = "Test1.txt"
private
const string NUnit.Framework.Tests.Constraints.FileOrDirectoryExistsConstraintTests.RESOURCE_FILE = "TestText1.txt"
private

The documentation for this class was generated from the following file: