infoc_test.go 438 B

123456789101112131415161718192021
  1. package view
  2. import (
  3. "errors"
  4. "testing"
  5. "time"
  6. . "github.com/smartystreets/goconvey/convey"
  7. )
  8. func Test_ViewInfoc(t *testing.T) {
  9. Convey("ViewInfoc", t, func() {
  10. s.ViewInfoc(0, 0, "test", "0", "", "", "", "", "", "", time.Now(), errors.New("test"), 1, "", "")
  11. })
  12. }
  13. func Test_RelateInfoc(t *testing.T) {
  14. Convey("RelateInfoc", t, func() {
  15. s.RelateInfoc(0, 0, 0, "", "", "", "", "", "", "", "", "", nil, time.Now(), 0)
  16. })
  17. }