Sha256: 15825c425efe0ea02cd87539888f5c8063a70e127f250b9131f9f23d771b76e6

Contents?: true

Size: 592 Bytes

Versions: 7

Compression:

Stored size: 592 Bytes

Contents

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

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

  def teardown
    @tempfile.close(true)
  end

  def test_hyperlink06
    @xlsx = 'hyperlink06.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.write_url('A1',  'external:C:\Temp\foo.xlsx')
    worksheet.write_url('A3',  'external:C:\Temp\foo.xlsx#Sheet1!A1')
    worksheet.write_url('A5',  'external:C:\Temp\foo.xlsx#Sheet1!A1', 'External', nil, 'Tip')

    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_hyperlink06.rb
write_xlsx-0.85.11 test/regression/test_hyperlink06.rb
write_xlsx-0.85.10 test/regression/test_hyperlink06.rb
write_xlsx-0.85.9 test/regression/test_hyperlink06.rb
write_xlsx-0.85.8 test/regression/test_hyperlink06.rb
write_xlsx-0.85.7 test/regression/test_hyperlink06.rb
write_xlsx-0.85.6 test/regression/test_hyperlink06.rb