// GetPathList tests GetPathList adapter method
GetPathList tests GetPathList adapter method
// GetPathList tests GetPathList adapter method
func GetPathList(adapterInfo *TestAdapterInfo) (err error) {
	pathList, err := adapterInfo.Adapter.GetPathList()
	if err != nil {
		return err
	}
	if adapterInfo.PathListLen != 0 && len(pathList) != adapterInfo.PathListLen {
		return fmt.Errorf("wrong adapter %s path list len: %d", adapterInfo.Name, len(pathList))
	}
	return nil
}
func GetPathList ( adapterInfo * TestAdapterInfo ) ( err error ) { pathList , err := adapterInfo . Adapter . GetPathList ( ) if err != nil { return err } if adapterInfo . PathListLen != 0 && len ( pathList ) != adapterInfo . PathListLen { return fmt . Errorf ( " " , adapterInfo . Name , len ( pathList ) ) } return nil }
GetPathList tests GetPathList adapter method
GetPathList tests GetPathList adapter method