透過集合功能整理內容 你可以依據偏好儲存及分類內容。

LastShardDetector

public final class LastShardDetector
extends Object implements ITestInvocationListener

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


在運行本地分片時,有時我們只希望在最後一個分片到達invocationEnded(long)時執行一些操作。該記者允許對其進行檢測。

也可以看看:

概括

公共建設者

LastShardDetector ()

公開方法

void invocationEnded (long elapsedTime)
boolean isLastShardDone ()

如果最後一個分片invocationEnded(long)則返回True。

公共建設者

LastShardDetector

public LastShardDetector ()

公開方法

調用結束

public void invocationEnded (long elapsedTime)

參數
elapsedTime long

isLastShardDone

public boolean isLastShardDone ()

如果最後一個分片invocationEnded(long)則返回True。

退貨
boolean