Unittesting begins

This commit is contained in:
Bel LaPointe
2019-11-12 13:45:32 -07:00
commit 8c4bc81694
35 changed files with 3231 additions and 0 deletions

52
server/ajax/list.go Normal file
View File

@@ -0,0 +1,52 @@
package ajax
import (
"errors"
"net/http"
)
type List struct{}
func (a *Ajax) loadLists(w http.ResponseWriter, r *http.Request) error {
return errors.New("not impl")
}
func (a *Ajax) changeOrder(w http.ResponseWriter, r *http.Request) error {
return errors.New("not impl")
}
func (a *Ajax) addList(w http.ResponseWriter, r *http.Request) error {
return errors.New("not impl")
}
func (a *Ajax) renameList(w http.ResponseWriter, r *http.Request) error {
return errors.New("not impl")
}
func (a *Ajax) deleteList(w http.ResponseWriter, r *http.Request) error {
return errors.New("not impl")
}
func (a *Ajax) setSort(w http.ResponseWriter, r *http.Request) error {
return errors.New("not impl")
}
func (a *Ajax) publishList(w http.ResponseWriter, r *http.Request) error {
return errors.New("not impl")
}
func (a *Ajax) changeListOrder(w http.ResponseWriter, r *http.Request) error {
return errors.New("not impl")
}
func (a *Ajax) clearCompletedInList(w http.ResponseWriter, r *http.Request) error {
return errors.New("not impl")
}
func (a *Ajax) setShowNotesInList(w http.ResponseWriter, r *http.Request) error {
return errors.New("not impl")
}
func (a *Ajax) setHideList(w http.ResponseWriter, r *http.Request) error {
return errors.New("not impl")
}