Sha256: 70fef4c9bf4152c6c9b9ba1274ce5884747e05caf571470d6c3d163d9166ac82

Contents?: true

Size: 689 Bytes

Versions: 1

Compression:

Stored size: 689 Bytes

Contents

require File.join( File.dirname(__FILE__), "..", "test_helper")

# ralbum
require 'ralbum/photo_tree/rubyphoto_photo_tree'

class TestPhotoTreeBuilder < Test::Unit::TestCase

  def test_simple
    builder = PhotoTreeBuilder.new
    photo_tree = builder.build_photo_tree_from_directory( $PHOTOTREE_DIRECTORY )
    assert_equal(  3, photo_tree.nr_children )
    assert_equal( 16, photo_tree.nr_leaves )
    
    builder.read_meta_info_old_format( photo_tree )
    # photo_tree_item = photo_tree.find( "r_photo01.jpg" )
    # assert_equal( "descrizione di r_photo01.jpg", photo_tree_item.description )
    # assert_equal( "100", photoTreeItem["iso_speed"])  
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gf-ralbum-0.0.5 test/ralbum/photo_tree/tc_rubyalbum_photo_tree.rb