metatest

package
v0.0.0-...-9034458 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiTest

func ApiTest(t *testing.T, mdl meta.Model, instId ident.Id)

ApiTest allows implementations of the meta interface to share tests. It requires at least one instance and one class. The source data should include "num/s", "text/s", "state", "object/s" of corresponding types. "State" should contain choices "yes" and "no"

Types

type MethodMaker

type MethodMaker string

func (MethodMaker) Append

func (m MethodMaker) Append(value reflect.Value, v interface{}) (err error)

func (MethodMaker) GetFrom

func (m MethodMaker) GetFrom(value reflect.Value) (ret interface{})

func (MethodMaker) SetTo

func (m MethodMaker) SetTo(value reflect.Value, v interface{}) (err error)

func (MethodMaker) String

func (m MethodMaker) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL