Sha256: 34388e5935b404f7be399449e2f6ca83fc63da6573dde1f9b69a7720def8b1bb

Contents?: true

Size: 600 Bytes

Versions: 7

Compression:

Stored size: 600 Bytes

Contents

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

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

  def teardown
    @tempfile.close(true)
  end

  def test_comment12
    @xlsx = 'comment12.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.set_row(0, 21)
    worksheet.set_column('B:B', 10)

    worksheet.write('A1', 'Foo')
    worksheet.write_comment('A1', 'Some text')

    # Set the author to match the target XLSX file.
    worksheet.comments_author = 'John'

    workbook.close
    compare_for_regression
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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