示例#1
0
func TestMemstoreAll(t *testing.T) {
	graphtest.TestAll(t, func(t testing.TB) (graph.QuadStore, graph.Options, func()) {
		return newQuadStore(), nil, func() {}
	}, &graphtest.Config{
		SkipNodeDelAfterQuadDel: true,
	})
}
示例#2
0
func TestPostgresAll(t *testing.T) {
	graphtest.TestAll(t, makePostgres, &graphtest.Config{
		TimeInMcs:               true,
		TimeRound:               true,
		SkipNodeDelAfterQuadDel: true,
	})
}
示例#3
0
func TestBoltAll(t *testing.T) {
	graphtest.TestAll(t, makeBolt, &graphtest.Config{
		SkipNodeDelAfterQuadDel: true,
	})
}
示例#4
0
func TestLevelDBAll(t *testing.T) {
	graphtest.TestAll(t, makeLevelDB, &graphtest.Config{
		SkipDeletedFromIterator: true,
		SkipNodeDelAfterQuadDel: true,
	})
}
示例#5
0
func TestGAEAll(t *testing.T) {
	graphtest.TestAll(t, makeGAE, &graphtest.Config{
		SkipIntHorizon: true,
		UnTyped:        true,
	})
}