C# Class Smrf.NodeXL.UnitTests.VertexCollectionTest

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

Protected Properties

Property Type Description
m_bVertexAdded Boolean
m_bVertexRemoved Boolean
m_oAddedVertex IVertex
m_oGraph IGraph
m_oRemovedVertex IVertex
m_oVertexCollection IVertexCollection

Public Methods

Method Description
VertexCollectionTest ( ) : System

Initializes a new instance of the VertexCollectionTest class.

Protected Methods

Method Description
AddVertices ( Int32 iVerticesToAdd ) : IVertex[]
TestClear ( Int32 iVerticesToAdd, System.Boolean bMakeGraphComplete ) : void
TestContainsAndFind ( Int32 iVerticesToAdd ) : void
TestCopyTo ( Int32 iVerticesToAdd, Int32 iOffset ) : void
TestGetEnumerator ( Int32 iVerticesToAdd ) : void
TestGetReverseEnumerable ( Int32 iVerticesToAdd ) : void
TestRemove ( Int32 iVerticesToAdd, Int32 aiIndexesOfVerticesToRemove ) : void
TestRemove ( Int32 iVerticesToAdd, Int32 aiIndexesOfVerticesToRemove, RemoveOverload eRemoveOverload ) : void
VertexCollection_VertexAdded ( Object oSender, VertexEventArgs oVertexEventArgs ) : void
VertexCollection_VertexRemoved ( Object oSender, VertexEventArgs oVertexEventArgs ) : void

Private Methods

Method Description
SetUp ( ) : void
TearDown ( ) : void
TestAdd ( ) : void
TestAdd2 ( ) : void
TestAdd3_ ( ) : void
TestAdd3_2 ( ) : void
TestAddBad ( ) : void
TestAddBad2 ( ) : void
TestClear ( ) : void
TestClear2 ( ) : void
TestClear3 ( ) : void
TestClear4 ( ) : void
TestConstructor ( ) : void
TestContains3_Bad ( ) : void
TestContains3_Bad2 ( ) : void
TestContainsAndFind ( ) : void
TestContainsAndFind2 ( ) : void
TestContainsAndFind3 ( ) : void
TestContainsBad ( ) : void
TestCopyTo ( ) : void
TestCopyTo2 ( ) : void
TestCopyTo3 ( ) : void
TestCopyTo4 ( ) : void
TestCopyToBad ( ) : void
TestCopyToBad2 ( ) : void
TestCopyToBad3 ( ) : void
TestCopyToBad4 ( ) : void
TestFind3_Bad ( ) : void
TestFind3_Bad2 ( ) : void
TestGetEnumerator ( ) : void
TestGetEnumerator2 ( ) : void
TestGetEnumerator3 ( ) : void
TestGetReverseEnumerable ( ) : void
TestGetReverseEnumerable2 ( ) : void
TestGetReverseEnumerable3 ( ) : void
TestRemove ( ) : void
TestRemove2 ( ) : void
TestRemove3 ( ) : void
TestRemove4 ( ) : void
TestRemove5 ( ) : void
TestRemove6 ( ) : void
TestRemove7 ( ) : void
TestRemove8 ( ) : void
TestRemove9 ( ) : void
TestRemoveBad ( ) : void
TestRemoveBad2 ( ) : void
TestRemoveBad3 ( ) : void
TestToString ( ) : void
TestToString2 ( ) : void
TestToString3 ( ) : void

Method Details

AddVertices() protected method

protected AddVertices ( Int32 iVerticesToAdd ) : IVertex[]
iVerticesToAdd System.Int32
return IVertex[]

TestClear() protected method

protected TestClear ( Int32 iVerticesToAdd, System.Boolean bMakeGraphComplete ) : void
iVerticesToAdd System.Int32
bMakeGraphComplete System.Boolean
return void

TestContainsAndFind() protected method

protected TestContainsAndFind ( Int32 iVerticesToAdd ) : void
iVerticesToAdd System.Int32
return void

TestCopyTo() protected method

protected TestCopyTo ( Int32 iVerticesToAdd, Int32 iOffset ) : void
iVerticesToAdd System.Int32
iOffset System.Int32
return void

TestGetEnumerator() protected method

protected TestGetEnumerator ( Int32 iVerticesToAdd ) : void
iVerticesToAdd Int32
return void

TestGetReverseEnumerable() protected method

protected TestGetReverseEnumerable ( Int32 iVerticesToAdd ) : void
iVerticesToAdd Int32
return void

TestRemove() protected method

protected TestRemove ( Int32 iVerticesToAdd, Int32 aiIndexesOfVerticesToRemove ) : void
iVerticesToAdd Int32
aiIndexesOfVerticesToRemove Int32
return void

TestRemove() protected method

protected TestRemove ( Int32 iVerticesToAdd, Int32 aiIndexesOfVerticesToRemove, RemoveOverload eRemoveOverload ) : void
iVerticesToAdd Int32
aiIndexesOfVerticesToRemove Int32
eRemoveOverload RemoveOverload
return void

VertexCollectionTest() public method

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

VertexCollection_VertexAdded() protected method

protected VertexCollection_VertexAdded ( Object oSender, VertexEventArgs oVertexEventArgs ) : void
oSender Object
oVertexEventArgs VertexEventArgs
return void

VertexCollection_VertexRemoved() protected method

protected VertexCollection_VertexRemoved ( Object oSender, VertexEventArgs oVertexEventArgs ) : void
oSender Object
oVertexEventArgs VertexEventArgs
return void

Property Details

m_bVertexAdded protected property

protected Boolean m_bVertexAdded
return Boolean

m_bVertexRemoved protected property

protected Boolean m_bVertexRemoved
return Boolean

m_oAddedVertex protected property

protected IVertex m_oAddedVertex
return IVertex

m_oGraph protected property

protected IGraph m_oGraph
return IGraph

m_oRemovedVertex protected property

protected IVertex m_oRemovedVertex
return IVertex

m_oVertexCollection protected property

protected IVertexCollection m_oVertexCollection
return IVertexCollection