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.Attributes.TestCaseSourceTests Class Reference

Classes

class  DataSourceClass
 
class  DivideDataProvider
 
class  DivideDataProviderWithReturnValue
 

Public Member Functions

void SourceCanBeStaticProperty (string source)
 
void SourceUsingInstancePropertyIsNotRunnable ()
 
void SourceCanBeStaticMethod (string source)
 
void SourceUsingInstanceMethodIsNotRunnable ()
 
void SourceCanBeStaticField (string source)
 
void SourceUsingInstanceFieldIsNotRunnable ()
 
void SourceCanBeInstanceOfIEnumerable (string source)
 
void SourceMayReturnArgumentsAsObjectArray (int n, int d, int q)
 
void TestAttributeIsOptional (int n, int d, int q)
 
void SourceMayReturnArgumentsAsIntArray (int n, int d, int q)
 
void SourceMayReturnSinglePrimitiveArgumentAlone (int n)
 
int SourceMayReturnArgumentsAsParamSet (int n, int d)
 
void TestMayUseMultipleSourceAttributes (int n, int d, int q)
 
void TestWithFourArguments (int n, int d, int q, int r)
 
void SourceMayBeInAnotherClass (int n, int d, int q)
 
int SourceMayBeInAnotherClassWithReturn (int n, int d)
 
void IgnoreTakesPrecedenceOverExpectedException ()
 
void CanIgnoreIndividualTestCases ()
 
void CanMarkIndividualTestCasesExplicit ()
 
void HandlesExceptionInTestCaseSource ()
 
void HandlesExceptionInTestCaseSource_GuiDisplay (string lhs, string rhs)
 
void MethodTakingTwoStringArrays (string[] a, string[] b)
 

Properties

static IEnumerable StaticProperty [get]
 
static IEnumerable exception_source [get]
 

Private Member Functions

IEnumerable InstanceMethod ()
 

Static Private Member Functions

static IEnumerable StaticMethod ()
 

Static Private Attributes

static object[] StaticField
 
static object[] testCases
 
static object[] MyData
 
static object[] MyIntData
 
static object[] FourArgs
 
static int[] EvenNumbers = new int[] { 2, 4, 6, 8 }
 
static object[] MoreData
 
static object[] Params
 

Member Function Documentation

void NUnit.Framework.Attributes.TestCaseSourceTests.SourceCanBeStaticProperty ( string  source)
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.SourceUsingInstancePropertyIsNotRunnable ( )
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.SourceCanBeStaticMethod ( string  source)
inline
static IEnumerable NUnit.Framework.Attributes.TestCaseSourceTests.StaticMethod ( )
inlinestaticprivate
void NUnit.Framework.Attributes.TestCaseSourceTests.SourceUsingInstanceMethodIsNotRunnable ( )
inline
IEnumerable NUnit.Framework.Attributes.TestCaseSourceTests.InstanceMethod ( )
inlineprivate
void NUnit.Framework.Attributes.TestCaseSourceTests.SourceCanBeStaticField ( string  source)
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.SourceUsingInstanceFieldIsNotRunnable ( )
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.SourceCanBeInstanceOfIEnumerable ( string  source)
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.SourceMayReturnArgumentsAsObjectArray ( int  n,
int  d,
int  q 
)
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.TestAttributeIsOptional ( int  n,
int  d,
int  q 
)
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.SourceMayReturnArgumentsAsIntArray ( int  n,
int  d,
int  q 
)
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.SourceMayReturnSinglePrimitiveArgumentAlone ( int  n)
inline
int NUnit.Framework.Attributes.TestCaseSourceTests.SourceMayReturnArgumentsAsParamSet ( int  n,
int  d 
)
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.TestMayUseMultipleSourceAttributes ( int  n,
int  d,
int  q 
)
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.TestWithFourArguments ( int  n,
int  d,
int  q,
int  r 
)
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.SourceMayBeInAnotherClass ( int  n,
int  d,
int  q 
)
inline
int NUnit.Framework.Attributes.TestCaseSourceTests.SourceMayBeInAnotherClassWithReturn ( int  n,
int  d 
)
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.HandlesExceptionInTestCaseSource_GuiDisplay ( string  lhs,
string  rhs 
)
inline
void NUnit.Framework.Attributes.TestCaseSourceTests.MethodTakingTwoStringArrays ( string[]  a,
string[]  b 
)
inline

Member Data Documentation

object [] NUnit.Framework.Attributes.TestCaseSourceTests.StaticField
staticprivate
Initial value:
=
{ new object[] { "StaticField" } }
object [] NUnit.Framework.Attributes.TestCaseSourceTests.testCases
staticprivate
Initial value:
=
{
new TestCaseData(
new string[] { "A" },
new string[] { "B" })
}
object [] NUnit.Framework.Attributes.TestCaseSourceTests.MyData
staticprivate
Initial value:
= new object[] {
new object[] { 12, 3, 4 },
new object[] { 12, 4, 3 },
new object[] { 12, 6, 2 } }
object [] NUnit.Framework.Attributes.TestCaseSourceTests.MyIntData
staticprivate
Initial value:
= new object[] {
new int[] { 12, 3, 4 },
new int[] { 12, 4, 3 },
new int[] { 12, 6, 2 } }
object [] NUnit.Framework.Attributes.TestCaseSourceTests.FourArgs
staticprivate
Initial value:
= new object[] {
new TestCaseData( 12, 3, 4, 0 ),
new TestCaseData( 12, 4, 3, 0 ),
new TestCaseData( 12, 5, 2, 2 ) }
int [] NUnit.Framework.Attributes.TestCaseSourceTests.EvenNumbers = new int[] { 2, 4, 6, 8 }
staticprivate
object [] NUnit.Framework.Attributes.TestCaseSourceTests.MoreData
staticprivate
Initial value:
= new object[] {
new object[] { 12, 1, 12 },
new object[] { 12, 2, 6 } }
object [] NUnit.Framework.Attributes.TestCaseSourceTests.Params
staticprivate
Initial value:
= new object[] {
new TestCaseData(24, 3).Returns(8),
new TestCaseData(24, 2).Returns(12) }

Property Documentation

IEnumerable NUnit.Framework.Attributes.TestCaseSourceTests.StaticProperty
staticgetprivate
IEnumerable NUnit.Framework.Attributes.TestCaseSourceTests.exception_source
staticgetprivate

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