Sha256: 557c281c5557ecce73d05bd786cef8bf5ee69ebeccb6b01b66024a63078e3aa0

Contents?: true

Size: 853 Bytes

Versions: 7

Compression:

Stored size: 853 Bytes

Contents

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

class TestRegressionHyperlink03 < Test::Unit::TestCase
  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

    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

7 entries across 7 versions & 1 rubygems

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