Unittesting begins
This commit is contained in:
56
server/ajax/list/list.go
Normal file
56
server/ajax/list/list.go
Normal file
@@ -0,0 +1,56 @@
|
||||
package ajax
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
type List struct{}
|
||||
|
||||
func New(r *http.Request) (*List, error) {
|
||||
return &List{}, errors.New("not impl")
|
||||
}
|
||||
|
||||
func (l *List) loadLists() error {
|
||||
return errors.New("not impl")
|
||||
}
|
||||
|
||||
func (l *List) changeOrder() error {
|
||||
return errors.New("not impl")
|
||||
}
|
||||
|
||||
func (l *List) addList() error {
|
||||
return errors.New("not impl")
|
||||
}
|
||||
|
||||
func (l *List) renameList() error {
|
||||
return errors.New("not impl")
|
||||
}
|
||||
|
||||
func (l *List) deleteList() error {
|
||||
return errors.New("not impl")
|
||||
}
|
||||
|
||||
func (l *List) setSort() error {
|
||||
return errors.New("not impl")
|
||||
}
|
||||
|
||||
func (l *List) publishList() error {
|
||||
return errors.New("not impl")
|
||||
}
|
||||
|
||||
func (l *List) changeListOrder() error {
|
||||
return errors.New("not impl")
|
||||
}
|
||||
|
||||
func (l *List) clearCompletedInList() error {
|
||||
return errors.New("not impl")
|
||||
}
|
||||
|
||||
func (l *List) setShowNotesInList() error {
|
||||
return errors.New("not impl")
|
||||
}
|
||||
|
||||
func (l *List) setHideList() error {
|
||||
return errors.New("not impl")
|
||||
}
|
||||
Reference in New Issue
Block a user