Documentation ¶
Overview ¶
Package display contains the logic for showing elements of the system, e.g. cases, sequences, projects, groups, ...
The requests routed to this package are typically GET-requests.
Index ¶
- func AboutGet(w http.ResponseWriter, r *http.Request)
- func CaseProtocolsGet(w http.ResponseWriter, r *http.Request)
- func CreateCaseGet(w http.ResponseWriter, r *http.Request)
- func CreateProjectGet(w http.ResponseWriter, r *http.Request)
- func CreateSequenceGet(lister handler.TestCaseLister) http.HandlerFunc
- func EditCaseGet(w http.ResponseWriter, r *http.Request)
- func EditSequenceGet(t handler.TestCaseLister) http.HandlerFunc
- func HistoryCaseGet(w http.ResponseWriter, r *http.Request)
- func HistorySequenceGet(w http.ResponseWriter, r *http.Request)
- func ProjectSettingsGet(w http.ResponseWriter, r *http.Request)
- func RegisterUserGet(w http.ResponseWriter, r *http.Request)
- func SequenceProtocolsGet(w http.ResponseWriter, r *http.Request)
- func ShowCase(p *project.Project, tc *test.Case, c []*comment.Comment, w http.ResponseWriter, ...)
- func ShowCaseGet(w http.ResponseWriter, r *http.Request)
- func ShowGroupGet(u handler.UserLister) http.HandlerFunc
- func ShowSequence(p *project.Project, ts *test.Sequence, c []*comment.Comment, ...)
- func ShowSequenceGet(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AboutGet ¶
func AboutGet(w http.ResponseWriter, r *http.Request)
AboutGet is a handler for showing the about screen
func CaseProtocolsGet ¶
func CaseProtocolsGet(w http.ResponseWriter, r *http.Request)
CaseProtocolsGet serves the page displaying case protocols.
func CreateCaseGet ¶
func CreateCaseGet(w http.ResponseWriter, r *http.Request)
CreateCaseGet simply serves the site that is used to create new testcases.
func CreateProjectGet ¶
func CreateProjectGet(w http.ResponseWriter, r *http.Request)
CreateProjectGet is a handler for showing the screen for creating a new project
func CreateSequenceGet ¶
func CreateSequenceGet(lister handler.TestCaseLister) http.HandlerFunc
CreateSequenceGet serves the page used to create a new testsequence.
func EditCaseGet ¶
func EditCaseGet(w http.ResponseWriter, r *http.Request)
EditCaseGet simply serves the edit page for editing testcases.
func EditSequenceGet ¶
func EditSequenceGet(t handler.TestCaseLister) http.HandlerFunc
EditSequenceGet serves the page used to edit a testsequence.
func HistoryCaseGet ¶
func HistoryCaseGet(w http.ResponseWriter, r *http.Request)
HistoryCaseGet just serves the history page showing the history of a case.
func HistorySequenceGet ¶
func HistorySequenceGet(w http.ResponseWriter, r *http.Request)
HistorySequenceGet serves the page showing the history of a sequence.
func ProjectSettingsGet ¶
func ProjectSettingsGet(w http.ResponseWriter, r *http.Request)
ProjectSettingsGet is a handler for showing the settings page of a project
func RegisterUserGet ¶
func RegisterUserGet(w http.ResponseWriter, r *http.Request)
RegisterUserGet is the handler that displays the registration site.
func SequenceProtocolsGet ¶
func SequenceProtocolsGet(w http.ResponseWriter, r *http.Request)
SequenceProtocolsGet serves the page displaying testsequence protocols.
func ShowCase ¶
func ShowCase(p *project.Project, tc *test.Case, c []*comment.Comment, w http.ResponseWriter, r *http.Request)
ShowCase tries to respond with the display page for a case. If an error occurs an error response is sent instead.
func ShowCaseGet ¶
func ShowCaseGet(w http.ResponseWriter, r *http.Request)
ShowCaseGet simply serves the page that displays a test case.
func ShowGroupGet ¶
func ShowGroupGet(u handler.UserLister) http.HandlerFunc
ShowGroupGet is a handler for creating a group
func ShowSequence ¶
func ShowSequence(p *project.Project, ts *test.Sequence, c []*comment.Comment, w http.ResponseWriter, r *http.Request)
ShowSequence tries to respond with the display page for a sequence if an error occurs an error response is sent instead.
func ShowSequenceGet ¶
func ShowSequenceGet(w http.ResponseWriter, r *http.Request)
ShowSequenceGet serves the page showing a sequence.
Types ¶
This section is empty.