com.funambol.client.test
Class BasicRobot
java.lang.Object
com.funambol.client.test.Robot
com.funambol.client.test.BasicRobot
public abstract class BasicRobot
- extends Robot
Method Summary |
void |
checkItemsCount(java.lang.String sourceName,
int count)
|
void |
checkItemsCountOnServer(java.lang.String sourceName,
CheckSyncClient client,
int count)
|
void |
checkLastSyncAlertedSyncMode(java.lang.String source,
int mode,
SyncMonitor syncMonitor)
|
void |
checkLastSyncExchangedData(java.lang.String source,
int sentAdd,
int sentReplace,
int sentDelete,
int receivedAdd,
int receivedReplace,
int receivedDelete,
SyncMonitor syncMonitor)
|
void |
checkLastSyncRemoteUri(java.lang.String source,
java.lang.String uri,
SyncMonitor syncMonitor)
|
void |
checkLastSyncRequestedSyncMode(java.lang.String source,
int mode,
SyncMonitor syncMonitor)
|
protected abstract SyncSource |
getSyncSource(java.lang.String sourceName)
|
void |
interruptSyncAfterPhase(java.lang.String phase,
int num,
java.lang.String reason,
SyncMonitor syncMonitor)
|
abstract void |
keyPress(java.lang.String keyName,
int count)
|
protected abstract void |
reapplySyncConfig(CheckSyncClient client)
|
void |
refreshServer(java.lang.String source,
CheckSyncClient client)
|
void |
resetSourceAnchor(java.lang.String sourceName)
|
protected abstract void |
saveSourceConfig(SyncSource source)
|
abstract void |
waitForAuthToComplete(int minStart,
int max,
SyncMonitor syncMonitor)
|
void |
waitForSyncToComplete(int minStart,
int max,
SyncMonitor syncMonitor)
|
abstract void |
writeString(java.lang.String text)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicRobot
public BasicRobot()
waitForSyncToComplete
public void waitForSyncToComplete(int minStart,
int max,
SyncMonitor syncMonitor)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
interruptSyncAfterPhase
public void interruptSyncAfterPhase(java.lang.String phase,
int num,
java.lang.String reason,
SyncMonitor syncMonitor)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
checkLastSyncRequestedSyncMode
public void checkLastSyncRequestedSyncMode(java.lang.String source,
int mode,
SyncMonitor syncMonitor)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
checkLastSyncAlertedSyncMode
public void checkLastSyncAlertedSyncMode(java.lang.String source,
int mode,
SyncMonitor syncMonitor)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
checkLastSyncRemoteUri
public void checkLastSyncRemoteUri(java.lang.String source,
java.lang.String uri,
SyncMonitor syncMonitor)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
checkLastSyncExchangedData
public void checkLastSyncExchangedData(java.lang.String source,
int sentAdd,
int sentReplace,
int sentDelete,
int receivedAdd,
int receivedReplace,
int receivedDelete,
SyncMonitor syncMonitor)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
resetSourceAnchor
public void resetSourceAnchor(java.lang.String sourceName)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
refreshServer
public void refreshServer(java.lang.String source,
CheckSyncClient client)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
checkItemsCount
public void checkItemsCount(java.lang.String sourceName,
int count)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
checkItemsCountOnServer
public void checkItemsCountOnServer(java.lang.String sourceName,
CheckSyncClient client,
int count)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
keyPress
public abstract void keyPress(java.lang.String keyName,
int count)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
writeString
public abstract void writeString(java.lang.String text)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
waitForAuthToComplete
public abstract void waitForAuthToComplete(int minStart,
int max,
SyncMonitor syncMonitor)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getSyncSource
protected abstract SyncSource getSyncSource(java.lang.String sourceName)
throws java.lang.Exception
- Throws:
java.lang.Exception
saveSourceConfig
protected abstract void saveSourceConfig(SyncSource source)
reapplySyncConfig
protected abstract void reapplySyncConfig(CheckSyncClient client)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
Copyright © 2001-2009 Funambol.