Sha256: c3172f42982a536ec707b78212745bfe0a7856a773e6677d0ef9fbadd9e3dda4
Contents?: true
Size: 802 Bytes
Versions: 10
Compression:
Stored size: 802 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionHeaderImage05 < Test::Unit::TestCase def setup setup_dir_var end def teardown File.delete(@xlsx) if File.exist?(@xlsx) end def test_header_image05 @xlsx = 'header_image05.xlsx' workbook = WriteXLSX.new(@xlsx) worksheet = workbook.add_worksheet worksheet.set_header('&L&G', nil, { :image_left => 'test/regression/images/red.jpg' }) worksheet.set_footer('&L&G', nil, { :image_left => 'test/regression/images/blue.jpg' }) workbook.close compare_xlsx_for_regression(File.join(@regression_output, @xlsx), @xlsx, [], {'xl/worksheets/sheet1.xml' => [ '<pageMargins', '<pageSetup' ]} ) end end
Version data entries
10 entries across 10 versions & 1 rubygems