C# Класс Wv.Test.WvTest

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DoMain ( ) : void
RegisterTest ( string name, System.Action tc ) : void
Run ( ) : int
WvTest ( )
booleanize ( bool x ) : bool
booleanize ( long x ) : bool
booleanize ( object o ) : bool
booleanize ( string s ) : bool
booleanize ( ulong x ) : bool
expect_next_failure ( ) : void
test ( bool ok, string file, int line, string s ) : bool
test_eq ( IComparable cond1, IComparable cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( bool cond1, bool cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( decimal cond1, decimal cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( double cond1, double cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( long cond1, long cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( object cond1, object cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( string cond1, string cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( ulong cond1, ulong cond2, string file, int line, string s1, string s2 ) : bool
test_exception ( string file, int line, string s ) : void
test_ne ( IComparable cond1, IComparable cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( bool cond1, bool cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( decimal cond1, decimal cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( double cond1, double cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( long cond1, long cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( object cond1, object cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( string cond1, string cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( ulong cond1, ulong cond2, string file, int line, string s1, string s2 ) : bool

Описание методов

DoMain() публичный статический Метод

public static DoMain ( ) : void
Результат void

RegisterTest() публичный Метод

public RegisterTest ( string name, System.Action tc ) : void
name string
tc System.Action
Результат void

Run() публичный Метод

public Run ( ) : int
Результат int

WvTest() публичный Метод

public WvTest ( )

booleanize() публичный статический Метод

public static booleanize ( bool x ) : bool
x bool
Результат bool

booleanize() публичный статический Метод

public static booleanize ( long x ) : bool
x long
Результат bool

booleanize() публичный статический Метод

public static booleanize ( object o ) : bool
o object
Результат bool

booleanize() публичный статический Метод

public static booleanize ( string s ) : bool
s string
Результат bool

booleanize() публичный статический Метод

public static booleanize ( ulong x ) : bool
x ulong
Результат bool

expect_next_failure() публичный статический Метод

public static expect_next_failure ( ) : void
Результат void

test() публичный статический Метод

public static test ( bool ok, string file, int line, string s ) : bool
ok bool
file string
line int
s string
Результат bool

test_eq() публичный статический Метод

public static test_eq ( IComparable cond1, IComparable cond2, string file, int line, string s1, string s2 ) : bool
cond1 IComparable
cond2 IComparable
file string
line int
s1 string
s2 string
Результат bool

test_eq() публичный статический Метод

public static test_eq ( bool cond1, bool cond2, string file, int line, string s1, string s2 ) : bool
cond1 bool
cond2 bool
file string
line int
s1 string
s2 string
Результат bool

test_eq() публичный статический Метод

public static test_eq ( decimal cond1, decimal cond2, string file, int line, string s1, string s2 ) : bool
cond1 decimal
cond2 decimal
file string
line int
s1 string
s2 string
Результат bool

test_eq() публичный статический Метод

public static test_eq ( double cond1, double cond2, string file, int line, string s1, string s2 ) : bool
cond1 double
cond2 double
file string
line int
s1 string
s2 string
Результат bool

test_eq() публичный статический Метод

public static test_eq ( long cond1, long cond2, string file, int line, string s1, string s2 ) : bool
cond1 long
cond2 long
file string
line int
s1 string
s2 string
Результат bool

test_eq() публичный статический Метод

public static test_eq ( object cond1, object cond2, string file, int line, string s1, string s2 ) : bool
cond1 object
cond2 object
file string
line int
s1 string
s2 string
Результат bool

test_eq() публичный статический Метод

public static test_eq ( string cond1, string cond2, string file, int line, string s1, string s2 ) : bool
cond1 string
cond2 string
file string
line int
s1 string
s2 string
Результат bool

test_eq() публичный статический Метод

public static test_eq ( ulong cond1, ulong cond2, string file, int line, string s1, string s2 ) : bool
cond1 ulong
cond2 ulong
file string
line int
s1 string
s2 string
Результат bool

test_exception() публичный статический Метод

public static test_exception ( string file, int line, string s ) : void
file string
line int
s string
Результат void

test_ne() публичный статический Метод

public static test_ne ( IComparable cond1, IComparable cond2, string file, int line, string s1, string s2 ) : bool
cond1 IComparable
cond2 IComparable
file string
line int
s1 string
s2 string
Результат bool

test_ne() публичный статический Метод

public static test_ne ( bool cond1, bool cond2, string file, int line, string s1, string s2 ) : bool
cond1 bool
cond2 bool
file string
line int
s1 string
s2 string
Результат bool

test_ne() публичный статический Метод

public static test_ne ( decimal cond1, decimal cond2, string file, int line, string s1, string s2 ) : bool
cond1 decimal
cond2 decimal
file string
line int
s1 string
s2 string
Результат bool

test_ne() публичный статический Метод

public static test_ne ( double cond1, double cond2, string file, int line, string s1, string s2 ) : bool
cond1 double
cond2 double
file string
line int
s1 string
s2 string
Результат bool

test_ne() публичный статический Метод

public static test_ne ( long cond1, long cond2, string file, int line, string s1, string s2 ) : bool
cond1 long
cond2 long
file string
line int
s1 string
s2 string
Результат bool

test_ne() публичный статический Метод

public static test_ne ( object cond1, object cond2, string file, int line, string s1, string s2 ) : bool
cond1 object
cond2 object
file string
line int
s1 string
s2 string
Результат bool

test_ne() публичный статический Метод

public static test_ne ( string cond1, string cond2, string file, int line, string s1, string s2 ) : bool
cond1 string
cond2 string
file string
line int
s1 string
s2 string
Результат bool

test_ne() публичный статический Метод

public static test_ne ( ulong cond1, ulong cond2, string file, int line, string s1, string s2 ) : bool
cond1 ulong
cond2 ulong
file string
line int
s1 string
s2 string
Результат bool