mocks

package
Version: v0.0.0-...-11b5c43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPreSaver

type IPreSaver struct {
	mock.Mock
}

IPreSaver is an autogenerated mock type for the IPreSaver type

func (*IPreSaver) AsignaturaRegistrada

func (_m *IPreSaver) AsignaturaRegistrada(asignatura string) bool

AsignaturaRegistrada provides a mock function with given fields: asignatura

func (*IPreSaver) CrearAsignatura

func (_m *IPreSaver) CrearAsignatura(asignatura string)

CrearAsignatura provides a mock function with given fields: asignatura

func (*IPreSaver) GuardarPregunta

func (_m *IPreSaver) GuardarPregunta(asignatura string, pre *modelspre.Pregunta)

GuardarPregunta provides a mock function with given fields: asignatura, pre

func (*IPreSaver) ObtenerPregunta

func (_m *IPreSaver) ObtenerPregunta(asignatura string) []modelspre.Pregunta

ObtenerPregunta provides a mock function with given fields: asignatura

func (*IPreSaver) Responder

func (_m *IPreSaver) Responder(asignatura string, id int, res *modelspre.Respuesta) error

Responder provides a mock function with given fields: asignatura, id, res

type IResSaver

type IResSaver struct {
	mock.Mock
}

IResSaver is an autogenerated mock type for the IResSaver type

func (*IResSaver) AsignaturaRegistrada

func (_m *IResSaver) AsignaturaRegistrada(asignatura string) bool

AsignaturaRegistrada provides a mock function with given fields: asignatura

func (*IResSaver) CrearAsignatura

func (_m *IResSaver) CrearAsignatura(asignatura string)

CrearAsignatura provides a mock function with given fields: asignatura

func (*IResSaver) GuardarResenia

func (_m *IResSaver) GuardarResenia(asignatura string, opinion *modelsres.Resenia)

GuardarResenia provides a mock function with given fields: asignatura, opinion

func (*IResSaver) MeGustaResenia

func (_m *IResSaver) MeGustaResenia(asignatura string, id int) error

MeGustaResenia provides a mock function with given fields: asignatura, id

func (*IResSaver) NoMeGustaResenia

func (_m *IResSaver) NoMeGustaResenia(asignatura string, id int) error

NoMeGustaResenia provides a mock function with given fields: asignatura, id

func (*IResSaver) ObtenerResenias

func (_m *IResSaver) ObtenerResenias(asignatura string) []modelsres.Resenia

ObtenerResenias provides a mock function with given fields: asignatura

type IValSaver

type IValSaver struct {
	mock.Mock
}

IValSaver is an autogenerated mock type for the IValSaver type

func (*IValSaver) AsignaturaRegistrada

func (_m *IValSaver) AsignaturaRegistrada(asignatura string) bool

AsignaturaRegistrada provides a mock function with given fields: asignatura

func (*IValSaver) CrearAsignatura

func (_m *IValSaver) CrearAsignatura(asignatura string)

CrearAsignatura provides a mock function with given fields: asignatura

func (*IValSaver) GuardarValoracion

func (_m *IValSaver) GuardarValoracion(asignatura string, val *modelsval.Valoracion)

GuardarValoracion provides a mock function with given fields: asignatura, val

func (*IValSaver) ObtenerAsignaturas

func (_m *IValSaver) ObtenerAsignaturas() []string

ObtenerAsignaturas provides a mock function with given fields:

func (*IValSaver) ObtenerValoraciones

func (_m *IValSaver) ObtenerValoraciones(asignatura string) []modelsval.Valoracion

ObtenerValoraciones provides a mock function with given fields: asignatura

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL