Permalink
Browse files

tests adapted for Redmine 1.3

  • Loading branch information...
1 parent 8f68cc1 commit 34f9d18bdade566f9771334a9379d5b482099091 Sven Krzyzak committed Jan 15, 2012
@@ -35,6 +35,10 @@ def is1dot1?
def is1dot2?
MylynConnector::Version.redmine_release.to_f == 1.2 || MylynConnector::Version.redmine_release.to_f == 1.1 && Redmine::VERSION.to_s.include?('devel')
end
+
+ def isMin1dot2?
+ MylynConnector::Version.redmine_release.to_f >= 1.2 || MylynConnector::Version.redmine_release.to_f == 1.1 && Redmine::VERSION.to_s.include?('devel')
+ end
end
end
@@ -0,0 +1,159 @@
+---
+custom_fields_001:
+ name: Database
+ min_length: 0
+ regexp: ""
+ is_for_all: true
+ is_filter: true
+ type: IssueCustomField
+ max_length: 0
+ possible_values:
+ - MySQL
+ - PostgreSQL
+ - Oracle
+ id: 1
+ is_required: false
+ field_format: list
+ default_value: ""
+ editable: true
+custom_fields_002:
+ name: Searchable field
+ min_length: 1
+ regexp: ""
+ is_for_all: true
+ type: IssueCustomField
+ max_length: 100
+ possible_values: ""
+ id: 2
+ is_required: false
+ field_format: string
+ searchable: true
+ default_value: "Default string"
+ editable: true
+custom_fields_003:
+ name: Development status
+ min_length: 0
+ regexp: ""
+ is_for_all: false
+ is_filter: true
+ type: ProjectCustomField
+ max_length: 0
+ possible_values:
+ - Stable
+ - Beta
+ - Alpha
+ - Planning
+ id: 3
+ is_required: true
+ field_format: list
+ default_value: ""
+ editable: true
+custom_fields_004:
+ name: Phone number
+ min_length: 0
+ regexp: ""
+ is_for_all: false
+ type: UserCustomField
+ max_length: 0
+ possible_values: ""
+ id: 4
+ is_required: false
+ field_format: string
+ default_value: ""
+ editable: true
+custom_fields_005:
+ name: Money
+ min_length: 0
+ regexp: ""
+ is_for_all: false
+ type: UserCustomField
+ max_length: 0
+ possible_values: ""
+ id: 5
+ is_required: false
+ field_format: float
+ default_value: ""
+ editable: true
+custom_fields_006:
+ name: Float field
+ min_length: 0
+ regexp: ""
+ is_for_all: true
+ type: IssueCustomField
+ max_length: 0
+ possible_values: ""
+ id: 6
+ is_required: false
+ field_format: float
+ default_value: ""
+ editable: true
+custom_fields_007:
+ name: Billable
+ min_length: 0
+ regexp: ""
+ is_for_all: false
+ is_filter: true
+ type: TimeEntryActivityCustomField
+ max_length: 0
+ possible_values: ""
+ id: 7
+ is_required: false
+ field_format: bool
+ default_value: ""
+ editable: true
+custom_fields_008:
+ name: Custom date
+ min_length: 0
+ regexp: ""
+ is_for_all: true
+ is_filter: false
+ type: IssueCustomField
+ max_length: 0
+ possible_values: ""
+ id: 8
+ is_required: false
+ field_format: date
+ default_value: ""
+ editable: true
+custom_fields_009:
+ name: Project 1 cf
+ min_length: 0
+ regexp: ""
+ is_for_all: false
+ is_filter: true
+ type: IssueCustomField
+ max_length: 0
+ possible_values: ""
+ id: 9
+ is_required: false
+ field_format: date
+ default_value: ""
+ editable: true
+custom_fields_010:
+ name: Overtime
+ min_length: 0
+ regexp: ""
+ is_for_all: false
+ is_filter: false
+ type: TimeEntryCustomField
+ max_length: 0
+ possible_values: ""
+ id: 10
+ is_required: false
+ field_format: bool
+ default_value: 0
+ editable: true
+custom_fields_011:
+ name: Custom date
+ min_length: 0
+ regexp: ""
+ is_for_all: false
+ is_filter: false
+ type: TimeEntryCustomField
+ max_length: 0
+ possible_values: ""
+ id: 11
+ is_required: false
+ field_format: date
+ default_value: ""
+ editable: true
@@ -0,0 +1,109 @@
+---
+custom_values_006:
+ customized_type: Issue
+ custom_field_id: 2
+ customized_id: 3
+ id: 6
+ value: "125"
+custom_values_007:
+ customized_type: Project
+ custom_field_id: 3
+ customized_id: 1
+ id: 7
+ value: Stable
+custom_values_001:
+ customized_type: Principal
+ custom_field_id: 4
+ customized_id: 3
+ id: 1
+ value: ""
+custom_values_002:
+ customized_type: Principal
+ custom_field_id: 4
+ customized_id: 4
+ id: 2
+ value: 01 23 45 67 89
+custom_values_003:
+ customized_type: Principal
+ custom_field_id: 4
+ customized_id: 2
+ id: 3
+ value: "01 42 50 00 00"
+custom_values_004:
+ customized_type: Issue
+ custom_field_id: 2
+ customized_id: 1
+ id: 4
+ value: "125"
+custom_values_005:
+ customized_type: Issue
+ custom_field_id: 2
+ customized_id: 2
+ id: 5
+ value: ""
+custom_values_008:
+ customized_type: Issue
+ custom_field_id: 1
+ customized_id: 3
+ id: 8
+ value: "MySQL"
+custom_values_009:
+ customized_type: Issue
+ custom_field_id: 2
+ customized_id: 7
+ id: 9
+ value: "this is a stringforcustomfield search"
+custom_values_010:
+ customized_type: Issue
+ custom_field_id: 6
+ customized_id: 1
+ id: 10
+ value: "2.1"
+custom_values_011:
+ customized_type: Issue
+ custom_field_id: 6
+ customized_id: 2
+ id: 11
+ value: "2.05"
+custom_values_012:
+ customized_type: Issue
+ custom_field_id: 6
+ customized_id: 3
+ id: 12
+ value: "11.65"
+custom_values_013:
+ customized_type: Issue
+ custom_field_id: 6
+ customized_id: 7
+ id: 13
+ value: ""
+custom_values_014:
+ customized_type: Issue
+ custom_field_id: 6
+ customized_id: 5
+ id: 14
+ value: "-7.6"
+custom_values_015:
+ customized_type: Enumeration
+ custom_field_id: 7
+ customized_id: 10
+ id: 15
+ value: true
+custom_values_016:
+ customized_type: Enumeration
+ custom_field_id: 7
+ customized_id: 11
+ id: 16
+ value: '1'
+custom_values_017:
+ customized_type: Issue
+ custom_field_id: 8
+ customized_id: 1
+ id: 17
+ value: '2009-12-01'
+custom_values_018:
+ customized_type: TimeEntry
+ custom_field_id: 10
+ customized_id: 2
+ id: 18
+ value: '2009-12-01'
@@ -0,0 +1,111 @@
+---
+enumerations_001:
+ name: Uncategorized
+ id: 1
+ type: DocumentCategory
+ active: true
+enumerations_002:
+ name: User documentation
+ id: 2
+ type: DocumentCategory
+ active: true
+enumerations_003:
+ name: Technical documentation
+ id: 3
+ type: DocumentCategory
+ active: true
+enumerations_004:
+ name: Low
+ id: 4
+ type: IssuePriority
+ active: true
+ position: 1
+enumerations_005:
+ name: Normal
+ id: 5
+ type: IssuePriority
+ is_default: true
+ active: true
+ position: 2
+enumerations_006:
+ name: High
+ id: 6
+ type: IssuePriority
+ active: true
+ position: 3
+enumerations_007:
+ name: Urgent
+ id: 7
+ type: IssuePriority
+ active: true
+ position: 4
+enumerations_008:
+ name: Immediate
+ id: 8
+ type: IssuePriority
+ active: true
+ position: 5
+enumerations_009:
+ name: Design
+ id: 9
+ type: TimeEntryActivity
+ position: 1
+ active: true
+enumerations_010:
+ name: Development
+ id: 10
+ type: TimeEntryActivity
+ position: 2
+ is_default: true
+ active: true
+enumerations_011:
+ name: QA
+ id: 11
+ type: TimeEntryActivity
+ position: 3
+ active: true
+enumerations_012:
+ name: Default Enumeration
+ id: 12
+ type: Enumeration
+ is_default: true
+ active: true
+enumerations_013:
+ name: Another Enumeration
+ id: 13
+ type: Enumeration
+ active: true
+enumerations_014:
+ name: Inactive Activity
+ id: 14
+ type: TimeEntryActivity
+ position: 4
+ active: false
+enumerations_015:
+ name: Inactive Priority
+ id: 15
+ type: IssuePriority
+ position: 6
+ active: false
+enumerations_016:
+ name: Inactive Document Category
+ id: 16
+ type: DocumentCategory
+ active: false
+enumerations_999:
+ name: Development
+ id: 999
+ type: TimeEntryActivity
+ position: 5
+ is_default: false
+ active: true
+ project_id: 1
+ parent_id: 10
+enumerations_1000:
+ name: QA
+ id: 1000
+ type: TimeEntryActivity
+ position: 3
+ active: false
+ project_id: 1
+ parent_id: 11
Oops, something went wrong.

0 comments on commit 34f9d18

Please sign in to comment.