close() public method

public close ( ) : void
return void
Ejemplo n.º 1
0
 public void TestGetNetWorkFromDatabase()
 {
     DB_Manager db = new DB_Manager("networkvis");
     Graph g = db.get_network("ABC");
     Assert.AreEqual(true, g != null);
     db.close();
 }
Ejemplo n.º 2
0
 public NetworkID(DB_Manager db, EventHandler<IgraphGenerateEvent> _e)
 {
     InitializeComponent();
     loadNetwork(listView1, db.list_network());
     GraphGenerated = _e;
     db.close();
 }
Ejemplo n.º 3
0
 public void Testlist_net()
 {
     DB_Manager db = new DB_Manager("networkvis");
     DataTable dt = db.list_network();
     String[] post = db.list_post_schema();
     db.list_post_like_schema();
     Assert.AreEqual(true, dt != null);
     Assert.AreEqual(true, post.Length > 0);
     db.close();
 }
Ejemplo n.º 4
0
        public void TestGetNetWorkFromImporter()
        {
            DB_Manager db = new DB_Manager("networkvis");
            String[] post = db.list_post_schema();
            Assert.AreEqual(true, post.Length > 1);

            db.setting.vertexCol = post[0];
            db.setting.edgeCol = post[1];
            Graph g = db.get_network("ABC",0);
            Assert.AreEqual(true, g != null);
            db.close();
        }