use of de.westnordost.osmapi.user.User in project StreetComplete by westnordost.
the class OsmQuestChangesUploadTest method createChangesetForUser.
private static ChangesetInfo createChangesetForUser(long id) {
ChangesetInfo result = new ChangesetInfo();
result.user = new User(id, "Hans Wurst");
return result;
}
use of de.westnordost.osmapi.user.User in project StreetComplete by westnordost.
the class NoteDaoTest method createNote.
static Note createNote() {
Note note = new Note();
note.position = new OsmLatLon(1, 1);
note.status = Note.Status.OPEN;
note.id = 5;
note.dateCreated = new Date(5000);
NoteComment comment = new NoteComment();
comment.text = "hi";
comment.date = new Date(5000);
comment.action = NoteComment.Action.OPENED;
comment.user = new User(5, "PingPong");
note.comments.add(comment);
return note;
}
Aggregations