gosuki/database/database_test.go
2018-11-30 03:46:30 +01:00

34 lines
550 B
Go

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)
}