@Test public void deleteInBackground() throws Exception { Assert.assertFalse(callbackFlag); final NCMBInstallation installation = new NCMBInstallation(); installation.setObjectId("7FrmPTBKSNtVjajm"); installation.deleteInBackground(new DoneCallback() { @Override public void done(NCMBException e) { Assert.assertNull(e); callbackFlag = true; } }); Robolectric.flushBackgroundThreadScheduler(); ShadowLooper.runUiThreadTasks(); junit.framework.Assert.assertTrue(callbackFlag); }
public void deleteInBackground() { deleteInBackground(null); }
NCMBInstallation extends NCMBObject { public void deleteInBackground() { deleteInBackground(null); } }
NCMBInstallation extends NCMBObject { public void deleteInBackground() { deleteInBackground(null); } NCMBInstallation();   NCMBInstallation(JSONObject params); }
NCMBInstallation extends NCMBObject { public void deleteInBackground() { deleteInBackground(null); } NCMBInstallation();   NCMBInstallation(JSONObject params); String getApplicationName(); String getAppVersion(); int getBadge(); JSONArray getChannels(); String getDeviceType(); String getDeviceToken(); void getDeviceTokenInBackground(final TokenCallback callback); String getSDKVersion(); String getTimeZone(); Object getValue(String name); void setApplicationName(String value); void setBadge(int value); void setChannels(JSONArray value); void setDeviceToken(String value); static NCMBInstallation getCurrentInstallation(); static NCMBQuery<NCMBInstallation> getQuery(); static void subscribe(String channel, Class<? extends Activity> activity); static void subscribe(String channelName, Class<? extends Activity> activity, int icon); static void unsubscribe(String channelName); static Set<String> getSubscriptions(); void save(); void saveInBackground(); void saveInBackground(final DoneCallback callback); @Override void fetch(); @Override void fetchInBackground(final FetchCallback callback); void delete(); void deleteInBackground(); void deleteInBackground(final DoneCallback callback); }
NCMBInstallation extends NCMBObject { public void deleteInBackground() { deleteInBackground(null); } NCMBInstallation();   NCMBInstallation(JSONObject params); String getApplicationName(); String getAppVersion(); int getBadge(); JSONArray getChannels(); String getDeviceType(); String getDeviceToken(); void getDeviceTokenInBackground(final TokenCallback callback); String getSDKVersion(); String getTimeZone(); Object getValue(String name); void setApplicationName(String value); void setBadge(int value); void setChannels(JSONArray value); void setDeviceToken(String value); static NCMBInstallation getCurrentInstallation(); static NCMBQuery<NCMBInstallation> getQuery(); static void subscribe(String channel, Class<? extends Activity> activity); static void subscribe(String channelName, Class<? extends Activity> activity, int icon); static void unsubscribe(String channelName); static Set<String> getSubscriptions(); void save(); void saveInBackground(); void saveInBackground(final DoneCallback callback); @Override void fetch(); @Override void fetchInBackground(final FetchCallback callback); void delete(); void deleteInBackground(); void deleteInBackground(final DoneCallback callback);  }