C# Класс Smrf.NodeXL.UnitTests.PajekGraphAdapterTest

Наследование: Object
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
m_oGraphAdapter IGraphAdapter
m_sTempFileName String

Открытые методы

Метод Описание
PajekGraphAdapterTest ( ) : System

Initializes a new instance of the PajekGraphAdapterTest class.

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CreateGraph() защищенный Метод

protected CreateGraph ( ) : IGraph
Результат IGraph

CreateGraph() защищенный Метод

protected CreateGraph ( GraphDirectedness eDirectedness ) : IGraph
eDirectedness GraphDirectedness
Результат IGraph

FindEdge() защищенный Метод

protected FindEdge ( IGraph oGraph, Int32 iOneBasedVertex1Index, Int32 iOneBasedVertex2Index, System.Boolean bIsDirected ) : void
oGraph IGraph
iOneBasedVertex1Index System.Int32
iOneBasedVertex2Index System.Int32
bIsDirected System.Boolean
Результат void

FindEdge() защищенный Метод

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
Результат void

FindEdge() защищенный Метод

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
Результат void

GetVertexName() защищенный Метод

protected GetVertexName ( Int32 iOneBasedVertexIndex ) : String
iOneBasedVertexIndex System.Int32
Результат String

PajekGraphAdapterTest() публичный Метод

Initializes a new instance of the PajekGraphAdapterTest class.
public PajekGraphAdapterTest ( ) : System
Результат System

WriteFile() защищенный Метод

protected WriteFile ( String sFileContents ) : void
sFileContents String
Результат void

Описание свойств

m_oGraphAdapter защищенное свойство

protected IGraphAdapter m_oGraphAdapter
Результат IGraphAdapter

m_sTempFileName защищенное свойство

protected String m_sTempFileName
Результат String