Sha256: 34d9a34242f319c1e202a4e625fdd6c962eea9f5bc19a8037f45444fdc10d7c8

Contents?: true

Size: 643 Bytes

Versions: 11

Compression:

Stored size: 643 Bytes

Contents

require 'tc_helper.rb'


class TestSheetPr < Test::Unit::TestCase

  def setup
    worksheet = Axlsx::Package.new.workbook.add_worksheet
    @options = { 
      :sync_horizontal => false,
      :sync_vertical => false,
      :transtion_evaluation => true,
      :transition_entry => true,
      :published => false,
      :filter_mode => true,
      :enable_format_conditions_calculation => false,
      :code_name => '007',
      :sync_ref => 'foo'
    }
    @sheet_pr = Axlsx::SheetPr.new(worksheet, @options)
  end

  def test_initialization
    @options.each do |key, value|
      assert_equal value, @sheet_pr.send(key)
    end
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
caxlsx-2.0.2 test/workbook/worksheet/tc_sheet_pr.rb
axlsx-2.1.0.pre test/workbook/worksheet/tc_sheet_pr.rb
l_axlsx-2.0.1 test/workbook/worksheet/tc_sheet_pr.rb
axlsx-2.0.1 test/workbook/worksheet/tc_sheet_pr.rb
axlsx-2.0.0 test/workbook/worksheet/tc_sheet_pr.rb
axlsx-1.3.6 test/workbook/worksheet/tc_sheet_pr.rb
axlsx-1.3.5 test/workbook/worksheet/tc_sheet_pr.rb
axlsx-1.3.4 test/workbook/worksheet/tc_sheet_pr.rb
axlsx-1.3.3 test/workbook/worksheet/tc_sheet_pr.rb
axlsx-1.3.2 test/workbook/worksheet/tc_sheet_pr.rb
axlsx-1.3.1 test/workbook/worksheet/tc_sheet_pr.rb