github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/server/dbtesting/integration_suite.go (about) 1 package dbtesting 2 3 import ( 4 "testing" 5 6 "github.com/google/fleetspeak/fleetspeak/src/inttesting/integrationtest" 7 "github.com/google/fleetspeak/fleetspeak/src/server/db" 8 ) 9 10 func integrationTest(t *testing.T, ms db.Store) { 11 integrationtest.FRRIntegrationTest(t, ms, false) 12 } 13 14 func cloneHandlingTest(t *testing.T, ms db.Store) { 15 integrationtest.CloneHandlingTest(t, ms) 16 } 17 18 func integrationTestSuite(t *testing.T, env DbTestEnv) { 19 t.Run("IntegrationTestSuite", func(t *testing.T) { 20 runTestSuite(t, env, map[string]func(*testing.T, db.Store){ 21 "IntegrationTest": integrationTest, 22 "CloneHandlingTest": cloneHandlingTest, 23 }) 24 }) 25 }