test_util

package
v0.0.0-...-ff0388d Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Copyright 2019 The Chromium OS Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

View Source
var (
	CommandRunnerImpl cmd.CommandRunner = cmd.RealCommandRunner{}
)

Functions

func AssertContentsEqual

func AssertContentsEqual(path_a, path_b string) error

AssertContentsEqual checks that there's no difference between two directories/files.

func AssertGitBranches

func AssertGitBranches(gitRepo string, branches []string) error

AssertGitBranches asserts that the git repo has the given branches (it may have others, too).

func AssertGitBranchesExact

func AssertGitBranchesExact(gitRepo string, branches []string) error

AssertGitBranches asserts that the git repo has only the correct branches.

Types

This section is empty.

Jump to

Keyboard shortcuts

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