go: cloud.google.com/go/logging/internal/testing Index | Files

package testing

import "cloud.google.com/go/logging/internal/testing"

Package testing provides support for testing the logging client.

Index

Package Files

equal.go fake.go

func NewServer Uses

func NewServer() (string, error)

NewServer creates a new in-memory fake server implementing the logging service. It returns the address of the server.

func PayloadEqual Uses

func PayloadEqual(a, b interface{}) bool

Compare two payloads, assuming they are both proto.Messages or both strings.

Package testing imports 16 packages (graph). Updated 2017-09-26. Refresh now. Tools for package owners.