Skip to content

Commit

Permalink
Add test to parse logs generated by Xcode 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
giginet committed Apr 5, 2017
1 parent 321fdfd commit b87ebfa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions spec/derived_data_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@
expect(derived_data.executions).not_to be_empty
end
end

context 'with logs generated by Xcode 8.3+' do
let(:derived_data) { DerivedData.by_product_name('Xcode83', derived_data_root) }

describe '#flag_enabled?' do
it 'returns true' do
expect(derived_data.flag_enabled?).to be_truthy
end
end

describe '#executions' do
it 'returns array' do
expect(derived_data.executions).not_to be_empty
end
end
end
end

context 'with invalid log' do
Expand Down
Binary file not shown.

0 comments on commit b87ebfa

Please sign in to comment.