Documentation ¶
Index ¶
- Variables
- func TestEmailAddressExists(t *testing.T, db burner.Database)
- func TestGetInboxByAddress(t *testing.T, db burner.Database)
- func TestGetInboxByID(t *testing.T, db burner.Database)
- func TestGetMessageByID(t *testing.T, db burner.Database)
- func TestGetMessagesByInboxID(t *testing.T, db burner.Database)
- func TestSaveNewInbox(t *testing.T, db burner.Database)
- func TestSaveNewMessage(t *testing.T, db burner.Database)
- func TestSetInboxCreated(t *testing.T, db burner.Database)
- type TestFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var TestingFuncs = []TestFunction{ TestSaveNewInbox, TestGetInboxByID, TestGetInboxByAddress, TestEmailAddressExists, TestSetInboxCreated, TestSaveNewMessage, TestGetMessageByID, TestGetMessagesByInboxID, }
TestingFuncs contain the suite of funcs that a db implementation should be tested against
Functions ¶
func TestEmailAddressExists ¶
TestEmailAddressExists verifies that EmailAddressExists works
func TestGetInboxByAddress ¶
TestGetInboxByID verifies that GetInboxByID works
func TestGetInboxByID ¶
TestGetInboxByID verifies that GetInboxByID works
func TestGetMessageByID ¶
TestGetMessageByID verifies that GetMessageByID works
func TestGetMessagesByInboxID ¶
TestGetMessagesByInboxID verifies that GetMessagesByInboxID works nolint
func TestSaveNewInbox ¶
TestSaveNewInbox verifies that SaveNewInbox works
func TestSaveNewMessage ¶
TestSaveNewMessage verifies that SaveNewMessage works
Types ¶
Click to show internal directories.
Click to hide internal directories.