C# Class Smrf.NodeXL.UnitTests.PajekGraphAdapterTest

Inheritance: Object
Mostrar archivo Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_oGraphAdapter IGraphAdapter
m_sTempFileName String

Public Methods

Method Description
PajekGraphAdapterTest ( ) : System

Initializes a new instance of the PajekGraphAdapterTest class.

Protected Methods

Method Description
CreateGraph ( ) : IGraph
CreateGraph ( GraphDirectedness eDirectedness ) : IGraph
FindEdge ( IGraph oGraph, Int32 iOneBasedVertex1Index, Int32 iOneBasedVertex2Index, System.Boolean bIsDirected ) : void
FindEdge ( IGraph oGraph, Int32 iOneBasedVertex1Index, Int32 iOneBasedVertex2Index, System.Boolean bIsDirected, Double dWeight ) : void
FindEdge ( IGraph oGraph, String sVertex1Name, String sVertex2Name, System.Boolean bIsDirected, Double dWeight ) : void
GetVertexName ( Int32 iOneBasedVertexIndex ) : String
WriteFile ( String sFileContents ) : void

Private Methods

Method Description
SetUp ( ) : void
TearDown ( ) : void
TestConstructor ( ) : void
TestLoadFromStream ( ) : void
TestLoadFromStreamBad ( ) : void
TestLoadGraphFromFile ( ) : void
TestLoadGraphFromFile10 ( ) : void
TestLoadGraphFromFile11 ( ) : void
TestLoadGraphFromFile12 ( ) : void
TestLoadGraphFromFile13 ( ) : void
TestLoadGraphFromFile14 ( ) : void
TestLoadGraphFromFile2 ( ) : void
TestLoadGraphFromFile3 ( ) : void
TestLoadGraphFromFile4 ( ) : void
TestLoadGraphFromFile5 ( ) : void
TestLoadGraphFromFile6 ( ) : void
TestLoadGraphFromFile7 ( ) : void
TestLoadGraphFromFile8 ( ) : void
TestLoadGraphFromFile9 ( ) : void
TestLoadGraphFromFileBad ( ) : void
TestLoadGraphFromFileBad10 ( ) : void
TestLoadGraphFromFileBad11 ( ) : void
TestLoadGraphFromFileBad12 ( ) : void
TestLoadGraphFromFileBad13 ( ) : void
TestLoadGraphFromFileBad14 ( ) : void
TestLoadGraphFromFileBad15 ( ) : void
TestLoadGraphFromFileBad16 ( ) : void
TestLoadGraphFromFileBad17 ( ) : void
TestLoadGraphFromFileBad18 ( ) : void
TestLoadGraphFromFileBad19 ( ) : void
TestLoadGraphFromFileBad2 ( ) : void
TestLoadGraphFromFileBad20 ( ) : void
TestLoadGraphFromFileBad21 ( ) : void
TestLoadGraphFromFileBad22 ( ) : void
TestLoadGraphFromFileBad23 ( ) : void
TestLoadGraphFromFileBad24 ( ) : void
TestLoadGraphFromFileBad25 ( ) : void
TestLoadGraphFromFileBad26 ( ) : void
TestLoadGraphFromFileBad27 ( ) : void
TestLoadGraphFromFileBad28 ( ) : void
TestLoadGraphFromFileBad29 ( ) : void
TestLoadGraphFromFileBad3 ( ) : void
TestLoadGraphFromFileBad30 ( ) : void
TestLoadGraphFromFileBad31 ( ) : void
TestLoadGraphFromFileBad32 ( ) : void
TestLoadGraphFromFileBad33 ( ) : void
TestLoadGraphFromFileBad34 ( ) : void
TestLoadGraphFromFileBad35 ( ) : void
TestLoadGraphFromFileBad36 ( ) : void
TestLoadGraphFromFileBad37 ( ) : void
TestLoadGraphFromFileBad38 ( ) : void
TestLoadGraphFromFileBad39 ( ) : void
TestLoadGraphFromFileBad4 ( ) : void
TestLoadGraphFromFileBad40 ( ) : void
TestLoadGraphFromFileBad41 ( ) : void
TestLoadGraphFromFileBad42 ( ) : void
TestLoadGraphFromFileBad43 ( ) : void
TestLoadGraphFromFileBad44 ( ) : void
TestLoadGraphFromFileBad5 ( ) : void
TestLoadGraphFromFileBad6 ( ) : void
TestLoadGraphFromFileBad7 ( ) : void
TestLoadGraphFromFileBad8 ( ) : void
TestLoadGraphFromFileBad9 ( ) : void
TestLoadGraphFromFileNNNN ( ) : void
TestLoadGraphFromFileNNNY ( ) : void
TestLoadGraphFromFileNNYN ( ) : void
TestLoadGraphFromFileNNYY ( ) : void
TestLoadGraphFromFileNYNN ( ) : void
TestLoadGraphFromFileNYNY ( ) : void
TestLoadGraphFromFileNYYN ( ) : void
TestLoadGraphFromFileNYYY ( ) : void
TestLoadGraphFromFileYNNN ( ) : void
TestLoadGraphFromFileYNNY ( ) : void
TestLoadGraphFromFileYNYN ( ) : void
TestLoadGraphFromFileYNYY ( ) : void
TestLoadGraphFromFileYYNN ( ) : void
TestLoadGraphFromFileYYNY ( ) : void
TestLoadGraphFromFileYYYN ( ) : void
TestLoadGraphFromFileYYYY ( ) : void
TestLoadGraphFromString ( ) : void
TestLoadGraphFromStringBad ( ) : void
TestSaveGraph ( ) : void
TestSaveGraph2 ( ) : void
TestSaveGraph2_Bad ( ) : void
TestSaveGraph2_Bad2 ( ) : void
TestSaveGraph3 ( ) : void
TestSaveGraph4 ( ) : void
TestSaveGraph5 ( ) : void
TestSaveGraph6 ( ) : void
TestSaveGraph7 ( ) : void
TestSaveGraphBad ( ) : void
TestSaveGraphBad2 ( ) : void
TestSaveGraphBad3 ( ) : void
TestSupportsDirectedness ( ) : void
TestSupportsDirectedness2 ( ) : void
TestSupportsDirectedness3 ( ) : void

