testutil

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualQueryComponents

func EqualQueryComponents(t *testing.T, eqcs, aqcs []query.Component)

EqualQueryComponents will compare the components but the MonthlyQuantity will be compared via String and the rest with assert.Equal

func StartAzureServer

func StartAzureServer(t *testing.T) *httptest.Server

StartAzureServer starts a new test server for Azure API returning the data from "../testdata/azure/api"

func StartGoogleServer

func StartGoogleServer(t *testing.T) *httptest.Server

StartGoogleServer starts a new test server for Google API returning the data from "../testdata/google/api"

Types

This section is empty.

Jump to

Keyboard shortcuts

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