C# Class PlaytomicTest.PTest

Exibir arquivo Open project: playtomic/gameapi-csharp Class Usage Examples

Protected Properties

Property Type Description
failures List
results List
successes List

Public Methods

Method Description
AssertEquals ( string section, string name, bool expected, bool received ) : bool
AssertEquals ( string section, string name, int expected, int received ) : bool
AssertEquals ( string section, string name, string expected, string received ) : bool
AssertFalse ( string section, string name, bool value ) : bool
AssertNotNull ( string section, string name, object received ) : bool
AssertNull ( string section, string name, object received ) : bool
AssertTrue ( string section, string name, bool value ) : bool
Render ( ) : void
Setup ( ) : void

Private Methods

Method Description
Record ( bool success, string section, string message, object expected, object received ) : void

Method Details

AssertEquals() public static method

public static AssertEquals ( string section, string name, bool expected, bool received ) : bool
section string
name string
expected bool
received bool
return bool

AssertEquals() public static method

public static AssertEquals ( string section, string name, int expected, int received ) : bool
section string
name string
expected int
received int
return bool

AssertEquals() public static method

public static AssertEquals ( string section, string name, string expected, string received ) : bool
section string
name string
expected string
received string
return bool

AssertFalse() public static method

public static AssertFalse ( string section, string name, bool value ) : bool
section string
name string
value bool
return bool

AssertNotNull() public static method

public static AssertNotNull ( string section, string name, object received ) : bool
section string
name string
received object
return bool

AssertNull() public static method

public static AssertNull ( string section, string name, object received ) : bool
section string
name string
received object
return bool

AssertTrue() public static method

public static AssertTrue ( string section, string name, bool value ) : bool
section string
name string
value bool
return bool

Render() public static method

public static Render ( ) : void
return void

Setup() public static method

public static Setup ( ) : void
return void

Property Details

failures protected_oe static_oe property

protected static List failures
return List

results protected_oe static_oe property

protected static List results
return List

successes protected_oe static_oe property

protected static List successes
return List