mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
481 B
Java
20 lines
481 B
Java
package com.todoroo.astrid.sync;
|
|
|
|
import com.todoroo.astrid.data.RemoteModel;
|
|
import com.todoroo.astrid.data.TagData;
|
|
import com.todoroo.astrid.data.Task;
|
|
|
|
public class SyncModelTest extends NewSyncTestCase {
|
|
|
|
public void testCreateTaskMakesUuid() {
|
|
Task task = createTask();
|
|
assertFalse(RemoteModel.NO_UUID.equals(task.getUUID()));
|
|
}
|
|
|
|
public void testCreateTagMakesUuid() {
|
|
TagData tag = createTagData();
|
|
assertFalse(RemoteModel.NO_UUID.equals(tag.getUUID()));
|
|
}
|
|
|
|
}
|