CheckpointCloseableIterableImpl.CompareCheckpointCloseableIterableRule

public static class CheckpointCloseableIterableImpl.CompareCheckpointCloseableIterableRule extends Object
implements TestRule

A TestRule to compare two instances of CheckpointCloseableIterables. null CheckpointCloseableIterable are considered equal. This rule iterates over the ApiOperations before comparing the checkpoint and pagination values.

Public Method Summary

Statement
apply(Statement base, Description description)
boolean
static <T> CompareCheckpointCloseableIterableRule<T>

Inherited Method Summary

Public Methods

public Statement apply (Statement base, Description description)

Parameters
base
description

public boolean compare (CheckpointCloseableIterable<T> items1, CheckpointCloseableIterable<T> items2)

Parameters
items1
items2

public static CompareCheckpointCloseableIterableRule<T> getCompareRule ()

Send feedback about...

Cloud Search
Cloud Search