Sha256: 5f35add4774a41c0f38a093aded88ffded6678d11bbd970f86af3f339e9ac19c

Contents?: true

Size: 866 Bytes

Versions: 7

Compression:

Stored size: 866 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'

class TestRegressionExcel2003Style05 < Test::Unit::TestCase
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_excel2003_style05
    @xlsx = 'excel2003_style05.xlsx'
    workbook    = WriteXLSX.new(@io, :excel2003_style => true)
    worksheet   = workbook.add_worksheet

    worksheet.insert_image('B3', 'test/regression/images/red.jpg')

    workbook.close
    compare_for_regression(
                                [],
                                {
                                  'xl/drawings/drawing1.xml' =>
                                  [
                                   '<xdr:cNvPr', '<a:picLocks', '<a:srcRect />', '<xdr:spPr', '<a:noFill />'
                                  ]
                                }
                                )
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
write_xlsx-0.86.0 test/regression/test_excel2003_style05.rb
write_xlsx-0.85.11 test/regression/test_excel2003_style05.rb
write_xlsx-0.85.10 test/regression/test_excel2003_style05.rb
write_xlsx-0.85.9 test/regression/test_excel2003_style05.rb
write_xlsx-0.85.8 test/regression/test_excel2003_style05.rb
write_xlsx-0.85.7 test/regression/test_excel2003_style05.rb
write_xlsx-0.85.6 test/regression/test_excel2003_style05.rb