testhelpers

package
v0.0.0-...-7b3048c Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2015 License: Apache-2.0, BSD-3-Clause, MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertProtoBufferMessageContains

func AssertProtoBufferMessageContains(t *testing.T, expectedMessage string, actual []byte)

func AssertProtoBufferMessageEquals

func AssertProtoBufferMessageEquals(t *testing.T, expectedMessage string, actual []byte)

func MarshalledDrainedLogMessage

func MarshalledDrainedLogMessage(t *testing.T, messageString string, appId string, drainUrls ...string) []byte

func MarshalledDrainedNonWardenLogMessage

func MarshalledDrainedNonWardenLogMessage(t *testing.T, messageString string, appId string, drainUrls ...string) []byte

func MarshalledErrorLogMessage

func MarshalledErrorLogMessage(t *testing.T, messageString string, appId, sourceId string) []byte

func MarshalledLogEnvelope

func MarshalledLogEnvelope(t *testing.T, unmarshalledMessage *logmessage.LogMessage, secret string) []byte

func MarshalledLogEnvelopeForMessage

func MarshalledLogEnvelopeForMessage(t *testing.T, msg, appName, secret string, drainUrls ...string) []byte

func MarshalledLogMessage

func MarshalledLogMessage(t *testing.T, messageString string, appId string) []byte

func NewErrMessageWithSourceId

func NewErrMessageWithSourceId(t *testing.T, messageString, appId, sourceId string) *logmessage.Message

func NewLogMessage

func NewLogMessage(messageString, appId string) *logmessage.LogMessage

func NewMessage

func NewMessage(t *testing.T, messageString, appId string) *logmessage.Message

func NewMessageFromLogMessage

func NewMessageFromLogMessage(t *testing.T, logMessage *logmessage.LogMessage) *logmessage.Message

func NewMessageWithError

func NewMessageWithError(messageString, appId string) (*logmessage.Message, error)

func NewMessageWithSourceId

func NewMessageWithSourceId(t *testing.T, messageString, appId, sourceId string) *logmessage.Message

func NewMessageWithSyslogDrain

func NewMessageWithSyslogDrain(t *testing.T, messageString, appId string, syslogDrains ...string) *logmessage.Message

Types

This section is empty.

Jump to

Keyboard shortcuts

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