Home / Function/ TestDebugPrintWARNINGDefault() — gin Function Reference

TestDebugPrintWARNINGDefault() — gin Function Reference

Architecture documentation for the TestDebugPrintWARNINGDefault() function in debug_test.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  5c873b57_e3a6_2e5b_8a77_7c53d256ea2f["TestDebugPrintWARNINGDefault()"]
  8ee5a2af_634d_2b9b_d50c_11685d28130a["captureOutput()"]
  5c873b57_e3a6_2e5b_8a77_7c53d256ea2f -->|calls| 8ee5a2af_634d_2b9b_d50c_11685d28130a
  style 5c873b57_e3a6_2e5b_8a77_7c53d256ea2f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

debug_test.go lines 108–115

func TestDebugPrintWARNINGDefault(t *testing.T) {
	re := captureOutput(t, func() {
		SetMode(DebugMode)
		debugPrintWARNINGDefault()
		SetMode(TestMode)
	})
	assert.Equal(t, "[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.\n\n", re)
}

Domain

Subdomains

Frequently Asked Questions

What does TestDebugPrintWARNINGDefault() do?
TestDebugPrintWARNINGDefault() is a function in the gin codebase.
What does TestDebugPrintWARNINGDefault() call?
TestDebugPrintWARNINGDefault() calls 1 function(s): captureOutput.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free