Sha256: 3a5557d4a1c8b822770209adb13a16be350099b24f5387f6ba93697ad827f1a1

Contents?: true

Size: 959 Bytes

Versions: 7

Compression:

Stored size: 959 Bytes

Contents

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

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

  def teardown
    @tempfile.close(true)
  end

  def test_header_image04
    @xlsx = 'header_image04.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.set_footer(
                         '&L&G&C&G&R&G',
                         nil,
                         {
                           :image_left   => 'test/regression/images/red.jpg',
                           :image_center => 'test/regression/images/blue.jpg',
                           :image_right  => 'test/regression/images/yellow.jpg'
                         }
                         )

    workbook.close
    compare_for_regression(
                                [],
                                {'xl/worksheets/sheet1.xml' => [ '<pageMargins', '<pageSetup' ]}
                                )
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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