gosuki/database/database_test.go

34 lines
550 B
Go
Raw Normal View History

2018-11-30 02:46:30 +00:00
package database
import (
"os"
"testing"
)
const (
TestDB = "testdata/gomarkdb_test.sqlite"
)
func TestNewDB(t *testing.T) {
// Try to open locked db
t.Error("test if database is not locked")
t.Error("test if db path is not found")
}
func TestGomarkDBCeate(t *testing.T) {
t.Error("if gomark.db does not exist create it")
}
func TestSyncFromGomarkDB(t *testing.T) {
t.Error("sync from gomark db")
}
func TestSyncToGomarkDB(t *testing.T) {
t.Error("sync to gomark db")
}
func TestMain(m *testing.M) {
code := m.Run()
os.Exit(code)
}