#-- encoding: UTF-8 #-- copyright # OpenProject is an open source project management software. # Copyright (C) 2012-2021 the OpenProject GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: # Copyright (C) 2006-2013 Jean-Philippe Lang # Copyright (C) 2010-2013 the ChiliProject Team # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # 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 Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # See COPYRIGHT and LICENSE files for more details. #++ FactoryBot.define do factory :bcf_issue, class: '::Bim::Bcf::Issue' do markup do <<-MARKUP
IfcPile_01.ifc 2014-10-27T16:27:27Z ../IfcPile_01.ifc
https://bim--it.net Maximum Content High 0 Structural IT Development 2015-06-21T12:00:00Z mike@example.com 2015-06-21T14:22:47Z michelle@example.com andy@example.com This is a topic with all information present. Construction start JsonElement.json http://json-schema.org https://github.com/BuildingSMART/BCF-XML GitHub BCF Specification ../markup.xsd Markup.xsd Schema 2015-08-31T12:40:17Z mike@example.com This is an unmodified topic at the uppermost hierarchical level. All times in the XML are marked as UTC times. 2015-08-31T14:00:01Z mike@example.com This comment was a reply to the first comment in BCF v2.0. This is a no longer supported functionality and therefore is to be treated as a regular comment in v2.1. 2015-08-31T13:07:11Z mike@example.com This comment again is in the highest hierarchy level. It references a viewpoint. 2015-08-31T15:42:58Z mike@example.com This comment contained some spllng errs. Hopefully, the modifier did catch them all. 2015-08-31T16:07:11Z mike@example.com Viewpoint_8dc86298-9737-40b4-a448-98a9e953293a.bcfv Snapshot_8dc86298-9737-40b4-a448-98a9e953293a.png Viewpoint_21dd4807-e9af-439e-a980-04d913a6b1ce.bcfv Snapshot_21dd4807-e9af-439e-a980-04d913a6b1ce.png Viewpoint_81daa431-bf01-4a49-80a2-1ab07c177717.bcfv Snapshot_81daa431-bf01-4a49-80a2-1ab07c177717.png
MARKUP end stage { nil } labels { [] } sequence(:index) factory :bcf_issue_with_viewpoint do after(:create) do |issue| create(:bcf_viewpoint, issue: issue) end end factory :bcf_issue_with_comment do after(:create) do |issue| viewpoint = create(:bcf_viewpoint, issue: issue) create(:bcf_comment, issue: issue, viewpoint: viewpoint) end end end end