C# Class Smrf.NodeXL.UnitTests.GraphTest

Inheritance: Object
Show file Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_bEdgeAdded System.Boolean
m_bVertexAdded System.Boolean
m_oAddedEdge IEdge
m_oAddedVertex IVertex
m_oGraph IGraph

Public Methods

Method Description
GraphTest ( ) : System

Initializes a new instance of the GraphTest class.

Protected Methods

Method Description
CheckRandomMetadataOnRandomGraph ( ) : void
EdgeCollection_EdgeAdded ( Object oSender, EdgeEventArgs oEdgeEventArgs ) : void
InitializeGraph ( GraphDirectedness eDirectedness ) : void
TestRandomGraph ( Int32 iVertices, Random oRandom ) : void
TestRandomGraphs ( Int32 iGraphs, Int32 iMaximumVertices ) : void
VertexCollection_VertexAdded ( Object oSender, VertexEventArgs oVertexEventArgs ) : void

Private Methods

Method Description
SetUp ( ) : void
TearDown ( ) : void
TestClone ( ) : void
TestConstructor ( ) : void
TestConstructor2 ( ) : void
TestConstructorBad ( ) : void
TestConstructorBad2 ( ) : void
TestDirectedness ( ) : void
TestEdgeAdded ( ) : void
TestEdges ( ) : void
TestLargeGraph ( ) : void
TestRandomGraphs ( ) : void
TestRandomGraphs2 ( ) : void
TestToString ( ) : void
TestVertexAdded ( ) : void
TestVertices ( ) : void

Method Details

CheckRandomMetadataOnRandomGraph() protected method

protected CheckRandomMetadataOnRandomGraph ( ) : void
return void

EdgeCollection_EdgeAdded() protected method

protected EdgeCollection_EdgeAdded ( Object oSender, EdgeEventArgs oEdgeEventArgs ) : void
oSender Object
oEdgeEventArgs Smrf.NodeXL.Core.EdgeEventArgs
return void

GraphTest() public method

Initializes a new instance of the GraphTest class.
public GraphTest ( ) : System
return System

InitializeGraph() protected method

protected InitializeGraph ( GraphDirectedness eDirectedness ) : void
eDirectedness GraphDirectedness
return void

TestRandomGraph() protected method

protected TestRandomGraph ( Int32 iVertices, Random oRandom ) : void
iVertices System.Int32
oRandom System.Random
return void

TestRandomGraphs() protected method

protected TestRandomGraphs ( Int32 iGraphs, Int32 iMaximumVertices ) : void
iGraphs System.Int32
iMaximumVertices System.Int32
return void

VertexCollection_VertexAdded() protected method

protected VertexCollection_VertexAdded ( Object oSender, VertexEventArgs oVertexEventArgs ) : void
oSender Object
oVertexEventArgs Smrf.NodeXL.Core.VertexEventArgs
return void

Property Details

m_bEdgeAdded protected property

protected Boolean,System m_bEdgeAdded
return System.Boolean

m_bVertexAdded protected property

protected Boolean,System m_bVertexAdded
return System.Boolean

m_oAddedEdge protected property

protected IEdge m_oAddedEdge
return IEdge

m_oAddedVertex protected property

protected IVertex m_oAddedVertex
return IVertex

m_oGraph protected property

protected IGraph m_oGraph
return IGraph