Search in sources :

Example 1 with SyncAdapter

use of com.vodafone360.people.service.SyncAdapter in project 360-Engine-for-Android by 360.

the class SyncAdapterTest method testSyncAdapter.

/***
     * Test the SyncAdapter constructor.
     */
@SmallTest
@Suppress
public final void testSyncAdapter() {
    SyncAdapter syncAdapter = new SyncAdapter(null, null);
    assertNotNull("SyncAdapter should not be NULL", syncAdapter);
}
Also used : SyncAdapter(com.vodafone360.people.service.SyncAdapter) SmallTest(android.test.suitebuilder.annotation.SmallTest) Suppress(android.test.suitebuilder.annotation.Suppress)

Example 2 with SyncAdapter

use of com.vodafone360.people.service.SyncAdapter in project 360-Engine-for-Android by 360.

the class SyncAdapterTest method testOnPerformSync.

/***
     * Test the onPerformSync() method.
     */
@SmallTest
@Suppress
public final void testOnPerformSync() {
    SyncAdapter syncAdapter = new SyncAdapter(null, null);
    syncAdapter.onPerformSync(null, null, null, null, null);
    assertTrue("No errors so far", true);
}
Also used : SyncAdapter(com.vodafone360.people.service.SyncAdapter) SmallTest(android.test.suitebuilder.annotation.SmallTest) Suppress(android.test.suitebuilder.annotation.Suppress)

Example 3 with SyncAdapter

use of com.vodafone360.people.service.SyncAdapter in project 360-Engine-for-Android by 360.

the class SyncAdapterTest method testOnSyncComplete.

/***
     * Test the onSyncComplete() method.
     */
@SmallTest
@Suppress
public final void testOnSyncComplete() {
    SyncAdapter syncAdapter = new SyncAdapter(null, null);
    syncAdapter.onSyncComplete(null);
    assertTrue("No errors so far", true);
}
Also used : SyncAdapter(com.vodafone360.people.service.SyncAdapter) SmallTest(android.test.suitebuilder.annotation.SmallTest) Suppress(android.test.suitebuilder.annotation.Suppress)

Example 4 with SyncAdapter

use of com.vodafone360.people.service.SyncAdapter in project 360-Engine-for-Android by 360.

the class SyncAdapterTest method testOnProgressEvent.

/***
     * Test the onProgressEvent() method.
     */
@SmallTest
@Suppress
public final void testOnProgressEvent() {
    SyncAdapter syncAdapter = new SyncAdapter(null, null);
    syncAdapter.onProgressEvent(null, 0);
    assertTrue("No errors so far", true);
}
Also used : SyncAdapter(com.vodafone360.people.service.SyncAdapter) SmallTest(android.test.suitebuilder.annotation.SmallTest) Suppress(android.test.suitebuilder.annotation.Suppress)

Example 5 with SyncAdapter

use of com.vodafone360.people.service.SyncAdapter in project 360-Engine-for-Android by 360.

the class SyncAdapterTest method testOnContactSyncStateChange.

/***
     * Test the onContactSyncStateChange() method.
     */
@SmallTest
@Suppress
public final void testOnContactSyncStateChange() {
    SyncAdapter syncAdapter = new SyncAdapter(null, null);
    syncAdapter.onContactSyncStateChange(null, null, null);
    assertTrue("No errors so far", true);
}
Also used : SyncAdapter(com.vodafone360.people.service.SyncAdapter) SmallTest(android.test.suitebuilder.annotation.SmallTest) Suppress(android.test.suitebuilder.annotation.Suppress)

Aggregations

SmallTest (android.test.suitebuilder.annotation.SmallTest)5 Suppress (android.test.suitebuilder.annotation.Suppress)5 SyncAdapter (com.vodafone360.people.service.SyncAdapter)5