Documentation ¶
Overview ¶
Package test contains useful functions used across tests.
Index ¶
- func HTMLTestFilePath(t *testing.T, filename string) string
- func MarkdownTestFilePath(t *testing.T, filename string) string
- func OfficeTestFilePath(t *testing.T, filename string) string
- func PDFTestFilePath(t *testing.T, filename string) string
- func Rand() (string, error)
- func URLTestFilePath(t *testing.T, filename string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTMLTestFilePath ¶
HTMLTestFilePath returns the absolute file path of a file in "html" folder in test/testdata.
func MarkdownTestFilePath ¶
MarkdownTestFilePath returns the absolute file path of a file in "markdown" folder in test/testdata.
func OfficeTestFilePath ¶
OfficeTestFilePath returns the absolute file path of a file in "office" folder in test/testdata.
func PDFTestFilePath ¶
PDFTestFilePath returns the absolute file path of a file in "pdf" folder in test/testdata.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.