C# 클래스 DrawingTestHelper.DrawingTest

Summary description for DrawingTest.
상속: IDisposable
파일 보기 프로젝트 열기: kumpera/mono 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
ExpectedResults ExpectedResultsHash
_bitmap System.Drawing.Bitmap
_ownerClass string
_specialTolerance System.Collections.Hashtable
cache Cache

공개 메소드들

메소드 설명
AssertAlmostEqual ( PointF expected, PointF actual ) : void
AssertAlmostEqual ( float expected, float actual ) : void
AssertAlmostEqual ( float expected, float actual, float tolerance ) : void
AssertCompare ( ) : void
AssertCompare ( double tolerance ) : void
CalculateNorm ( Bitmap bitmap ) : double
CalculateSHA1 ( ) : string
Compare ( ) : bool
Compare ( double tolerance ) : bool

Checks that the given bitmap norm is similar to expected

CompareToExpected ( ) : double
Create ( int width, int height ) : DrawingTest
Create ( int width, int height, string ownerClass ) : DrawingTest
Dispose ( ) : void
GetNorm ( ) : double
PDCompare ( ) : bool
PDCompare ( double tolerance ) : bool
Show ( ) : void

보호된 메소드들

메소드 설명
CreateForm ( string title ) : IMyForm
DetermineCallingFunction ( ) : string
DrawingTest ( ) : System
GetExpectedNorm ( double myNorm ) : double
GetReferenceImage ( string testName ) : Bitmap
GetSpecialTolerance ( string testName ) : double

비공개 메소드들

메소드 설명
AssertAlmostEqual ( float expected, float actual, float tolerance, string message ) : void
CheckCounter ( ) : void
CompareToExpectedInternal ( ) : double
GetImageFFTArray ( Bitmap bitmap ) : Exocortex.DSP.ComplexF[]
Init ( Bitmap bitmap ) : void
Init ( int width, int height ) : void

메소드 상세

AssertAlmostEqual() 공개 정적인 메소드

public static AssertAlmostEqual ( PointF expected, PointF actual ) : void
expected System.Drawing.PointF
actual System.Drawing.PointF
리턴 void

AssertAlmostEqual() 공개 정적인 메소드

public static AssertAlmostEqual ( float expected, float actual ) : void
expected float
actual float
리턴 void

AssertAlmostEqual() 공개 정적인 메소드

public static AssertAlmostEqual ( float expected, float actual, float tolerance ) : void
expected float
actual float
tolerance float
리턴 void

AssertCompare() 공개 메소드

public AssertCompare ( ) : void
리턴 void

AssertCompare() 공개 메소드

public AssertCompare ( double tolerance ) : void
tolerance double
리턴 void

CalculateNorm() 공개 정적인 메소드

public static CalculateNorm ( Bitmap bitmap ) : double
bitmap System.Drawing.Bitmap
리턴 double

CalculateSHA1() 추상적인 공개 메소드

abstract public CalculateSHA1 ( ) : string
리턴 string

Compare() 공개 메소드

public Compare ( ) : bool
리턴 bool

Compare() 공개 메소드

Checks that the given bitmap norm is similar to expected
public Compare ( double tolerance ) : bool
tolerance double tolerance in percents (0..100)
리턴 bool

CompareToExpected() 공개 메소드

public CompareToExpected ( ) : double
리턴 double

Create() 공개 정적인 메소드

public static Create ( int width, int height ) : DrawingTest
width int
height int
리턴 DrawingTest

Create() 공개 정적인 메소드

public static Create ( int width, int height, string ownerClass ) : DrawingTest
width int
height int
ownerClass string
리턴 DrawingTest

CreateForm() 보호된 추상적인 메소드

protected abstract CreateForm ( string title ) : IMyForm
title string
리턴 IMyForm

DetermineCallingFunction() 보호된 추상적인 메소드

protected abstract DetermineCallingFunction ( ) : string
리턴 string

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DrawingTest() 보호된 메소드

protected DrawingTest ( ) : System
리턴 java.lang.System

GetExpectedNorm() 보호된 추상적인 메소드

protected abstract GetExpectedNorm ( double myNorm ) : double
myNorm double
리턴 double

GetNorm() 공개 메소드

public GetNorm ( ) : double
리턴 double

GetReferenceImage() 보호된 추상적인 메소드

protected abstract GetReferenceImage ( string testName ) : Bitmap
testName string
리턴 System.Drawing.Bitmap

GetSpecialTolerance() 보호된 메소드

protected GetSpecialTolerance ( string testName ) : double
testName string
리턴 double

PDCompare() 공개 메소드

public PDCompare ( ) : bool
리턴 bool

PDCompare() 공개 메소드

public PDCompare ( double tolerance ) : bool
tolerance double
리턴 bool

Show() 공개 메소드

public Show ( ) : void
리턴 void

프로퍼티 상세

ExpectedResults 보호되어 있는 정적으로 프로퍼티

protected static ExpectedResultsHash,DrawingTestHelper ExpectedResults
리턴 ExpectedResultsHash

_bitmap 보호되어 있는 프로퍼티

protected Bitmap,System.Drawing _bitmap
리턴 System.Drawing.Bitmap

_ownerClass 보호되어 있는 프로퍼티

protected string _ownerClass
리턴 string

_specialTolerance 보호되어 있는 프로퍼티

protected Hashtable,System.Collections _specialTolerance
리턴 System.Collections.Hashtable

cache 보호되어 있는 정적으로 프로퍼티

protected static Cache,DrawingTestHelper cache
리턴 Cache