Method Details

CreateGraph() protected method

protected CreateGraph ( ) : IGraph
return IGraph

CreateGraph() protected method

protected CreateGraph ( GraphDirectedness eDirectedness ) : IGraph
eDirectedness GraphDirectedness
return IGraph

FindEdge() protected method

protected FindEdge ( IGraph oGraph, Int32 iOneBasedVertex1Index, Int32 iOneBasedVertex2Index, System.Boolean bIsDirected ) : void
oGraph IGraph
iOneBasedVertex1Index System.Int32
iOneBasedVertex2Index System.Int32
bIsDirected System.Boolean
return void

FindEdge() protected method

protected FindEdge ( IGraph oGraph, Int32 iOneBasedVertex1Index, Int32 iOneBasedVertex2Index, System.Boolean bIsDirected, Double dWeight ) : void
oGraph IGraph
iOneBasedVertex1Index System.Int32
iOneBasedVertex2Index System.Int32
bIsDirected System.Boolean
dWeight Double
return void

FindEdge() protected method

protected FindEdge ( IGraph oGraph, String sVertex1Name, String sVertex2Name, System.Boolean bIsDirected, Double dWeight ) : void
oGraph IGraph
sVertex1Name String
sVertex2Name String
bIsDirected System.Boolean
dWeight Double
return void

GetVertexName() protected method

protected GetVertexName ( Int32 iOneBasedVertexIndex ) : String
iOneBasedVertexIndex System.Int32
return String

PajekGraphAdapterTest() public method

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

WriteFile() protected method

protected WriteFile ( String sFileContents ) : void
sFileContents String
return void

Property Details

m_oGraphAdapter protected_oe property

protected IGraphAdapter m_oGraphAdapter
return IGraphAdapter

m_sTempFileName protected_oe property

protected String m_sTempFileName
return String