tsurutest

package
v0.0.0-...-0cf49f2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2015 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package tsurutest provides test utilities used across tsuru code base.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitCondition

func WaitCondition(timeout time.Duration, cond func() bool) error

Types

type SafeResponseRecorder

type SafeResponseRecorder struct {
	*httptest.ResponseRecorder
	// contains filtered or unexported fields
}

func NewSafeResponseRecorder

func NewSafeResponseRecorder() *SafeResponseRecorder

func (*SafeResponseRecorder) Write

func (r *SafeResponseRecorder) Write(buf []byte) (int, error)

func (*SafeResponseRecorder) WriteHeader

func (r *SafeResponseRecorder) WriteHeader(code int)

Jump to

Keyboard shortcuts

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