Documentation

Overview

    Package updatertest provides test helpers for Gerrit CL Updater.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func ChangeNumbers

    func ChangeNumbers(in tqtesting.TaskList) []int64

      ChangeNumbers returns change numbers from payloads of Gerrit Updater tasks.

      Panics if payloads are not from the same host.

      Types

      type RefreshGerritCLPayloads

      type RefreshGerritCLPayloads []*updater.RefreshGerritCL

      func PFilter

      func PFilter(in tqtesting.TaskList) (out RefreshGerritCLPayloads)

        PFilter returns payloads of Gerrit Updater tasks.

        func (RefreshGerritCLPayloads) SortByChangeNumber

        func (r RefreshGerritCLPayloads) SortByChangeNumber() RefreshGerritCLPayloads

          SortByChangeNumber sorts in place and returns itself.

          Source Files