r252 - in trunk/jredmine-client/src: main/java/org/nuiton/jredmine/model/io/xpp3 main/resources/META-INF/services test/java/org/nuiton/jredmine/model/io/xpp3 test/resources/org/nuiton/jredmine/model/io/xpp3 test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2 test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton
Author: tchemit Date: 2012-03-25 16:37:37 +0200 (Sun, 25 Mar 2012) New Revision: 252 Url: http://nuiton.org/repositories/revision/jredmine/252 Log: fixes #2033 (improve xpp3 api) Added: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/CustomFieldXpp3Reader.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/ProjectRefXpp3Reader.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/UserRefXpp3Reader.java trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/attachment.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issue.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueCategory.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issuePriority.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueStatus.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/news.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/project.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/timeEntry.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/tracker.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/user.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/version.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/attachment.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issue.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issueCategory.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issuePriority.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issueStatus.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/news.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/project.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/timeEntry.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/tracker.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/user.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/version.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/attachment.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issue.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueCategory.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issuePriority.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueStatus.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/news.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/project.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/timeEntry.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/tracker.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/user.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/version.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/attachment.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issue.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueCategory.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issuePriority.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueStatus.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/news.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/project.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/timeEntry.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/tracker.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/user.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/version.xml Removed: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/attachments.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueCategorys.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issuePrioritys.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueStatuss.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issues.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/newss.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/projects.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/timeEntrys.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/trackers.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/users.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/versions.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/attachments.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueCategorys.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issuePrioritys.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueStatuss.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issues.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/newss.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/projects.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/timeEntrys.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/trackers.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/users.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/versions.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/attachments.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueCategorys.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issuePrioritys.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueStatuss.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issues.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/newss.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/projects.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/timeEntrys.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/trackers.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/users.xml trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/versions.xml Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/AttachmentXpp3Reader.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssueCategoryXpp3Reader.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssuePriorityXpp3Reader.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssueStatusXpp3Reader.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssueXpp3Reader.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/NewsXpp3Reader.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/ProjectXpp3Reader.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/RedmineXpp3Helper.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/TimeEntryXpp3Reader.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/TrackerXpp3Reader.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/UserXpp3Reader.java trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/VersionXpp3Reader.java trunk/jredmine-client/src/main/resources/META-INF/services/org.nuiton.io.xpp3.Xpp3Reader trunk/jredmine-client/src/test/java/org/nuiton/jredmine/model/io/xpp3/RedmineXpp3HelperTest.java Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/AttachmentXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/AttachmentXpp3Reader.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/AttachmentXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -29,8 +29,6 @@ import java.beans.IntrospectionException; -import static org.nuiton.io.xpp3.Xpp3Helper.addTagTextContentMappers; - /** * {@link Attachment} reader. * @@ -46,17 +44,17 @@ @Override protected void initMappers() throws IntrospectionException { - addTagTextContentMappers(Attachment.class, RedmineDataConverter.Integer, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Integer, true, "author-id", "container-id", "filesize", "downloads", "id"); - addTagTextContentMappers(Attachment.class, RedmineDataConverter.Datetime, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Datetime, true, "created-on"); - addTagTextContentMappers(Attachment.class, RedmineDataConverter.Text, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Text, true, "container-type", "content-type", "description", Added: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/CustomFieldXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/CustomFieldXpp3Reader.java (rev 0) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/CustomFieldXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,36 @@ +package org.nuiton.jredmine.model.io.xpp3; + +import org.nuiton.io.xpp3.AbstractXpp3Reader; +import org.nuiton.jredmine.model.CustomField; + +import java.beans.IntrospectionException; + +/** + * {@link CustomField} reader. + * + * @author tchemit <chemit@codelutin.com> + * @since 1.4 + */ +public class CustomFieldXpp3Reader extends AbstractXpp3Reader<CustomField> { + + public CustomFieldXpp3Reader() { + super(CustomField.class, "custom_fields", "custom_field"); + } + + @Override + protected void initMappers() throws IntrospectionException { + + addAttributeValueMappers(RedmineDataConverter.Integer, true, + "id" + ); + + addAttributeValueMappers(RedmineDataConverter.Text, true, + "name" + ); + + addTagTextContentMappers(RedmineDataConverter.Text, + true, + "value"); + } + +} Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssueCategoryXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssueCategoryXpp3Reader.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssueCategoryXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -30,8 +30,6 @@ import java.beans.IntrospectionException; -import static org.nuiton.io.xpp3.Xpp3Helper.addTagTextContentMappers; - /** * {@link Issue} reader. * @@ -47,12 +45,12 @@ @Override protected void initMappers() throws IntrospectionException { - addTagTextContentMappers(IssueCategory.class, RedmineDataConverter.Integer, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Integer, true, "project-id", "assigned-to-id", "id"); - addTagTextContentMappers(IssueCategory.class, RedmineDataConverter.Text, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Text, true, "name"); } } Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssuePriorityXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssuePriorityXpp3Reader.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssuePriorityXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -30,8 +30,6 @@ import java.beans.IntrospectionException; -import static org.nuiton.io.xpp3.Xpp3Helper.addTagTextContentMappers; - /** * {@link Issue} reader. * @@ -48,17 +46,17 @@ protected void initMappers() throws IntrospectionException { - addTagTextContentMappers(IssuePriority.class, RedmineDataConverter.Integer, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Integer, true, "id", "parent-id", "project-id", "position"); - addTagTextContentMappers(IssuePriority.class, RedmineDataConverter.Boolean, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Boolean, true, "is-default", "active"); - addTagTextContentMappers(IssuePriority.class, RedmineDataConverter.Text, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Text, true, "name", "opt"); } Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssueStatusXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssueStatusXpp3Reader.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssueStatusXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -30,8 +30,6 @@ import java.beans.IntrospectionException; -import static org.nuiton.io.xpp3.Xpp3Helper.addTagTextContentMappers; - /** * {@link Issue} reader. * @@ -47,16 +45,18 @@ @Override protected void initMappers() throws IntrospectionException { - addTagTextContentMappers(IssueStatus.class, RedmineDataConverter.Integer, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Integer, true, "id", "position", "default-done-ratio"); - addTagTextContentMappers(IssueStatus.class, RedmineDataConverter.Boolean, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Boolean, true, "is-closed", - "is-default"); + "is-default", + "is_closed", + "is_default"); - addTagTextContentMappers(IssueStatus.class, RedmineDataConverter.Text, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Text, true, "name"); } } Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssueXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssueXpp3Reader.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/IssueXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -26,12 +26,9 @@ import org.nuiton.io.xpp3.AbstractXpp3Reader; import org.nuiton.jredmine.model.Issue; -import org.nuiton.jredmine.model.Project; import java.beans.IntrospectionException; -import static org.nuiton.io.xpp3.Xpp3Helper.addTagTextContentMappers; - /** * {@link Issue} reader. * @@ -47,7 +44,7 @@ @Override protected void initMappers() throws IntrospectionException { - addTagTextContentMappers(Issue.class, RedmineDataConverter.Integer, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Integer, true, "assigned-to-id", "author-id", "category-id", @@ -64,22 +61,22 @@ "lft", "rgt"); - addTagTextContentMappers(Issue.class, RedmineDataConverter.Float, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Float, true, "estimated-hours"); - addTagTextContentMappers(Issue.class, RedmineDataConverter.Datetime, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Datetime, true, "created-on", "updated-on"); - addTagTextContentMappers(Issue.class, RedmineDataConverter.Date, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Date, true, "due-date", "start-date"); - addTagTextContentMappers(Issue.class, RedmineDataConverter.Text, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Text, true, "description", "subject"); - addTagTextContentMappers(Issue.class, RedmineDataConverter.Boolean, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Boolean, true, "is-private"); } } Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/NewsXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/NewsXpp3Reader.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/NewsXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -26,11 +26,11 @@ import org.nuiton.io.xpp3.AbstractXpp3Reader; import org.nuiton.jredmine.model.News; +import org.nuiton.jredmine.model.ProjectRef; +import org.nuiton.jredmine.model.UserRef; import java.beans.IntrospectionException; -import static org.nuiton.io.xpp3.Xpp3Helper.addTagTextContentMappers; - /** * @author tchemit <chemit@codelutin.com> * @since 1.0.0 @@ -44,18 +44,25 @@ @Override protected void initMappers() throws IntrospectionException { - addTagTextContentMappers(News.class, RedmineDataConverter.Integer, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Integer, true, "id", "author-id", "project-id", "comments-count"); - addTagTextContentMappers(News.class, RedmineDataConverter.Datetime, true, allMappers, - "created-on"); + addTagTextContentMappers(RedmineDataConverter.Datetime, true, + "created-on", + "created_on"); - addTagTextContentMappers(News.class, RedmineDataConverter.Text, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Text, true, "description", "summary", "title"); + + addTagContentMapper(ProjectRef.class, true, + new ProjectRefXpp3Reader("project")); + + addTagContentMapper(UserRef.class, true, + new UserRefXpp3Reader("author")); } } Copied: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/ProjectRefXpp3Reader.java (from rev 249, trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/ProjectXpp3Reader.java) =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/ProjectRefXpp3Reader.java (rev 0) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/ProjectRefXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,56 @@ +/* + * #%L + * JRedmine :: Client + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ +package org.nuiton.jredmine.model.io.xpp3; + +import org.nuiton.io.xpp3.AbstractXpp3Reader; +import org.nuiton.jredmine.model.Project; +import org.nuiton.jredmine.model.ProjectRef; + +import java.beans.IntrospectionException; + +/** + * {@link Project} reader. + * + * @author tchemit <chemit@codelutin.com> + * @since 1.0.0 + */ +public class ProjectRefXpp3Reader extends AbstractXpp3Reader<ProjectRef> { + + public ProjectRefXpp3Reader(String rootTagsName, String rootTagName) { + super(ProjectRef.class, rootTagsName, rootTagName); + } + + public ProjectRefXpp3Reader(String rootTagName) { + this(null, rootTagName); + } + + @Override + protected void initMappers() throws IntrospectionException { + addAttributeValueMappers(RedmineDataConverter.Integer, true, "id"); + addAttributeValueMappers(RedmineDataConverter.Text, true, "name"); + } + + +} Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/ProjectXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/ProjectXpp3Reader.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/ProjectXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -25,12 +25,12 @@ package org.nuiton.jredmine.model.io.xpp3; import org.nuiton.io.xpp3.AbstractXpp3Reader; +import org.nuiton.jredmine.model.CustomField; import org.nuiton.jredmine.model.Project; +import org.nuiton.jredmine.model.ProjectRef; import java.beans.IntrospectionException; -import static org.nuiton.io.xpp3.Xpp3Helper.addTagTextContentMappers; - /** * {@link Project} reader. * @@ -46,7 +46,7 @@ @Override protected void initMappers() throws IntrospectionException { - addTagTextContentMappers(Project.class, RedmineDataConverter.Integer, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Integer, true, "id", "lft", "rgt", @@ -54,17 +54,26 @@ "projects-count", "status"); - addTagTextContentMappers(Project.class, RedmineDataConverter.Boolean, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Boolean, true, "is-public"); - addTagTextContentMappers(Project.class, RedmineDataConverter.Datetime, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Datetime, true, "created-on", - "updated-on"); + "updated-on", + "created_on", + "updated_on"); - addTagTextContentMappers(Project.class, RedmineDataConverter.Text, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Text, true, "description", "homepage", "identifier", "name"); + addTagContentsMapper(CustomField.class, false, + new CustomFieldXpp3Reader()); + + addTagContentMapper(ProjectRef.class, true, + new ProjectRefXpp3Reader("parent")); } + + } Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/RedmineXpp3Helper.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/RedmineXpp3Helper.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/RedmineXpp3Helper.java 2012-03-25 14:37:37 UTC (rev 252) @@ -157,17 +157,20 @@ try { - StringWriter sWriter = new StringWriter(); - IOUtil.copy(reader, sWriter); + if (log.isDebugEnabled()) { - String rawInput = sWriter.toString(); - if (log.isDebugEnabled()) { + StringWriter sWriter = new StringWriter(); + + IOUtil.copy(reader, sWriter); + + String rawInput = sWriter.toString(); + log.debug("content to read : \n" + rawInput); + reader = new StringReader(rawInput); } - StringReader sReader = new StringReader(rawInput); - result = modelReader.readArray(sReader, strict); + result = modelReader.readArray(reader, strict); } finally { IOUtil.close(reader); @@ -209,17 +212,18 @@ try { - StringWriter sWriter = new StringWriter(); - IOUtil.copy(reader, sWriter); + if (log.isDebugEnabled()) { + StringWriter sWriter = new StringWriter(); - String rawInput = sWriter.toString(); - if (log.isDebugEnabled()) { + IOUtil.copy(reader, sWriter); + + String rawInput = sWriter.toString(); log.debug("content to read : \n" + rawInput); + reader = new StringReader(rawInput); } - StringReader sReader = new StringReader(rawInput); - result = modelReader.read(sReader, strict); + result = modelReader.read(reader, strict); } finally { IOUtil.close(reader); Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/TimeEntryXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/TimeEntryXpp3Reader.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/TimeEntryXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -29,8 +29,6 @@ import java.beans.IntrospectionException; -import static org.nuiton.io.xpp3.Xpp3Helper.addTagTextContentMappers; - /** * Created: 31 déc. 2009 * @@ -45,7 +43,7 @@ @Override protected void initMappers() throws IntrospectionException { - addTagTextContentMappers(TimeEntry.class, RedmineDataConverter.Integer, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Integer, true, "id", "activity-id", "issue-id", @@ -56,18 +54,18 @@ "tweek" ); - addTagTextContentMappers(TimeEntry.class, RedmineDataConverter.Float, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Float, true, "hours" ); - addTagTextContentMappers(TimeEntry.class, RedmineDataConverter.Datetime, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Datetime, true, "created-on", "updated-on"); - addTagTextContentMappers(TimeEntry.class, RedmineDataConverter.Date, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Date, true, "spent-on"); - addTagTextContentMappers(TimeEntry.class, RedmineDataConverter.Text, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Text, true, "comments"); } } Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/TrackerXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/TrackerXpp3Reader.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/TrackerXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -29,8 +29,6 @@ import java.beans.IntrospectionException; -import static org.nuiton.io.xpp3.Xpp3Helper.addTagTextContentMappers; - /** * {@link Tracker} reader. * @@ -46,17 +44,17 @@ @Override protected void initMappers() throws IntrospectionException { - addTagTextContentMappers(Tracker.class, RedmineDataConverter.Integer, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Integer, true, "id", "project-id", "tracker-id", "position"); - addTagTextContentMappers(Tracker.class, RedmineDataConverter.Boolean, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Boolean, true, "is-in-chlog", "is-in-roadmap"); - addTagTextContentMappers(Tracker.class, RedmineDataConverter.Text, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Text, true, "name"); } } Added: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/UserRefXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/UserRefXpp3Reader.java (rev 0) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/UserRefXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,56 @@ +/* + * #%L + * JRedmine :: Client + * + * $Id: ProjectXpp3Reader.java 211 2011-06-04 17:01:31Z tchemit $ + * $HeadURL: http://svn.nuiton.org/svn/jredmine/trunk/jredmine-client/src/main/java/org/n... $ + * %% + * Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ +package org.nuiton.jredmine.model.io.xpp3; + +import org.nuiton.io.xpp3.AbstractXpp3Reader; +import org.nuiton.jredmine.model.Project; +import org.nuiton.jredmine.model.UserRef; + +import java.beans.IntrospectionException; + +/** + * {@link Project} reader. + * + * @author tchemit <chemit@codelutin.com> + * @since 1.0.0 + */ +public class UserRefXpp3Reader extends AbstractXpp3Reader<UserRef> { + + public UserRefXpp3Reader(String rootTagsName, String rootTagName) { + super(UserRef.class, rootTagsName, rootTagName); + } + + public UserRefXpp3Reader(String rootTagName) { + this(null, rootTagName); + } + + @Override + protected void initMappers() throws IntrospectionException { + addAttributeValueMappers(RedmineDataConverter.Integer, true, "id"); + addAttributeValueMappers(RedmineDataConverter.Text, true, "name"); + } + + +} Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/UserXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/UserXpp3Reader.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/UserXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -29,8 +29,6 @@ import java.beans.IntrospectionException; -import static org.nuiton.io.xpp3.Xpp3Helper.addTagTextContentMappers; - /** * {@link User} reader. * @@ -46,23 +44,23 @@ @Override protected void initMappers() throws IntrospectionException { - addTagTextContentMappers(User.class, RedmineDataConverter.Integer, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Integer, true, "id", "auth-source-id", "member-id", "role-id", "status"); - addTagTextContentMappers(User.class, RedmineDataConverter.Boolean, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Boolean, true, "admin", "mail-notification"); - addTagTextContentMappers(User.class, RedmineDataConverter.Datetime, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Datetime, true, "created-on", "updated-on", "last-login-on"); - addTagTextContentMappers(User.class, RedmineDataConverter.Text, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Text, true, "firstname", "hashed-password", "language", Modified: trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/VersionXpp3Reader.java =================================================================== --- trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/VersionXpp3Reader.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/java/org/nuiton/jredmine/model/io/xpp3/VersionXpp3Reader.java 2012-03-25 14:37:37 UTC (rev 252) @@ -25,12 +25,11 @@ package org.nuiton.jredmine.model.io.xpp3; import org.nuiton.io.xpp3.AbstractXpp3Reader; +import org.nuiton.jredmine.model.ProjectRef; import org.nuiton.jredmine.model.Version; import java.beans.IntrospectionException; -import static org.nuiton.io.xpp3.Xpp3Helper.addTagTextContentMappers; - /** * {@link Version} reader. * @@ -46,21 +45,26 @@ @Override protected void initMappers() throws IntrospectionException { - addTagTextContentMappers(Version.class, RedmineDataConverter.Integer, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Integer, true, "id", "project-id"); - addTagTextContentMappers(Version.class, RedmineDataConverter.Datetime, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Datetime, true, "created-on", - "updated-on"); - addTagTextContentMappers(Version.class, RedmineDataConverter.Date, true, allMappers, - "effective-date"); + "updated-on", + "created_on", + "updated_on"); + addTagTextContentMappers(RedmineDataConverter.Date, true, + "effective-date", "due_date"); - addTagTextContentMappers(Version.class, RedmineDataConverter.Text, true, allMappers, + addTagTextContentMappers(RedmineDataConverter.Text, true, "name", "description", "wiki-page-title", "sharing", "status"); + + addTagContentMapper(ProjectRef.class, true, + new ProjectRefXpp3Reader("project")); } } Modified: trunk/jredmine-client/src/main/resources/META-INF/services/org.nuiton.io.xpp3.Xpp3Reader =================================================================== --- trunk/jredmine-client/src/main/resources/META-INF/services/org.nuiton.io.xpp3.Xpp3Reader 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/main/resources/META-INF/services/org.nuiton.io.xpp3.Xpp3Reader 2012-03-25 14:37:37 UTC (rev 252) @@ -9,3 +9,4 @@ org.nuiton.jredmine.model.io.xpp3.UserXpp3Reader org.nuiton.jredmine.model.io.xpp3.VersionXpp3Reader org.nuiton.jredmine.model.io.xpp3.TimeEntryXpp3Reader +org.nuiton.jredmine.model.io.xpp3.CustomFieldXpp3Reader Modified: trunk/jredmine-client/src/test/java/org/nuiton/jredmine/model/io/xpp3/RedmineXpp3HelperTest.java =================================================================== --- trunk/jredmine-client/src/test/java/org/nuiton/jredmine/model/io/xpp3/RedmineXpp3HelperTest.java 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/java/org/nuiton/jredmine/model/io/xpp3/RedmineXpp3HelperTest.java 2012-03-25 14:37:37 UTC (rev 252) @@ -24,15 +24,15 @@ */ package org.nuiton.jredmine.model.io.xpp3; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.codehaus.plexus.util.IOUtil; +import com.google.common.base.Preconditions; +import com.google.common.base.Supplier; +import com.google.common.collect.Lists; import org.junit.After; import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; import org.nuiton.jredmine.TestHelper; import org.nuiton.jredmine.model.Attachment; import org.nuiton.jredmine.model.Issue; @@ -41,54 +41,146 @@ import org.nuiton.jredmine.model.IssueStatus; import org.nuiton.jredmine.model.News; import org.nuiton.jredmine.model.Project; -import org.nuiton.jredmine.model.RedmineModelEnum; import org.nuiton.jredmine.model.TimeEntry; import org.nuiton.jredmine.model.Tracker; import org.nuiton.jredmine.model.User; import org.nuiton.jredmine.model.Version; import java.beans.Introspector; +import java.io.Closeable; import java.io.File; -import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; import java.util.Arrays; import java.util.Collections; import java.util.List; -import java.util.Set; /** * @author tchemit <chemit@codelutin.com> * @since 1.0.0 */ -public class RedmineXpp3HelperTest { +@RunWith(Parameterized.class) +public class RedmineXpp3HelperTest<T> { - protected static final Log log = - LogFactory.getLog(RedmineXpp3HelperTest.class); + @Parameterized.Parameters + public static List<Object[]> data() { + return Arrays.asList(new Object[][]{ + {"single", Attachment.class, newSingleData(Attachment.class)}, + {"single", Issue.class, newSingleData(Issue.class)}, + {"single", IssueCategory.class, newSingleData(IssueCategory.class)}, + {"single", IssuePriority.class, newSingleData(IssuePriority.class)}, + {"single", IssueStatus.class, newSingleData(IssueStatus.class)}, + {"single", News.class, newSingleData(News.class)}, + {"single", Project.class, newSingleData(Project.class)}, + {"single", TimeEntry.class, newSingleData(TimeEntry.class)}, + {"single", Tracker.class, newSingleData(Tracker.class)}, + {"single", User.class, newSingleData(User.class)}, + {"single", Version.class, newSingleData(Version.class)}, + {"single2", Issue.class, new SingleDataSupplier<Issue>(Issue.class) { - //TODO use the RedmineModelEnum and finish the model mock (miss some types) - private static final RedmineModelEnum[] TYPE_ORDER = new RedmineModelEnum[]{ - RedmineModelEnum.attachment, - RedmineModelEnum.issue, - RedmineModelEnum.project, - RedmineModelEnum.tracker, - RedmineModelEnum.user, - RedmineModelEnum.version, - RedmineModelEnum.issueStatus, - RedmineModelEnum.issuePriority, - RedmineModelEnum.issueCategory, - RedmineModelEnum.news, - RedmineModelEnum.timeEntry - }; + @Override + public Issue get() { + Issue issue = super.get(); + issue.setIsPrivate(true); + return issue; + } + @Override + public void close() throws IOException { + super.close(); + Issue issue = get(); + issue.setIsPrivate(false); + } + }}, + {"single2", User.class, new SingleDataSupplier<User>(User.class) { + + @Override + public User get() { + User user = super.get(); + user.setSalt("38006729a049cd820aafd6c2bb3b193f"); + return user; + } + + @Override + public void close() throws IOException { + super.close(); + User issue = get(); + issue.setSalt(null); + } + }}, + + {"array-empty", Attachment.class, newEmptyListData(Attachment.class)}, + {"array-empty", Issue.class, newEmptyListData(Issue.class)}, + {"array-empty", IssueCategory.class, newEmptyListData(Attachment.class)}, + {"array-empty", IssuePriority.class, newEmptyListData(IssuePriority.class)}, + {"array-empty", IssueStatus.class, newEmptyListData(IssueStatus.class)}, + {"array-empty", News.class, newEmptyListData(News.class)}, + {"array-empty", Project.class, newEmptyListData(Project.class)}, + {"array-empty", TimeEntry.class, newEmptyListData(TimeEntry.class)}, + {"array-empty", Tracker.class, newEmptyListData(Tracker.class)}, + {"array-empty", User.class, newEmptyListData(User.class)}, + {"array-empty", Version.class, newEmptyListData(Version.class)}, + + {"array-empty2", Attachment.class, newEmptyListData(Attachment.class)}, + {"array-empty2", Issue.class, newEmptyListData(Issue.class)}, + {"array-empty2", IssueCategory.class, newEmptyListData(IssueCategory.class)}, + {"array-empty2", IssuePriority.class, newEmptyListData(IssuePriority.class)}, + {"array-empty2", IssueStatus.class, newEmptyListData(IssueStatus.class)}, + {"array-empty2", News.class, newEmptyListData(News.class)}, + {"array-empty2", Project.class, newEmptyListData(Project.class)}, + {"array-empty2", TimeEntry.class, newEmptyListData(TimeEntry.class)}, + {"array-empty2", Tracker.class, newEmptyListData(Tracker.class)}, + {"array-empty2", User.class, newEmptyListData(User.class)}, + {"array-empty2", Version.class, newEmptyListData(Version.class)}, + + + {"array-singleton", Attachment.class, newSingletonListData(Attachment.class)}, + {"array-singleton", Issue.class, newSingletonListData(Issue.class)}, + {"array-singleton", IssueCategory.class, newSingletonListData(IssueCategory.class)}, + {"array-singleton", IssuePriority.class, newSingletonListData(IssuePriority.class)}, + {"array-singleton", IssueStatus.class, newSingletonListData(IssueStatus.class)}, + {"array-singleton", News.class, newSingletonListData(News.class)}, + {"array-singleton", Project.class, newSingletonListData(Project.class)}, + {"array-singleton", TimeEntry.class, newSingletonListData(TimeEntry.class)}, + {"array-singleton", Tracker.class, newSingletonListData(Tracker.class)}, + {"array-singleton", User.class, newSingletonListData(User.class)}, + {"array-singleton", Version.class, newSingletonListData(Version.class)}, + + {"array-multi", Attachment.class, newMultiListData(Attachment.class)}, + {"array-multi", Issue.class, newMultiListData(Issue.class)}, + {"array-multi", IssueCategory.class, newMultiListData(IssueCategory.class)}, + {"array-multi", IssuePriority.class, newMultiListData(IssuePriority.class)}, + {"array-multi", IssueStatus.class, newMultiListData(IssueStatus.class)}, + {"array-multi", News.class, newMultiListData(News.class)}, + {"array-multi", Project.class, newMultiListData(Project.class)}, + {"array-multi", TimeEntry.class, newMultiListData(TimeEntry.class)}, + {"array-multi", Tracker.class, newMultiListData(Tracker.class)}, + {"array-multi", User.class, newMultiListData(User.class)}, + {"array-multi", Version.class, newMultiListData(Version.class)}, + }); + } + protected static File testDir; protected static RedmineXpp3Helper builder; - File file; + private final Class<T> type; - protected boolean verbose; + private final Supplier<?> result; - protected static int universeSize; + protected final String resourcePath; + public RedmineXpp3HelperTest(String path, + Class<T> type, + Supplier<?> result) { + Preconditions.checkNotNull(path); + Preconditions.checkNotNull(type); + Preconditions.checkNotNull(result); + this.type = type; + this.result = result; + resourcePath = "/" + getClass().getPackage().getName().replaceAll("\\.", "/") + "/" + path + "/" + Introspector.decapitalize(type.getSimpleName()) + ".xml"; + } + @BeforeClass public static void setUpClass() throws Exception { @@ -96,23 +188,8 @@ builder = new RedmineXpp3Helper(); - log.info("test dir : " + TestHelper.getRelativePath(TestHelper.getBasedir(), testDir)); - // setup memory model TestHelper.loadMemoryModel(); - - universeSize = TYPE_ORDER.length; - - if (universeSize < RedmineModelEnum.values().length) { - log.warn("There is some types of the model which are not tested :"); - Set<RedmineModelEnum> keySet = TestHelper.getMemoryModel().keySet(); - for (RedmineModelEnum t : RedmineModelEnum.values()) { - if (!keySet.contains(t)) { - log.warn(t); - } - } - } - } @AfterClass @@ -121,14 +198,12 @@ builder = null; } - @Before - public void setUp() { - verbose = TestHelper.isVerbose(); - } + @After + public void tearDown() throws IOException { + if (result instanceof Closeable) { + ((Closeable) result).close(); + } - @After - public void tearDown() { - file = null; } /** @@ -139,187 +214,143 @@ @Test public void testRead() throws Exception { - TestAction action = new TestAction() { + Object expected = result.get(); - @Override - protected <T> void runForType(File rootDir, Class<T> type, List<?> expected) throws Exception { + InputStream stream = getClass().getResourceAsStream(resourcePath); + try { - File file = new File(rootDir, Introspector.decapitalize(type.getSimpleName()) + ".xml"); + if (expected instanceof List<?>) { - if (verbose) { - log.info("will test " + TestHelper.getRelativePath(TestHelper.getBasedir(), file)); - } + testForListData(stream, (List<T>) expected); - // test from file + } else { - T actual = builder.readObject(type, file, true); + testForSingleData(stream, (T) expected); + } + } finally { + if (stream != null) { + stream.close(); + } + } + } - TestHelper.assertMyEquals(type, expected.get(0), actual); + protected void testForSingleData(InputStream stream, T expected) throws Exception { - // test from string + T actual; - FileInputStream input = new FileInputStream(file); - try { - String txt = IOUtil.toString(input); + // test from file - actual = builder.readObject(type, txt, true); + try { + actual = builder.readObject(type, stream, true); + } catch (Exception e) { + throw new IllegalStateException("Could not read from resource " + resourcePath, e); + } + TestHelper.assertMyEquals(type, expected, actual); - TestHelper.assertMyEquals(type, expected.get(0), actual); - } finally { - input.close(); - } - } - }; + } - action.run("single", - Arrays.asList(TestHelper.getModel(Attachment.class).get(0)), - Arrays.asList(TestHelper.getModel(Issue.class).get(0)), - Arrays.asList(TestHelper.getModel(Project.class).get(0)), - Arrays.asList(TestHelper.getModel(Tracker.class).get(0)), - Arrays.asList(TestHelper.getModel(User.class).get(0)), - Arrays.asList(TestHelper.getModel(Version.class).get(0)), - Arrays.asList(TestHelper.getModel(IssueStatus.class).get(0)), - Arrays.asList(TestHelper.getModel(IssuePriority.class).get(0)), - Arrays.asList(TestHelper.getModel(IssueCategory.class).get(0)), - Arrays.asList(TestHelper.getModel(News.class).get(0)), - Arrays.asList(TestHelper.getModel(TimeEntry.class).get(0)) - ); + protected void testForListData(InputStream stream, List<T> expected) throws Exception { - Issue issue = TestHelper.getModel(Issue.class).get(0); - User user = TestHelper.getModel(User.class).get(0); - issue.setIsPrivate(true); - user.setSalt("38006729a049cd820aafd6c2bb3b193f"); + T[] actual; + + // test from file + try { - action.run("single2", - null, - Arrays.asList(issue), - null, - null, - Arrays.asList(user), - null, - null, - null, - null, - null, - null - ); - } finally { - issue.setIsPrivate(false); - user.setSalt(null); + actual = builder.readObjects(type, stream, true); + } catch (Exception e) { + throw new IllegalStateException("Could not read " + resourcePath, e); } + TestHelper.assertMyListEquals(type, expected, actual); } - /** - * Test the method {@code readArray} of class ModelBuilder. - * - * @throws Exception for any exceptions - */ - @Test - @SuppressWarnings("unchecked") - public void testReadArray() throws Exception { + static class SingleDataSupplier<T> implements Supplier<T>, Closeable { - TestAction action = new TestAction() { + protected final Class<T> type; - @Override - protected <T> void runForType(File rootDir, Class<T> type, List<?> expected) throws Exception { + SingleDataSupplier(Class<T> type) { + this.type = type; + } - File file = new File(rootDir, Introspector.decapitalize(type.getSimpleName()) + "s.xml"); + @Override + public T get() { + return TestHelper.getModel(type, 0); + } - if (verbose) { - log.info("will test " + TestHelper.getRelativePath(TestHelper.getBasedir(), file)); - } + @Override + public void close() throws IOException { + } + } - // test from file + static class EmptyListDataSupplier<T> implements Supplier<List<T>>, Closeable { - T[] actual = builder.readObjects(type, file, true); + protected final Class<T> type; - TestHelper.assertMyListEquals(type, (List<T>) expected, actual); + EmptyListDataSupplier(Class<T> type) { + this.type = type; + } - FileInputStream input = new FileInputStream(file); - try { - // test from text - String txt = IOUtil.toString(input); + @Override + public List<T> get() { + return Collections.emptyList(); + } - actual = builder.readObjects(type, txt, true); + @Override + public void close() throws IOException { + } + } - TestHelper.assertMyListEquals(type, (List<T>) expected, actual); - } finally { - input.close(); - } - } - }; + static class SingletonListDataSupplier<T> implements Supplier<List<T>>, Closeable { - action.run("array-empty", - Collections.emptyList(), - Collections.emptyList(), - Collections.emptyList(), - Collections.emptyList(), - Collections.emptyList(), - Collections.emptyList(), - Collections.emptyList(), - Collections.emptyList(), - Collections.emptyList(), - Collections.emptyList(), - Collections.emptyList()); + protected final Class<T> type; + SingletonListDataSupplier(Class<T> type) { + this.type = type; + } - action.run("array-singleton", - Arrays.asList(TestHelper.getModel(Attachment.class).get(0)), - Arrays.asList(TestHelper.getModel(Issue.class).get(0)), - Arrays.asList(TestHelper.getModel(Project.class).get(0)), - Arrays.asList(TestHelper.getModel(Tracker.class).get(0)), - Arrays.asList(TestHelper.getModel(User.class).get(0)), - Arrays.asList(TestHelper.getModel(Version.class).get(0)), - Arrays.asList(TestHelper.getModel(IssueStatus.class).get(0)), - Arrays.asList(TestHelper.getModel(IssuePriority.class).get(0)), - Arrays.asList(TestHelper.getModel(IssueCategory.class).get(0)), - Arrays.asList(TestHelper.getModel(News.class).get(0)), - Arrays.asList(TestHelper.getModel(TimeEntry.class).get(0)) - ); + @Override + public List<T> get() { + T model = TestHelper.getModel(type, 0); + List<T> result = Lists.newArrayList(); + result.add(model); + return result; + } - action.run("array-multi", - TestHelper.getModel(Attachment.class), - TestHelper.getModel(Issue.class), - TestHelper.getModel(Project.class), - TestHelper.getModel(Tracker.class), - TestHelper.getModel(User.class), - TestHelper.getModel(Version.class), - TestHelper.getModel(IssueStatus.class), - TestHelper.getModel(IssuePriority.class), - TestHelper.getModel(IssueCategory.class), - TestHelper.getModel(News.class), - TestHelper.getModel(TimeEntry.class) - ); - + @Override + public void close() throws IOException { + } } - /** A little action wrapper to simplify this test class :) */ - public static abstract class TestAction { + static class MultiListDataSupplier<T> implements Supplier<List<T>>, Closeable { - /** - * Implements the logic of action for the given {@code type} and - * the {@code expected} datas. - * - * @param <T> the type of data used - * @param rootDir the rootdir file of the local cache - * @param type the type of data used - * @param expected the list of expected datas - * @throws Exception if any pb - */ - protected abstract <T> void runForType(File rootDir, Class<T> type, List<?> expected) throws Exception; + protected final Class<T> type; - public void run(String name, List<?>... expected) throws Exception { - Assert.assertEquals(universeSize, expected.length); - File rootDir = new File(testDir, name); + MultiListDataSupplier(Class<T> type) { + this.type = type; + } - for (int i = 0; i < universeSize; i++) { + @Override + public List<T> get() { + return TestHelper.getModel(type); + } - RedmineModelEnum next = TYPE_ORDER[i]; - - if (expected[i] != null) { - runForType(rootDir, next.getModelType(), expected[i]); - } - } + @Override + public void close() throws IOException { } } + + public static <T> SingleDataSupplier<T> newSingleData(Class<T> type) { + return new SingleDataSupplier<T>(type); + } + + public static <T> EmptyListDataSupplier<T> newEmptyListData(Class<T> type) { + return new EmptyListDataSupplier<T>(type); + } + + public static <T> SingletonListDataSupplier<T> newSingletonListData(Class<T> type) { + return new SingletonListDataSupplier<T>(type); + } + + public static <T> MultiListDataSupplier<T> newMultiListData(Class<T> type) { + return new MultiListDataSupplier<T>(type); + } } Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/attachment.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/attachments.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/attachment.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/attachment.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<attachments type="array"> +</attachments> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/attachment.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/attachments.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/attachments.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/attachments.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<attachments type="array"> -</attachments> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issue.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issues.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issue.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issue.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issues type="array"> +</issues> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issue.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueCategory.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueCategorys.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueCategory.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueCategory.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issue-categories type="array"> +</issue-categories> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueCategory.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueCategorys.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueCategorys.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueCategorys.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<issue-categories type="array"> -</issue-categories> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issuePriority.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issuePrioritys.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issuePriority.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issuePriority.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issue-priorities type="array"> +</issue-priorities> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issuePriority.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issuePrioritys.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issuePrioritys.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issuePrioritys.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<issue-priorities type="array"/> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueStatus.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueStatuss.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueStatus.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueStatus.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issue-statuses type="array"> +</issue-statuses> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueStatus.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueStatuss.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueStatuss.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issueStatuss.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<issue-statuses type="array"/> Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issues.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issues.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/issues.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<issues type="array"> -</issues> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/news.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/newss.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/news.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/news.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<news type="array"> +</news> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/news.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/newss.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/newss.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/newss.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<news type="array"/> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/project.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/projects.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/project.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/project.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<projects type="array"> +</projects> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/project.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/projects.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/projects.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/projects.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<projects type="array"> -</projects> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/timeEntry.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/timeEntrys.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/timeEntry.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/timeEntry.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<time-entries type="array"> +</time-entries> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/timeEntry.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/timeEntrys.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/timeEntrys.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/timeEntrys.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<time-entries type="array"> -</time-entries> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/tracker.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/trackers.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/tracker.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/tracker.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<trackers type="array"> +</trackers> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/tracker.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/trackers.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/trackers.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/trackers.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<trackers type="array"> -</trackers> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/user.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/users.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/user.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/user.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<users type="array"> +</users> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/user.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/users.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/users.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/users.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<users type="array"> -</users> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/version.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/versions.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/version.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/version.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<versions type="array"> +</versions> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/version.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/versions.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/versions.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty/versions.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<versions type="array"> -</versions> Added: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/attachment.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/attachment.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/attachment.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id: attachments.xml 186 2011-05-20 12:32:08Z tchemit $ + $HeadURL: http://svn.nuiton.org/svn/jredmine/trunk/jredmine-client/src/test/resources/... $ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<attachments type="array"/> \ No newline at end of file Added: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issue.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issue.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issue.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id: issues.xml 186 2011-05-20 12:32:08Z tchemit $ + $HeadURL: http://svn.nuiton.org/svn/jredmine/trunk/jredmine-client/src/test/resources/... $ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issues type="array"/> Added: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issueCategory.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issueCategory.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issueCategory.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id: issueCategorys.xml 186 2011-05-20 12:32:08Z tchemit $ + $HeadURL: http://svn.nuiton.org/svn/jredmine/trunk/jredmine-client/src/test/resources/... $ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issue-categories type="array"/> \ No newline at end of file Added: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issuePriority.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issuePriority.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issuePriority.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id: issuePrioritys.xml 193 2011-05-20 22:44:58Z tchemit $ + $HeadURL: http://svn.nuiton.org/svn/jredmine/trunk/jredmine-client/src/test/resources/... $ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issue-priorities type="array"/> Added: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issueStatus.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issueStatus.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/issueStatus.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id: issueStatuss.xml 186 2011-05-20 12:32:08Z tchemit $ + $HeadURL: http://svn.nuiton.org/svn/jredmine/trunk/jredmine-client/src/test/resources/... $ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issue-statuses type="array"/> Added: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/news.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/news.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/news.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id: newss.xml 186 2011-05-20 12:32:08Z tchemit $ + $HeadURL: http://svn.nuiton.org/svn/jredmine/trunk/jredmine-client/src/test/resources/... $ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<news type="array"/> Added: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/project.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/project.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/project.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id: projects.xml 186 2011-05-20 12:32:08Z tchemit $ + $HeadURL: http://svn.nuiton.org/svn/jredmine/trunk/jredmine-client/src/test/resources/... $ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<projects type="array"/> \ No newline at end of file Added: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/timeEntry.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/timeEntry.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/timeEntry.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id: timeEntrys.xml 186 2011-05-20 12:32:08Z tchemit $ + $HeadURL: http://svn.nuiton.org/svn/jredmine/trunk/jredmine-client/src/test/resources/... $ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<time-entries type="array"/> \ No newline at end of file Added: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/tracker.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/tracker.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/tracker.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id: trackers.xml 186 2011-05-20 12:32:08Z tchemit $ + $HeadURL: http://svn.nuiton.org/svn/jredmine/trunk/jredmine-client/src/test/resources/... $ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<trackers type="array"/> Added: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/user.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/user.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/user.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id: users.xml 186 2011-05-20 12:32:08Z tchemit $ + $HeadURL: http://svn.nuiton.org/svn/jredmine/trunk/jredmine-client/src/test/resources/... $ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<users type="array"/> Added: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/version.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/version.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-empty2/version.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id: versions.xml 186 2011-05-20 12:32:08Z tchemit $ + $HeadURL: http://svn.nuiton.org/svn/jredmine/trunk/jredmine-client/src/test/resources/... $ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<versions type="array"/> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/attachment.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/attachments.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/attachment.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/attachment.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<attachments type="array"> + <attachment> + <author-id type="integer">4</author-id> + <container-id type="integer">1</container-id> + <id type="integer">1</id> + <filesize type="integer">411</filesize> + <downloads type="integer">0</downloads> + + <created-on type="datetime">2009-09-05T12:56:41+02:00</created-on> + + <container-type>Version</container-type> + <content-type>application/json</content-type> + <description></description> + <digest>6ea84342c7475c05fb077b4aca832f9a</digest> + <disk-filename>090905125641_get_issue.json</disk-filename> + <filename>get_issue.json</filename> + </attachment> + <attachment> + <author-id type="integer">4</author-id> + <container-id type="integer">1</container-id> + <id type="integer">1</id> + <filesize type="integer">411</filesize> + <downloads type="integer">0</downloads> + + <created-on type="datetime">2009-09-05T12:56:41+02:00</created-on> + + <container-type>Version</container-type> + <content-type>application/json</content-type> + <description></description> + <digest>6ea84342c7475c05fb077b4aca832f9a</digest> + <disk-filename>090905125641_get_issue.json2</disk-filename> + <filename>get_issue.json2</filename> + </attachment> +</attachments> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/attachment.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/attachments.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/attachments.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/attachments.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,60 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<attachments type="array"> - <attachment> - <author-id type="integer">4</author-id> - <container-id type="integer">1</container-id> - <id type="integer">1</id> - <filesize type="integer">411</filesize> - <downloads type="integer">0</downloads> - - <created-on type="datetime">2009-09-05T12:56:41+02:00</created-on> - - <container-type>Version</container-type> - <content-type>application/json</content-type> - <description></description> - <digest>6ea84342c7475c05fb077b4aca832f9a</digest> - <disk-filename>090905125641_get_issue.json</disk-filename> - <filename>get_issue.json</filename> - </attachment> - <attachment> - <author-id type="integer">4</author-id> - <container-id type="integer">1</container-id> - <id type="integer">1</id> - <filesize type="integer">411</filesize> - <downloads type="integer">0</downloads> - - <created-on type="datetime">2009-09-05T12:56:41+02:00</created-on> - - <container-type>Version</container-type> - <content-type>application/json</content-type> - <description></description> - <digest>6ea84342c7475c05fb077b4aca832f9a</digest> - <disk-filename>090905125641_get_issue.json2</disk-filename> - <filename>get_issue.json2</filename> - </attachment> -</attachments> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issue.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issues.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issue.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issue.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issues type="array"> + <issue> + <assigned-to-id type="integer" nil="true"></assigned-to-id> + <author-id type="integer">5</author-id> + <category-id type="integer">2</category-id> + <done-ratio type="integer">0</done-ratio> + <lock-version type="integer">7</lock-version> + <priority-id type="integer">4</priority-id> + <project-id type="integer">1</project-id> + <status-id type="integer">3</status-id> + <tracker-id type="integer">1</tracker-id> + <fixed-version-id type="integer">1</fixed-version-id> + <id type="integer">3</id> + <parent-id type="integer">3</parent-id> + <root-id type="integer">3</root-id> + + <estimated-hours type="float" nil="true"></estimated-hours> + + <created-on type="datetime">2009-09-04T20:11:52+02:00</created-on> + <updated-on type="datetime">2009-09-06T00:37:40+02:00</updated-on> + <due-date type="date" nil="true"></due-date> + <start-date type="date">2009-09-04</start-date> + + <description>avec une description !</description> + <subject>yes!</subject> + <lft type="integer">1</lft> + <rgt type="integer">2</rgt> + </issue> + <issue> + <assigned-to-id type="integer" nil="true"></assigned-to-id> + <author-id type="integer">5</author-id> + <category-id type="integer">2</category-id> + <done-ratio type="integer">0</done-ratio> + <lock-version type="integer">7</lock-version> + <priority-id type="integer">4</priority-id> + <project-id type="integer">1</project-id> + <status-id type="integer">3</status-id> + <tracker-id type="integer">1</tracker-id> + <fixed-version-id type="integer">1</fixed-version-id> + <id type="integer">4</id> + + <estimated-hours type="float" nil="true"></estimated-hours> + + <created-on type="datetime">2009-09-04T20:11:52+02:00</created-on> + <updated-on type="datetime">2009-09-06T00:37:40+02:00</updated-on> + <due-date type="date" nil="true"></due-date> + <start-date type="date">2009-09-04</start-date> + + <description>avec une description !2</description> + <subject>yes!2</subject> + </issue> +</issues> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issue.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueCategory.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueCategorys.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueCategory.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueCategory.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issue-categories type="array"> + <issue-category> + <assigned-to-id type="integer" nil="true"/> + <id type="integer">1</id> + <name>categorie one</name> + <project-id type="integer">1</project-id> + </issue-category> + <issue-category> + <assigned-to-id type="integer" nil="true"/> + <id type="integer">2</id> + <name>categorie two</name> + <project-id type="integer">1</project-id> + </issue-category> +</issue-categories> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueCategory.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueCategorys.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueCategorys.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueCategorys.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<issue-categories type="array"> - <issue-category> - <assigned-to-id type="integer" nil="true"/> - <id type="integer">1</id> - <name>categorie one</name> - <project-id type="integer">1</project-id> - </issue-category> - <issue-category> - <assigned-to-id type="integer" nil="true"/> - <id type="integer">2</id> - <name>categorie two</name> - <project-id type="integer">1</project-id> - </issue-category> -</issue-categories> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issuePriority.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issuePrioritys.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issuePriority.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issuePriority.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issue-priorities type="array"> + <issue-priority> + <id type="integer">3</id> + <is-default type="boolean">false</is-default> + <name>Bas</name> + <opt>IPRI</opt> + <position type="integer">1</position> + <parent-id type="integer">1</parent-id> + <project-id type="integer">2</project-id> + <active type="boolean">true</active> + </issue-priority> + <issue-priority> + <id type="integer">4</id> + <is-default type="boolean">true</is-default> + <name>Normal</name> + <opt>IPRI</opt> + <position type="integer">2</position> + </issue-priority> + <issue-priority> + <id type="integer">5</id> + <is-default type="boolean">false</is-default> + <name>Haut</name> + <opt>IPRI</opt> + <position type="integer">3</position> + </issue-priority> + <issue-priority> + <id type="integer">6</id> + <is-default type="boolean">false</is-default> + <name>Urgent</name> + <opt>IPRI</opt> + <position type="integer">4</position> + </issue-priority> + <issue-priority> + <id type="integer">7</id> + <is-default type="boolean">false</is-default> + <name>Immédiat</name> + <opt>IPRI</opt> + <position type="integer">5</position> + </issue-priority> +</issue-priorities> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issuePriority.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issuePrioritys.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issuePrioritys.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issuePrioritys.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,66 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<issue-priorities type="array"> - <issue-priority> - <id type="integer">3</id> - <is-default type="boolean">false</is-default> - <name>Bas</name> - <opt>IPRI</opt> - <position type="integer">1</position> - <parent-id type="integer">1</parent-id> - <project-id type="integer">2</project-id> - <active type="boolean">true</active> - </issue-priority> - <issue-priority> - <id type="integer">4</id> - <is-default type="boolean">true</is-default> - <name>Normal</name> - <opt>IPRI</opt> - <position type="integer">2</position> - </issue-priority> - <issue-priority> - <id type="integer">5</id> - <is-default type="boolean">false</is-default> - <name>Haut</name> - <opt>IPRI</opt> - <position type="integer">3</position> - </issue-priority> - <issue-priority> - <id type="integer">6</id> - <is-default type="boolean">false</is-default> - <name>Urgent</name> - <opt>IPRI</opt> - <position type="integer">4</position> - </issue-priority> - <issue-priority> - <id type="integer">7</id> - <is-default type="boolean">false</is-default> - <name>Immédiat</name> - <opt>IPRI</opt> - <position type="integer">5</position> - </issue-priority> -</issue-priorities> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueStatus.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueStatuss.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueStatus.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueStatus.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issue-statuses type="array"> + + <issue-status> + <id type="integer">1</id> + <is-closed type="boolean">false</is-closed> + <is-default type="boolean">true</is-default> + <name>Nouveau</name> + <position type="integer">1</position> + <default-done-ratio>10</default-done-ratio> + </issue-status> + + <issue-status> + <id type="integer">2</id> + <is-closed type="boolean">false</is-closed> + <is-default type="boolean">false</is-default> + <name>Assigné</name> + <position type="integer">2</position> + </issue-status> + + <issue-status> + <id type="integer">3</id> + <is-closed type="boolean">false</is-closed> + <is-default type="boolean">false</is-default> + <name>Résolu</name> + <position type="integer">3</position> + </issue-status> + + <issue-status> + <id type="integer">4</id> + <is-closed type="boolean">false</is-closed> + <is-default type="boolean">false</is-default> + <name>Commentaire</name> + <position type="integer">4</position> + </issue-status> + <issue-status> + <id type="integer">5</id> + <is-closed type="boolean">true</is-closed> + <is-default type="boolean">false</is-default> + <name>Fermé</name> + <position type="integer">5</position> + </issue-status> + <issue-status> + <id type="integer">6</id> + <is-closed type="boolean">true</is-closed> + <is-default type="boolean">false</is-default> + <name>Rejeté</name> + <position type="integer">6</position> + </issue-status> +</issue-statuses> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueStatus.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueStatuss.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueStatuss.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issueStatuss.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,75 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<issue-statuses type="array"> - - <issue-status> - <id type="integer">1</id> - <is-closed type="boolean">false</is-closed> - <is-default type="boolean">true</is-default> - <name>Nouveau</name> - <position type="integer">1</position> - <default-done-ratio>10</default-done-ratio> - </issue-status> - - <issue-status> - <id type="integer">2</id> - <is-closed type="boolean">false</is-closed> - <is-default type="boolean">false</is-default> - <name>Assigné</name> - <position type="integer">2</position> - </issue-status> - - <issue-status> - <id type="integer">3</id> - <is-closed type="boolean">false</is-closed> - <is-default type="boolean">false</is-default> - <name>Résolu</name> - <position type="integer">3</position> - </issue-status> - - <issue-status> - <id type="integer">4</id> - <is-closed type="boolean">false</is-closed> - <is-default type="boolean">false</is-default> - <name>Commentaire</name> - <position type="integer">4</position> - </issue-status> - <issue-status> - <id type="integer">5</id> - <is-closed type="boolean">true</is-closed> - <is-default type="boolean">false</is-default> - <name>Fermé</name> - <position type="integer">5</position> - </issue-status> - <issue-status> - <id type="integer">6</id> - <is-closed type="boolean">true</is-closed> - <is-default type="boolean">false</is-default> - <name>Rejeté</name> - <position type="integer">6</position> - </issue-status> -</issue-statuses> \ No newline at end of file Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issues.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issues.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/issues.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,78 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<issues type="array"> - <issue> - <assigned-to-id type="integer" nil="true"></assigned-to-id> - <author-id type="integer">5</author-id> - <category-id type="integer">2</category-id> - <done-ratio type="integer">0</done-ratio> - <lock-version type="integer">7</lock-version> - <priority-id type="integer">4</priority-id> - <project-id type="integer">1</project-id> - <status-id type="integer">3</status-id> - <tracker-id type="integer">1</tracker-id> - <fixed-version-id type="integer">1</fixed-version-id> - <id type="integer">3</id> - <parent-id type="integer">3</parent-id> - <root-id type="integer">3</root-id> - - <estimated-hours type="float" nil="true"></estimated-hours> - - <created-on type="datetime">2009-09-04T20:11:52+02:00</created-on> - <updated-on type="datetime">2009-09-06T00:37:40+02:00</updated-on> - <due-date type="date" nil="true"></due-date> - <start-date type="date">2009-09-04</start-date> - - <description>avec une description !</description> - <subject>yes!</subject> - <lft type="integer">1</lft> - <rgt type="integer">2</rgt> - </issue> - <issue> - <assigned-to-id type="integer" nil="true"></assigned-to-id> - <author-id type="integer">5</author-id> - <category-id type="integer">2</category-id> - <done-ratio type="integer">0</done-ratio> - <lock-version type="integer">7</lock-version> - <priority-id type="integer">4</priority-id> - <project-id type="integer">1</project-id> - <status-id type="integer">3</status-id> - <tracker-id type="integer">1</tracker-id> - <fixed-version-id type="integer">1</fixed-version-id> - <id type="integer">4</id> - - <estimated-hours type="float" nil="true"></estimated-hours> - - <created-on type="datetime">2009-09-04T20:11:52+02:00</created-on> - <updated-on type="datetime">2009-09-06T00:37:40+02:00</updated-on> - <due-date type="date" nil="true"></due-date> - <start-date type="date">2009-09-04</start-date> - - <description>avec une description !2</description> - <subject>yes!2</subject> - </issue> -</issues> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/news.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/newss.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/news.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/news.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<news type="array"> + <news> + <author-id type="integer">4</author-id> + <comments-count type="integer">0</comments-count> + <created-on type="datetime">2009-09-17T21:50:26+02:00</created-on> + <description>description</description> + <id type="integer">85</id> + <project-id type="integer">1</project-id> + <summary>summary</summary> + <title>title</title> + </news> + <news> + <author-id type="integer">4</author-id> + <comments-count type="integer">0</comments-count> + <created-on type="datetime">2009-09-17T21:55:26+02:00</created-on> + <description>description2</description> + <id type="integer">86</id> + <project-id type="integer">1</project-id> + <summary>summary2</summary> + <title>title2</title> + </news> +</news> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/news.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/newss.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/newss.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/newss.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<news type="array"> - <news> - <author-id type="integer">4</author-id> - <comments-count type="integer">0</comments-count> - <created-on type="datetime">2009-09-17T21:50:26+02:00</created-on> - <description>description</description> - <id type="integer">85</id> - <project-id type="integer">1</project-id> - <summary>summary</summary> - <title>title</title> - </news> - <news> - <author-id type="integer">4</author-id> - <comments-count type="integer">0</comments-count> - <created-on type="datetime">2009-09-17T21:55:26+02:00</created-on> - <description>description2</description> - <id type="integer">86</id> - <project-id type="integer">1</project-id> - <summary>summary2</summary> - <title>title2</title> - </news> -</news> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/project.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/projects.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/project.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/project.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<projects type="array"> + <project> + <created-on type="datetime">2009-09-04T18:11:54+02:00</created-on> + <description/> + <homepage/> + <id type="integer">1</id> + <identifier>one</identifier> + <is-public type="boolean">true</is-public> + <name>one</name> + <parent-id type="integer" nil="true"/> + <lft type="integer">1</lft> + <rgt type="integer">2</rgt> + <projects-count type="integer">0</projects-count> + <status type="integer">1</status> + <updated-on type="datetime">2009-09-04T18:11:54+02:00</updated-on> + </project> + <project> + <created-on type="datetime">2009-09-05T16:22:14+02:00</created-on> + <description/> + <homepage/> + <id type="integer">2</id> + <identifier>two</identifier> + <is-public type="boolean">false</is-public> + <name>two</name> + <parent-id type="integer" nil="true"/> + <projects-count type="integer">0</projects-count> + <status type="integer">1</status> + <updated-on type="datetime">2009-09-05T16:22:29+02:00</updated-on> + </project> +</projects> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/project.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/projects.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/projects.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/projects.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<projects type="array"> - <project> - <created-on type="datetime">2009-09-04T18:11:54+02:00</created-on> - <description/> - <homepage/> - <id type="integer">1</id> - <identifier>one</identifier> - <is-public type="boolean">true</is-public> - <name>one</name> - <parent-id type="integer" nil="true"/> - <lft type="integer">1</lft> - <rgt type="integer">2</rgt> - <projects-count type="integer">0</projects-count> - <status type="integer">1</status> - <updated-on type="datetime">2009-09-04T18:11:54+02:00</updated-on> - </project> - <project> - <created-on type="datetime">2009-09-05T16:22:14+02:00</created-on> - <description/> - <homepage/> - <id type="integer">2</id> - <identifier>two</identifier> - <is-public type="boolean">false</is-public> - <name>two</name> - <parent-id type="integer" nil="true"/> - <projects-count type="integer">0</projects-count> - <status type="integer">1</status> - <updated-on type="datetime">2009-09-05T16:22:29+02:00</updated-on> - </project> -</projects> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/timeEntry.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/timeEntrys.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/timeEntry.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/timeEntry.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<time-entries type="array"> + <time-entry> + <activity-id type="integer">8</activity-id> + <comments>Test</comments> + <created-on type="datetime">2009-12-31T23:02:02+01:00</created-on> + <hours type="float">1.0</hours> + <id type="integer">1</id> + <issue-id type="integer">6</issue-id> + <project-id type="integer">1</project-id> + <spent-on type="date">2009-12-31</spent-on> + <tmonth type="integer">12</tmonth> + <tweek type="integer">53</tweek> + <tyear type="integer">2009</tyear> + <updated-on type="datetime">2009-12-31T23:02:02+01:00</updated-on> + <user-id type="integer">4</user-id> + </time-entry> + <time-entry> + <activity-id type="integer">9</activity-id> + <comments>deuxième temps</comments> + <created-on type="datetime">2009-12-31T23:10:01+01:00</created-on> + <hours type="float">2.0</hours> + <id type="integer">2</id> + <issue-id type="integer">6</issue-id> + <project-id type="integer">1</project-id> + <spent-on type="date">2009-12-31</spent-on> + <tmonth type="integer">12</tmonth> + <tweek type="integer">53</tweek> + <tyear type="integer">2009</tyear> + <updated-on type="datetime">2009-12-31T23:10:01+01:00</updated-on> + <user-id type="integer">4</user-id> + </time-entry> +</time-entries> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/timeEntry.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/timeEntrys.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/timeEntrys.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/timeEntrys.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,58 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<time-entries type="array"> - <time-entry> - <activity-id type="integer">8</activity-id> - <comments>Test</comments> - <created-on type="datetime">2009-12-31T23:02:02+01:00</created-on> - <hours type="float">1.0</hours> - <id type="integer">1</id> - <issue-id type="integer">6</issue-id> - <project-id type="integer">1</project-id> - <spent-on type="date">2009-12-31</spent-on> - <tmonth type="integer">12</tmonth> - <tweek type="integer">53</tweek> - <tyear type="integer">2009</tyear> - <updated-on type="datetime">2009-12-31T23:02:02+01:00</updated-on> - <user-id type="integer">4</user-id> - </time-entry> - <time-entry> - <activity-id type="integer">9</activity-id> - <comments>deuxième temps</comments> - <created-on type="datetime">2009-12-31T23:10:01+01:00</created-on> - <hours type="float">2.0</hours> - <id type="integer">2</id> - <issue-id type="integer">6</issue-id> - <project-id type="integer">1</project-id> - <spent-on type="date">2009-12-31</spent-on> - <tmonth type="integer">12</tmonth> - <tweek type="integer">53</tweek> - <tyear type="integer">2009</tyear> - <updated-on type="datetime">2009-12-31T23:10:01+01:00</updated-on> - <user-id type="integer">4</user-id> - </time-entry> -</time-entries> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/tracker.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/trackers.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/tracker.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/tracker.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<trackers type="array"> + <tracker> + <id type="integer">1</id> + <project-id type="NilClass">1</project-id> + <tracker-id type="NilClass">1</tracker-id> + <position type="integer">1</position> + + <is-in-chlog type="boolean">true</is-in-chlog> + <is-in-roadmap type="boolean">false</is-in-roadmap> + + <name>Anomalie</name> + </tracker> + <tracker> + <id type="integer">2</id> + <is-in-chlog type="boolean">true</is-in-chlog> + <is-in-roadmap type="boolean">true</is-in-roadmap> + <name>Evolution</name> + <position type="integer">2</position> + <project-id type="NilClass">1</project-id> + <tracker-id type="NilClass">2</tracker-id> + </tracker> + <tracker> + <id type="integer">3</id> + <is-in-chlog type="boolean">false</is-in-chlog> + <is-in-roadmap type="boolean">false</is-in-roadmap> + <name>Assistance</name> + <position type="integer">3</position> + <project-id type="NilClass">1</project-id> + <tracker-id type="NilClass">3</tracker-id> + </tracker> +</trackers> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/tracker.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/trackers.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/trackers.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/trackers.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,57 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<trackers type="array"> - <tracker> - <id type="integer">1</id> - <project-id type="NilClass">1</project-id> - <tracker-id type="NilClass">1</tracker-id> - <position type="integer">1</position> - - <is-in-chlog type="boolean">true</is-in-chlog> - <is-in-roadmap type="boolean">false</is-in-roadmap> - - <name>Anomalie</name> - </tracker> - <tracker> - <id type="integer">2</id> - <is-in-chlog type="boolean">true</is-in-chlog> - <is-in-roadmap type="boolean">true</is-in-roadmap> - <name>Evolution</name> - <position type="integer">2</position> - <project-id type="NilClass">1</project-id> - <tracker-id type="NilClass">2</tracker-id> - </tracker> - <tracker> - <id type="integer">3</id> - <is-in-chlog type="boolean">false</is-in-chlog> - <is-in-roadmap type="boolean">false</is-in-roadmap> - <name>Assistance</name> - <position type="integer">3</position> - <project-id type="NilClass">1</project-id> - <tracker-id type="NilClass">3</tracker-id> - </tracker> -</trackers> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/user.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/users.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/user.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/user.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<users type="array"> + <user> + <created-on type="datetime">2009-09-04T17:24:46+02:00</created-on> + <updated-on type="datetime">2009-09-06T01:23:59+02:00</updated-on> + <last-login-on type="datetime">2009-09-06T01:23:59+02:00</last-login-on> + + <id type="integer">1</id> + <auth-source-id type="integer" nil="true"></auth-source-id> + <member-id type="NilClass">5</member-id> + <role-id type="NilClass">3</role-id> + <status type="integer">1</status> + + <admin type="boolean">true</admin> + <mail-notification type="boolean">true</mail-notification> + + <firstname>Redmine</firstname> + <hashed-password>70c881d4a26984ddce795f6f71817c9cf4480e79</hashed-password> + <language>fr</language> + <lastname>Admin</lastname> + <login>admin</login> + <mail>dummy@codelutin.com</mail> + <identity-url>yo</identity-url> + </user> + <user> + <admin type="boolean">true</admin> + <auth-source-id type="integer" nil="true"></auth-source-id> + <created-on type="datetime">2009-09-04T19:49:02+02:00</created-on> + <firstname>tony</firstname> + <hashed-password>8aed1322e5450badb078e1fb60a817a1df25a2ca</hashed-password> + <id type="integer">5</id> + <language>fr</language> + <last-login-on type="datetime">2009-09-04T19:49:38+02:00</last-login-on> + <lastname>chemit2</lastname> + <login>tchemit2</login> + <mail>chemit@codelutin.com</mail> + <mail-notification type="boolean">false</mail-notification> + <member-id type="NilClass">4</member-id> + <role-id type="NilClass">3</role-id> + <status type="integer">1</status> + <updated-on type="datetime">2009-09-04T19:49:38+02:00</updated-on> + </user> + <user> + <admin type="boolean">false</admin> + <auth-source-id type="integer" nil="true"></auth-source-id> + <created-on type="datetime">2009-09-05T16:24:11+02:00</created-on> + <firstname>dev</firstname> + <hashed-password>70c881d4a26984ddce795f6f71817c9cf4480e79</hashed-password> + <id type="integer">7</id> + <language>fr</language> + <last-login-on type="datetime">2009-09-06T16:34:39+02:00</last-login-on> + <lastname>dev</lastname> + <login>dev</login> + <mail>dev3@ynot-home.info</mail> + <mail-notification type="boolean">false</mail-notification> + <member-id type="NilClass">9</member-id> + <role-id type="NilClass">4</role-id> + <status type="integer">1</status> + <updated-on type="datetime">2009-09-06T16:34:39+02:00</updated-on> + </user> +</users> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/user.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/users.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/users.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/users.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,86 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<users type="array"> - <user> - <created-on type="datetime">2009-09-04T17:24:46+02:00</created-on> - <updated-on type="datetime">2009-09-06T01:23:59+02:00</updated-on> - <last-login-on type="datetime">2009-09-06T01:23:59+02:00</last-login-on> - - <id type="integer">1</id> - <auth-source-id type="integer" nil="true"></auth-source-id> - <member-id type="NilClass">5</member-id> - <role-id type="NilClass">3</role-id> - <status type="integer">1</status> - - <admin type="boolean">true</admin> - <mail-notification type="boolean">true</mail-notification> - - <firstname>Redmine</firstname> - <hashed-password>70c881d4a26984ddce795f6f71817c9cf4480e79</hashed-password> - <language>fr</language> - <lastname>Admin</lastname> - <login>admin</login> - <mail>dummy@codelutin.com</mail> - <identity-url>yo</identity-url> - </user> - <user> - <admin type="boolean">true</admin> - <auth-source-id type="integer" nil="true"></auth-source-id> - <created-on type="datetime">2009-09-04T19:49:02+02:00</created-on> - <firstname>tony</firstname> - <hashed-password>8aed1322e5450badb078e1fb60a817a1df25a2ca</hashed-password> - <id type="integer">5</id> - <language>fr</language> - <last-login-on type="datetime">2009-09-04T19:49:38+02:00</last-login-on> - <lastname>chemit2</lastname> - <login>tchemit2</login> - <mail>chemit@codelutin.com</mail> - <mail-notification type="boolean">false</mail-notification> - <member-id type="NilClass">4</member-id> - <role-id type="NilClass">3</role-id> - <status type="integer">1</status> - <updated-on type="datetime">2009-09-04T19:49:38+02:00</updated-on> - </user> - <user> - <admin type="boolean">false</admin> - <auth-source-id type="integer" nil="true"></auth-source-id> - <created-on type="datetime">2009-09-05T16:24:11+02:00</created-on> - <firstname>dev</firstname> - <hashed-password>70c881d4a26984ddce795f6f71817c9cf4480e79</hashed-password> - <id type="integer">7</id> - <language>fr</language> - <last-login-on type="datetime">2009-09-06T16:34:39+02:00</last-login-on> - <lastname>dev</lastname> - <login>dev</login> - <mail>dev3@ynot-home.info</mail> - <mail-notification type="boolean">false</mail-notification> - <member-id type="NilClass">9</member-id> - <role-id type="NilClass">4</role-id> - <status type="integer">1</status> - <updated-on type="datetime">2009-09-06T16:34:39+02:00</updated-on> - </user> -</users> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/version.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/versions.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/version.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/version.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<versions type="array"> + <version> + <created-on type="datetime">2009-09-06T02:47:39+02:00</created-on> + <description>yo</description> + <effective-date type="date" nil="true"></effective-date> + <id type="integer">9</id> + <name>yor</name> + <project-id type="integer">1</project-id> + <updated-on type="datetime">2009-09-06T02:50:49+02:00</updated-on> + <wiki-page-title nil="true"></wiki-page-title> + <sharing>none</sharing> + <status>open</status> + </version> + <version> + <created-on type="datetime">2009-09-06T03:05:09+02:00</created-on> + <description>ysssoye</description> + <effective-date type="date" nil="true"></effective-date> + <id type="integer">13</id> + <name>rrrrrrrrrouuuuuua</name> + <project-id type="integer">1</project-id> + <updated-on type="datetime">2009-09-06T03:05:09+02:00</updated-on> + <wiki-page-title nil="true"></wiki-page-title> + </version> + <version> + <created-on type="datetime">2009-09-06T03:07:58+02:00</created-on> + <description>ysssoye</description> + <effective-date type="date" nil="true"></effective-date> + <id type="integer">15</id> + <name>aaaauuuuuua</name> + <project-id type="integer">1</project-id> + <updated-on type="datetime">2009-09-06T03:07:58+02:00</updated-on> + <wiki-page-title nil="true"></wiki-page-title> + </version> + <version> + <created-on type="datetime">2009-09-06T04:12:25+02:00</created-on> + <description>ysssoyeppppppppppppppppp</description> + <effective-date type="date" nil="true"></effective-date> + <id type="integer">16</id> + <name>aaaau</name> + <project-id type="integer">1</project-id> + <updated-on type="datetime">2009-09-06T04:13:20+02:00</updated-on> + <wiki-page-title nil="true"></wiki-page-title> + </version> + <version> + <created-on type="datetime">2009-09-06T03:05:40+02:00</created-on> + <description>ysssoye</description> + <effective-date type="date" nil="true"></effective-date> + <id type="integer">14</id> + <name>aaaaaaaaaarrrrrrrrrouuuuuua</name> + <project-id type="integer">1</project-id> + <updated-on type="datetime">2009-09-06T03:05:40+02:00</updated-on> + <wiki-page-title nil="true"></wiki-page-title> + </version> + <version> + <created-on type="datetime">2009-09-05T00:39:15+02:00</created-on> + <description></description> + <effective-date type="date" nil="true"></effective-date> + <id type="integer">5</id> + <name>2</name> + <project-id type="integer">1</project-id> + <updated-on type="datetime">2009-09-05T00:39:15+02:00</updated-on> + <wiki-page-title nil="true"></wiki-page-title> + </version> + <version> + <created-on type="datetime">2009-09-04T18:13:05+02:00</created-on> + <description></description> + <effective-date type="date" nil="true"></effective-date> + <id type="integer">1</id> + <name>1.0.0</name> + <project-id type="integer">1</project-id> + <updated-on type="datetime">2009-09-04T18:13:05+02:00</updated-on> + <wiki-page-title nil="true"></wiki-page-title> + </version> + <version> + <created-on type="datetime">2009-09-06T03:00:12+02:00</created-on> + <description>yoye</description> + <effective-date type="date">2009-09-06</effective-date> + <id type="integer">11</id> + <name>yaouuuuuua</name> + <project-id type="integer">1</project-id> + <updated-on type="datetime">2009-09-06T03:00:12+02:00</updated-on> + <wiki-page-title nil="true"></wiki-page-title> + </version> + <version> + <created-on type="datetime">2009-09-06T02:50:59+02:00</created-on> + <description>yoye</description> + <effective-date type="date">2009-09-06</effective-date> + <id type="integer">10</id> + <name>ya</name> + <project-id type="integer">1</project-id> + <updated-on type="datetime">2009-09-06T02:54:16+02:00</updated-on> + <wiki-page-title nil="true"></wiki-page-title> + </version> + <version> + <created-on type="datetime">2009-09-06T03:00:37+02:00</created-on> + <description>ysssoye</description> + <effective-date type="date">2009-09-06</effective-date> + <id type="integer">12</id> + <name>ouuuuuua</name> + <project-id type="integer">1</project-id> + <updated-on type="datetime">2009-09-06T03:00:42+02:00</updated-on> + <wiki-page-title nil="true"></wiki-page-title> + </version> +</versions> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/version.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/versions.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/versions.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-multi/versions.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,130 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<versions type="array"> - <version> - <created-on type="datetime">2009-09-06T02:47:39+02:00</created-on> - <description>yo</description> - <effective-date type="date" nil="true"></effective-date> - <id type="integer">9</id> - <name>yor</name> - <project-id type="integer">1</project-id> - <updated-on type="datetime">2009-09-06T02:50:49+02:00</updated-on> - <wiki-page-title nil="true"></wiki-page-title> - <sharing>none</sharing> - <status>open</status> - </version> - <version> - <created-on type="datetime">2009-09-06T03:05:09+02:00</created-on> - <description>ysssoye</description> - <effective-date type="date" nil="true"></effective-date> - <id type="integer">13</id> - <name>rrrrrrrrrouuuuuua</name> - <project-id type="integer">1</project-id> - <updated-on type="datetime">2009-09-06T03:05:09+02:00</updated-on> - <wiki-page-title nil="true"></wiki-page-title> - </version> - <version> - <created-on type="datetime">2009-09-06T03:07:58+02:00</created-on> - <description>ysssoye</description> - <effective-date type="date" nil="true"></effective-date> - <id type="integer">15</id> - <name>aaaauuuuuua</name> - <project-id type="integer">1</project-id> - <updated-on type="datetime">2009-09-06T03:07:58+02:00</updated-on> - <wiki-page-title nil="true"></wiki-page-title> - </version> - <version> - <created-on type="datetime">2009-09-06T04:12:25+02:00</created-on> - <description>ysssoyeppppppppppppppppp</description> - <effective-date type="date" nil="true"></effective-date> - <id type="integer">16</id> - <name>aaaau</name> - <project-id type="integer">1</project-id> - <updated-on type="datetime">2009-09-06T04:13:20+02:00</updated-on> - <wiki-page-title nil="true"></wiki-page-title> - </version> - <version> - <created-on type="datetime">2009-09-06T03:05:40+02:00</created-on> - <description>ysssoye</description> - <effective-date type="date" nil="true"></effective-date> - <id type="integer">14</id> - <name>aaaaaaaaaarrrrrrrrrouuuuuua</name> - <project-id type="integer">1</project-id> - <updated-on type="datetime">2009-09-06T03:05:40+02:00</updated-on> - <wiki-page-title nil="true"></wiki-page-title> - </version> - <version> - <created-on type="datetime">2009-09-05T00:39:15+02:00</created-on> - <description></description> - <effective-date type="date" nil="true"></effective-date> - <id type="integer">5</id> - <name>2</name> - <project-id type="integer">1</project-id> - <updated-on type="datetime">2009-09-05T00:39:15+02:00</updated-on> - <wiki-page-title nil="true"></wiki-page-title> - </version> - <version> - <created-on type="datetime">2009-09-04T18:13:05+02:00</created-on> - <description></description> - <effective-date type="date" nil="true"></effective-date> - <id type="integer">1</id> - <name>1.0.0</name> - <project-id type="integer">1</project-id> - <updated-on type="datetime">2009-09-04T18:13:05+02:00</updated-on> - <wiki-page-title nil="true"></wiki-page-title> - </version> - <version> - <created-on type="datetime">2009-09-06T03:00:12+02:00</created-on> - <description>yoye</description> - <effective-date type="date">2009-09-06</effective-date> - <id type="integer">11</id> - <name>yaouuuuuua</name> - <project-id type="integer">1</project-id> - <updated-on type="datetime">2009-09-06T03:00:12+02:00</updated-on> - <wiki-page-title nil="true"></wiki-page-title> - </version> - <version> - <created-on type="datetime">2009-09-06T02:50:59+02:00</created-on> - <description>yoye</description> - <effective-date type="date">2009-09-06</effective-date> - <id type="integer">10</id> - <name>ya</name> - <project-id type="integer">1</project-id> - <updated-on type="datetime">2009-09-06T02:54:16+02:00</updated-on> - <wiki-page-title nil="true"></wiki-page-title> - </version> - <version> - <created-on type="datetime">2009-09-06T03:00:37+02:00</created-on> - <description>ysssoye</description> - <effective-date type="date">2009-09-06</effective-date> - <id type="integer">12</id> - <name>ouuuuuua</name> - <project-id type="integer">1</project-id> - <updated-on type="datetime">2009-09-06T03:00:42+02:00</updated-on> - <wiki-page-title nil="true"></wiki-page-title> - </version> -</versions> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/attachment.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/attachments.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/attachment.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/attachment.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<attachments type="array"> + <attachment> + <author-id type="integer">4</author-id> + <container-id type="integer">1</container-id> + <id type="integer">1</id> + <filesize type="integer">411</filesize> + <downloads type="integer">0</downloads> + + <created-on type="datetime">2009-09-05T12:56:41+02:00</created-on> + + <container-type>Version</container-type> + <content-type>application/json</content-type> + <description></description> + <digest>6ea84342c7475c05fb077b4aca832f9a</digest> + <disk-filename>090905125641_get_issue.json</disk-filename> + <filename>get_issue.json</filename> + </attachment> +</attachments> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/attachment.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/attachments.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/attachments.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/attachments.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,44 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<attachments type="array"> - <attachment> - <author-id type="integer">4</author-id> - <container-id type="integer">1</container-id> - <id type="integer">1</id> - <filesize type="integer">411</filesize> - <downloads type="integer">0</downloads> - - <created-on type="datetime">2009-09-05T12:56:41+02:00</created-on> - - <container-type>Version</container-type> - <content-type>application/json</content-type> - <description></description> - <digest>6ea84342c7475c05fb077b4aca832f9a</digest> - <disk-filename>090905125641_get_issue.json</disk-filename> - <filename>get_issue.json</filename> - </attachment> -</attachments> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issue.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issues.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issue.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issue.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issues type="array"> + <issue> + <assigned-to-id type="integer" nil="true"></assigned-to-id> + <author-id type="integer">5</author-id> + <category-id type="integer">2</category-id> + <done-ratio type="integer">0</done-ratio> + <lock-version type="integer">7</lock-version> + <priority-id type="integer">4</priority-id> + <project-id type="integer">1</project-id> + <status-id type="integer">3</status-id> + <tracker-id type="integer">1</tracker-id> + <fixed-version-id type="integer">1</fixed-version-id> + <id type="integer">3</id> + <parent-id type="integer">3</parent-id> + <root-id type="integer">3</root-id> + + <estimated-hours type="float" nil="true"></estimated-hours> + + <created-on type="datetime">2009-09-04T20:11:52+02:00</created-on> + <updated-on type="datetime">2009-09-06T00:37:40+02:00</updated-on> + <due-date type="date" nil="true"></due-date> + <start-date type="date">2009-09-04</start-date> + + <description>avec une description !</description> + <subject>yes!</subject> + <lft type="integer">1</lft> + <rgt type="integer">2</rgt> + </issue> +</issues> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issue.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueCategory.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueCategorys.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueCategory.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueCategory.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issue-categories type="array"> + <issue-category> + <assigned-to-id type="integer" nil="true"/> + <id type="integer">1</id> + <name>categorie one</name> + <project-id type="integer">1</project-id> + </issue-category> +</issue-categories> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueCategory.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueCategorys.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueCategorys.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueCategorys.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<issue-categories type="array"> - <issue-category> - <assigned-to-id type="integer" nil="true"/> - <id type="integer">1</id> - <name>categorie one</name> - <project-id type="integer">1</project-id> - </issue-category> -</issue-categories> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issuePriority.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issuePrioritys.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issuePriority.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issuePriority.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issue-priorities type="array"> + <issue-priority> + <id type="integer">3</id> + <is-default type="boolean">false</is-default> + <name>Bas</name> + <opt>IPRI</opt> + <position type="integer">1</position> + <active type="boolean">true</active> + <parent-id type="integer">1</parent-id> + <project-id type="integer">2</project-id> + </issue-priority> +</issue-priorities> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issuePriority.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issuePrioritys.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issuePrioritys.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issuePrioritys.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<issue-priorities type="array"> - <issue-priority> - <id type="integer">3</id> - <is-default type="boolean">false</is-default> - <name>Bas</name> - <opt>IPRI</opt> - <position type="integer">1</position> - <active type="boolean">true</active> - <parent-id type="integer">1</parent-id> - <project-id type="integer">2</project-id> - </issue-priority> -</issue-priorities> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueStatus.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueStatuss.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueStatus.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueStatus.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<issue-statuses type="array"> + + <issue-status> + <id type="integer">1</id> + <is-closed type="boolean">false</is-closed> + <is-default type="boolean">true</is-default> + <name>Nouveau</name> + <position type="integer">1</position> + <default-done-ratio>10</default-done-ratio> + </issue-status> + +</issue-statuses> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueStatus.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueStatuss.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueStatuss.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issueStatuss.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<issue-statuses type="array"> - - <issue-status> - <id type="integer">1</id> - <is-closed type="boolean">false</is-closed> - <is-default type="boolean">true</is-default> - <name>Nouveau</name> - <position type="integer">1</position> - <default-done-ratio>10</default-done-ratio> - </issue-status> - -</issue-statuses> \ No newline at end of file Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issues.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issues.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/issues.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,55 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<issues type="array"> - <issue> - <assigned-to-id type="integer" nil="true"></assigned-to-id> - <author-id type="integer">5</author-id> - <category-id type="integer">2</category-id> - <done-ratio type="integer">0</done-ratio> - <lock-version type="integer">7</lock-version> - <priority-id type="integer">4</priority-id> - <project-id type="integer">1</project-id> - <status-id type="integer">3</status-id> - <tracker-id type="integer">1</tracker-id> - <fixed-version-id type="integer">1</fixed-version-id> - <id type="integer">3</id> - <parent-id type="integer">3</parent-id> - <root-id type="integer">3</root-id> - - <estimated-hours type="float" nil="true"></estimated-hours> - - <created-on type="datetime">2009-09-04T20:11:52+02:00</created-on> - <updated-on type="datetime">2009-09-06T00:37:40+02:00</updated-on> - <due-date type="date" nil="true"></due-date> - <start-date type="date">2009-09-04</start-date> - - <description>avec une description !</description> - <subject>yes!</subject> - <lft type="integer">1</lft> - <rgt type="integer">2</rgt> - </issue> -</issues> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/news.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/newss.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/news.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/news.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<news type="array"> + <news> + <author-id type="integer">4</author-id> + <comments-count type="integer">0</comments-count> + <created-on type="datetime">2009-09-17T21:50:26+02:00</created-on> + <description>description</description> + <id type="integer">85</id> + <project-id type="integer">1</project-id> + <summary>summary</summary> + <title>title</title> + </news> +</news> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/news.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/newss.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/newss.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/newss.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<news type="array"> - <news> - <author-id type="integer">4</author-id> - <comments-count type="integer">0</comments-count> - <created-on type="datetime">2009-09-17T21:50:26+02:00</created-on> - <description>description</description> - <id type="integer">85</id> - <project-id type="integer">1</project-id> - <summary>summary</summary> - <title>title</title> - </news> -</news> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/project.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/projects.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/project.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/project.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<projects type="array"> + <project> + <created-on type="datetime">2009-09-04T18:11:54+02:00</created-on> + <updated-on type="datetime">2009-09-04T18:11:54+02:00</updated-on> + + <description></description> + <homepage></homepage> + <identifier>one</identifier> + <name>one</name> + + <id type="integer">1</id> + <parent-id type="integer" nil="true"></parent-id> + <lft type="integer">1</lft> + <rgt type="integer">2</rgt> + <projects-count type="integer">0</projects-count> + <status type="integer">1</status> + + <is-public type="boolean">true</is-public> + </project> +</projects> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/project.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/projects.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/projects.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/projects.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<projects type="array"> - <project> - <created-on type="datetime">2009-09-04T18:11:54+02:00</created-on> - <updated-on type="datetime">2009-09-04T18:11:54+02:00</updated-on> - - <description></description> - <homepage></homepage> - <identifier>one</identifier> - <name>one</name> - - <id type="integer">1</id> - <parent-id type="integer" nil="true"></parent-id> - <lft type="integer">1</lft> - <rgt type="integer">2</rgt> - <projects-count type="integer">0</projects-count> - <status type="integer">1</status> - - <is-public type="boolean">true</is-public> - </project> -</projects> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/timeEntry.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/timeEntrys.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/timeEntry.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/timeEntry.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<time-entries type="array"> + <time-entry> + <activity-id type="integer">8</activity-id> + <comments>Test</comments> + <created-on type="datetime">2009-12-31T23:02:02+01:00</created-on> + <hours type="float">1.0</hours> + <id type="integer">1</id> + <issue-id type="integer">6</issue-id> + <project-id type="integer">1</project-id> + <spent-on type="date">2009-12-31</spent-on> + <tmonth type="integer">12</tmonth> + <tweek type="integer">53</tweek> + <tyear type="integer">2009</tyear> + <updated-on type="datetime">2009-12-31T23:02:02+01:00</updated-on> + <user-id type="integer">4</user-id> + </time-entry> +</time-entries> \ No newline at end of file Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/timeEntry.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/timeEntrys.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/timeEntrys.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/timeEntrys.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<time-entries type="array"> - <time-entry> - <activity-id type="integer">8</activity-id> - <comments>Test</comments> - <created-on type="datetime">2009-12-31T23:02:02+01:00</created-on> - <hours type="float">1.0</hours> - <id type="integer">1</id> - <issue-id type="integer">6</issue-id> - <project-id type="integer">1</project-id> - <spent-on type="date">2009-12-31</spent-on> - <tmonth type="integer">12</tmonth> - <tweek type="integer">53</tweek> - <tyear type="integer">2009</tyear> - <updated-on type="datetime">2009-12-31T23:02:02+01:00</updated-on> - <user-id type="integer">4</user-id> - </time-entry> -</time-entries> \ No newline at end of file Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/tracker.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/trackers.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/tracker.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/tracker.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<trackers type="array"> + <tracker> + <id type="integer">1</id> + <project-id type="NilClass">1</project-id> + <tracker-id type="NilClass">1</tracker-id> + <position type="integer">1</position> + + <is-in-chlog type="boolean">true</is-in-chlog> + <is-in-roadmap type="boolean">false</is-in-roadmap> + + <name>Anomalie</name> + </tracker> +</trackers> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/tracker.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/trackers.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/trackers.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/trackers.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<trackers type="array"> - <tracker> - <id type="integer">1</id> - <project-id type="NilClass">1</project-id> - <tracker-id type="NilClass">1</tracker-id> - <position type="integer">1</position> - - <is-in-chlog type="boolean">true</is-in-chlog> - <is-in-roadmap type="boolean">false</is-in-roadmap> - - <name>Anomalie</name> - </tracker> -</trackers> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/user.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/users.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/user.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/user.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<users type="array"> + <user> + <created-on type="datetime">2009-09-04T17:24:46+02:00</created-on> + <updated-on type="datetime">2009-09-06T01:23:59+02:00</updated-on> + <last-login-on type="datetime">2009-09-06T01:23:59+02:00</last-login-on> + + <id type="integer">1</id> + <auth-source-id type="integer" nil="true"></auth-source-id> + <member-id type="NilClass">5</member-id> + <role-id type="NilClass">3</role-id> + <status type="integer">1</status> + + <admin type="boolean">true</admin> + <mail-notification type="boolean">true</mail-notification> + + <firstname>Redmine</firstname> + <hashed-password>70c881d4a26984ddce795f6f71817c9cf4480e79</hashed-password> + <language>fr</language> + <lastname>Admin</lastname> + <login>admin</login> + <mail>dummy@codelutin.com</mail> + <identity-url>yo</identity-url> + </user> +</users> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/user.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/users.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/users.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/users.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<users type="array"> - <user> - <created-on type="datetime">2009-09-04T17:24:46+02:00</created-on> - <updated-on type="datetime">2009-09-06T01:23:59+02:00</updated-on> - <last-login-on type="datetime">2009-09-06T01:23:59+02:00</last-login-on> - - <id type="integer">1</id> - <auth-source-id type="integer" nil="true"></auth-source-id> - <member-id type="NilClass">5</member-id> - <role-id type="NilClass">3</role-id> - <status type="integer">1</status> - - <admin type="boolean">true</admin> - <mail-notification type="boolean">true</mail-notification> - - <firstname>Redmine</firstname> - <hashed-password>70c881d4a26984ddce795f6f71817c9cf4480e79</hashed-password> - <language>fr</language> - <lastname>Admin</lastname> - <login>admin</login> - <mail>dummy@codelutin.com</mail> - <identity-url>yo</identity-url> - </user> -</users> Copied: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/version.xml (from rev 249, trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/versions.xml) =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/version.xml (rev 0) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/version.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + JRedmine :: Client + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<versions type="array"> + <version> + <created-on type="datetime">2009-09-06T02:47:39+02:00</created-on> + <description>yo</description> + <effective-date type="date" nil="true"></effective-date> + <id type="integer">9</id> + <name>yor</name> + <project-id type="integer">1</project-id> + <updated-on type="datetime">2009-09-06T02:50:49+02:00</updated-on> + <wiki-page-title nil="true"></wiki-page-title> + <sharing>none</sharing> + <status>open</status> + </version> +</versions> Property changes on: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/version.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Deleted: trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/versions.xml =================================================================== --- trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/versions.xml 2012-03-25 14:34:56 UTC (rev 251) +++ trunk/jredmine-client/src/test/resources/org/nuiton/jredmine/model/io/xpp3/array-singleton/versions.xml 2012-03-25 14:37:37 UTC (rev 252) @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - JRedmine :: Client - - $Id$ - $HeadURL$ - %% - Copyright (C) 2009 - 2010 Tony Chemit, CodeLutin - %% - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Lesser Public License for more details. - - You should have received a copy of the GNU General Lesser Public - License along with this program. If not, see - <http://www.gnu.org/licenses/lgpl-3.0.html>. - #L% - --> - -<versions type="array"> - <version> - <created-on type="datetime">2009-09-06T02:47:39+02:00</created-on> - <description>yo</description> - <effective-date type="date" nil="true"></effective-date> - <id type="integer">9</id> - <name>yor</name> - <project-id type="integer">1</project-id> - <updated-on type="datetime">2009-09-06T02:50:49+02:00</updated-on> - <wiki-page-title nil="true"></wiki-page-title> - <sharing>none</sharing> - <status>open</status> - </version> -</versions>
participants (1)
-
tchemit@users.nuiton.org