C# 클래스 NSpecRunner.GUI.SpecRunner

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: devsaurabh/SpecRunner

공개 프로퍼티들

프로퍼티 타입 설명
_testCount int

공개 메소드들

메소드 설명
GetErrorItems ( NSpecRunner.Core.Domain.SerializableExampleBase example ) : List

Gets the error items.

SpecRunner ( ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
AboutMenuStrip_Click ( object sender, EventArgs e ) : void

Handles the Click event of the AboutMenuStrip control.

AddAssemblyMenuItem_Click ( object sender, EventArgs e ) : void

Adds the assembly file in the current project

BuildChildNodes ( NSpecRunner.Core.Domain.SerializableContext methodContext, TreeNode methodNode ) : void

Builds the child nodes.

CloseAssemblyMenuItem_Click ( object sender, EventArgs e ) : void

Unloads the active assembly

CloseProjectMenuItem_Click ( object sender, EventArgs e ) : void

Handles the click even from the Close Project Menu Item

ExitMenuItem_Click ( object sender, EventArgs e ) : void

Exits the application

GetTestAssembly ( TreeNode node, string &parent ) : void

Gets the test assembly from the current tree node.

GetTreeLeafs ( TreeNode node, List leafCollection ) : void

Gets the tree leafs.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadAssembly ( string fileName ) : Task

Loads the assembly.

NewProject ( ) : void
On_ExampleProcessed ( NSpecRunner.Core.Domain.Formatters.ExampleEventArgs e ) : void

Raises the E:ExampleProcessed event.

On_TestClassProcessed ( string runningClass, EventArgs e ) : void

Called when [test class processed].

OpenProjectMenuItem_Click ( object sender, EventArgs e ) : void

ReloadMenuItem_Click ( object sender, EventArgs e ) : void

Reload the current assemblies

SaveAsMenuItem_Click ( object sender, EventArgs e ) : void

SaveFile ( string projFile ) : void

Save the project

SaveProjectMenuItem_Click ( object sender, EventArgs e ) : void

Handles the click even from the Save Project Menu Item

SetControls ( ) : void

Sets the status of various controls

ShowSaveFilePrompt ( ) : bool

Shows the save alert if file is not saved

SpecHelpMenuStrip_Click ( object sender, EventArgs e ) : void

Shows help for the tool

SpecRunner_FormClosing ( object sender, FormClosingEventArgs e ) : void

Handles the FormClosing event of the SpecRunner control.

SpecRunner_Load ( object sender, EventArgs e ) : void

Handles the Load event of the SpecRunner control.

TraverseTillRoot ( TreeNode node, string resultType ) : void

Traverses the tree view to find the root most element from the selected node Used to mark the node status as failed or pass once the test is executed

UnloadProject ( ) : void

Unload the current loaded project

btnRunSelected_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnRunSelected control.

lstErrors_Click ( object sender, EventArgs e ) : void

treeSpecs_AfterSelect ( object sender, TreeViewEventArgs e ) : void

Handles the AfterSElect even of the Tree View

treeSpecs_MouseClick ( object sender, MouseEventArgs e ) : void

Triggers when user clicks on the Tree view

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

GetErrorItems() 공개 메소드

Gets the error items.
public GetErrorItems ( NSpecRunner.Core.Domain.SerializableExampleBase example ) : List
example NSpecRunner.Core.Domain.SerializableExampleBase The example.
리턴 List

SpecRunner() 공개 메소드

public SpecRunner ( ) : System
리턴 System

프로퍼티 상세

_testCount 공개적으로 프로퍼티

public int _testCount
리턴 int