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.


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 15 packages (graph). Updated 2018-06-20. Refresh now. Tools for package owners.