Test_App_ReloadViews_MountedViews_WithParentViews() — fiber Function Reference
Architecture documentation for the Test_App_ReloadViews_MountedViews_WithParentViews() function in app_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD fd2f293e_2601_65f9_0840_c2845f3f0306["Test_App_ReloadViews_MountedViews_WithParentViews()"] e728fdd2_242f_706b_c1d2_041b3d6badb5["app_test.go"] fd2f293e_2601_65f9_0840_c2845f3f0306 -->|defined in| e728fdd2_242f_706b_c1d2_041b3d6badb5 style fd2f293e_2601_65f9_0840_c2845f3f0306 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
app_test.go lines 2132–2147
func Test_App_ReloadViews_MountedViews_WithParentViews(t *testing.T) {
t.Parallel()
parentView := &countingView{}
subView := &countingView{}
subApp := New(Config{Views: subView})
app := New(Config{Views: parentView})
app.Use("/sub", subApp)
initialParentLoads := parentView.loads
initialSubLoads := subView.loads
require.NoError(t, app.ReloadViews())
require.Equal(t, initialParentLoads+1, parentView.loads)
require.Equal(t, initialSubLoads+1, subView.loads)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Test_App_ReloadViews_MountedViews_WithParentViews() do?
Test_App_ReloadViews_MountedViews_WithParentViews() is a function in the fiber codebase, defined in app_test.go.
Where is Test_App_ReloadViews_MountedViews_WithParentViews() defined?
Test_App_ReloadViews_MountedViews_WithParentViews() is defined in app_test.go at line 2132.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free