Sha256: 29e7478debe90ee27045578d10294017712b6f0da512b2c595ffbe5a5f61b80a

Contents?: true

Size: 1023 Bytes

Versions: 15

Compression:

Stored size: 1023 Bytes

Contents

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

class TestRegressionHyperlink03 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_hyperlink03
    @xlsx = 'hyperlink03.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet1 = workbook.add_worksheet
    worksheet2 = workbook.add_worksheet

    # Turn off default URL format for testing.
    worksheet1.instance_variable_set(:@default_url_format, nil)
    worksheet2.instance_variable_set(:@default_url_format, nil)

    worksheet1.write_url('A1', 'http://www.perl.org/')
    worksheet1.write_url('D4', 'http://www.perl.org/')
    worksheet1.write_url('A8', 'http://www.perl.org/')
    worksheet1.write_url('B6', 'http://www.cpan.org/')
    worksheet1.write_url('F12', 'http://www.cpan.org/')

    worksheet2.write_url('C2', 'http://www.google.com/')
    worksheet2.write_url('C5', 'http://www.cpan.org/')
    worksheet2.write_url('C7', 'http://www.perl.org/')

    workbook.close
    compare_for_regression
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
write_xlsx-1.09.4 test/regression/test_hyperlink03.rb
write_xlsx-1.09.3 test/regression/test_hyperlink03.rb
write_xlsx-1.09.2 test/regression/test_hyperlink03.rb
write_xlsx-1.09.1 test/regression/test_hyperlink03.rb
write_xlsx-1.09.0 test/regression/test_hyperlink03.rb
write_xlsx-1.08.2 test/regression/test_hyperlink03.rb
write_xlsx-1.08.1 test/regression/test_hyperlink03.rb
write_xlsx-1.08.0 test/regression/test_hyperlink03.rb
write_xlsx-1.07.0 test/regression/test_hyperlink03.rb
write_xlsx-1.04.0 test/regression/test_hyperlink03.rb
write_xlsx-1.02.0 test/regression/test_hyperlink03.rb
write_xlsx-1.01.0 test/regression/test_hyperlink03.rb
write_xlsx-1.00.0 test/regression/test_hyperlink03.rb
write_xlsx-0.99.0 test/regression/test_hyperlink03.rb
write_xlsx-0.97.0 test/regression/test_hyperlink03.rb