ÚltimoShardDetector

public final class LastShardDetector
extends Object implements ITestInvocationListener

java.lang.Object
com.android.tradefed.invoker.shard.LastShardDetector


Ao executar o sharding local, às vezes só queremos executar algumas ações quando o último shard atingir invocationEnded(long) . Este repórter permite detectá-lo.

Resumo

Construtores públicos

LastShardDetector ()

Métodos públicos

void invocationEnded (long elapsedTime)
boolean isLastShardDone ()

Retorna True se o último fragmento tiver chamado invocationEnded(long) .

Construtores públicos

ÚltimoShardDetector

public LastShardDetector ()

Métodos públicos

invocaçãoEnded

public void invocationEnded (long elapsedTime)

Parâmetros
elapsedTime long

isLastShardDone

public boolean isLastShardDone ()

Retorna True se o último fragmento tiver chamado invocationEnded(long) .

Devoluções
boolean