C# 클래스 TestBase, VisualStudio

파일 보기 프로젝트 열기: github/VisualStudio 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Now DateTimeOffset
testOutput StringBuilder

공개 메소드들

메소드 설명
TestBase ( ) : System
TestBase ( ITestOutputHelper output ) : System

보호된 메소드들

메소드 설명
Add ( Subject source, Thing, item ) : void
Compare ( Thing, thing1, Thing, thing2 ) : bool
Dump ( IEnumerable col ) : void
Dump ( object thing ) : void
Dump ( object prefix, object thing ) : void
Dump ( string msg ) : void
Dump ( string title, IEnumerable col ) : void
GetThing ( int id ) : Thing,

This will create a new Thing with CreatedAt and UpdatedAt set to 0

GetThing ( int id, int minutes ) : Thing,
GetThing ( int id, int minutesc, int minutesu ) : Thing,
GetThing ( int id, int minutesc, int minutesu, string title ) : Thing,
GetThing ( int id, string title ) : Thing,

메소드 상세

Add() 보호된 메소드

protected Add ( Subject source, Thing, item ) : void
source Subject
item Thing,
리턴 void

Compare() 보호된 메소드

protected Compare ( Thing, thing1, Thing, thing2 ) : bool
thing1 Thing,
thing2 Thing,
리턴 bool

Dump() 보호된 메소드

protected Dump ( IEnumerable col ) : void
col IEnumerable
리턴 void

Dump() 보호된 메소드

protected Dump ( object thing ) : void
thing object
리턴 void

Dump() 보호된 메소드

protected Dump ( object prefix, object thing ) : void
prefix object
thing object
리턴 void

Dump() 보호된 메소드

protected Dump ( string msg ) : void
msg string
리턴 void

Dump() 보호된 메소드

protected Dump ( string title, IEnumerable col ) : void
title string
col IEnumerable
리턴 void

GetThing() 보호된 메소드

This will create a new Thing with CreatedAt and UpdatedAt set to 0
protected GetThing ( int id ) : Thing,
id int
리턴 Thing,

GetThing() 보호된 메소드

protected GetThing ( int id, int minutes ) : Thing,
id int
minutes int
리턴 Thing,

GetThing() 보호된 메소드

protected GetThing ( int id, int minutesc, int minutesu ) : Thing,
id int
minutesc int
minutesu int
리턴 Thing,

GetThing() 보호된 메소드

protected GetThing ( int id, int minutesc, int minutesu, string title ) : Thing,
id int
minutesc int
minutesu int
title string
리턴 Thing,

GetThing() 보호된 메소드

protected GetThing ( int id, string title ) : Thing,
id int
title string
리턴 Thing,

TestBase() 공개 메소드

public TestBase ( ) : System
리턴 System

TestBase() 공개 메소드

public TestBase ( ITestOutputHelper output ) : System
output ITestOutputHelper
리턴 System

프로퍼티 상세

Now 보호되어 있는 프로퍼티

protected DateTimeOffset Now
리턴 DateTimeOffset

testOutput 보호되어 있는 프로퍼티

protected StringBuilder testOutput
리턴 StringBuilder