Lines Matching defs:testMode
76 func testServeFile(t *testing.T, mode testMode) {
279 func testFSRedirect(t *testing.T, mode testMode) {
328 func testFileServerEscapesNames(t *testing.T, mode testMode) {
376 func testFileServerSortsNames(t *testing.T, mode testMode) {
425 func testFileServerImplicitLeadingSlash(t *testing.T, mode testMode) {
502 func testServeFileContentType(t *testing.T, mode testMode) {
530 func testServeFileMimeType(t *testing.T, mode testMode) {
546 func testServeFileFromCWD(t *testing.T, mode testMode) {
562 func testServeDirWithoutTrailingSlash(t *testing.T, mode testMode) {
580 func testServeFileWithContentEncoding(t *testing.T, mode testMode) {
607 func testServeFileNotModified(t *testing.T, mode testMode) {
656 func testServeIndexHtml(t *testing.T, mode testMode) {
691 func testServeIndexHtmlFS(t *testing.T, mode testMode) {
713 func testFileServerZeroByte(t *testing.T, mode testMode) {
737 func testFileServerNamesEscape(t *testing.T, mode testMode) {
825 func testDirectoryIfNotModified(t *testing.T, mode testMode) {
899 func testServeContent(t *testing.T, mode testMode) {
1236 func testFileServerErrorMessages(t *testing.T, mode testMode, keepHeaders bool) {
1393 func testFileServerNotDirError(t *testing.T, mode testMode, newfs func(string) FileSystem) {
1503 func testServeFileRejectsInvalidSuffixLengths(t *testing.T, mode testMode) {
1551 func testFileServerMethods(t *testing.T, mode testMode) {
1704 func testFileServerDirWithRootFile(t *testing.T, mode testMode) {