Sha256: 510d9041f873446ee611e60c649a34aae8a911e2a70cea7b06f10b443566b416
Contents?: true
Size: 719 Bytes
Versions: 32
Compression:
Stored size: 719 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionVml02 < Test::Unit::TestCase def setup setup_dir_var end def teardown File.delete(@xlsx) if File.exist?(@xlsx) end def test_vml02 @xlsx = 'vml02.xlsx' workbook = WriteXLSX.new(@xlsx) worksheet = workbook.add_worksheet worksheet.write('A1', 'Foo') worksheet.write_comment('B2', 'Some text') worksheet.write_comment('D17', 'More text') # Set the author to match the target XLSX file. worksheet.comments_author = 'John' worksheet.insert_button('C4', {}) worksheet.insert_button('E8', {}) workbook.close compare_xlsx_for_regression(File.join(@regression_output, @xlsx), @xlsx) end end
Version data entries
32 entries across 32 versions & 1 rubygems