Ignore:
Timestamp:
Feb 28, 2006, 9:52:16 AM (19 years ago)
Author:
dkearney
Message:

added support for following functions in rappture core
diff
value
entities
added support for diff function in tcl bindings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tcl/tcl_test.tcl

    r207 r224  
    7777
    7878puts "COPYING BETWEEN LIBS"
    79 $libObj1 copy "input.test" from libObj2 "input.(max)"
     79$libObj1 copy "input.test" from $libObj2 "input.(max)"
    8080puts [$libObj1 xml]
     81
     82puts "COPYING BETWEEN LIBS - this should fail"
     83set err [$libObj1 copy "input.test" from put "input.(max)"]
     84puts $err
    8185
    8286#puts [$libObj xml]
    8387puts "isvalid test1: "
    84 # puts [Rappture::library isvalid $libObj1]
     88puts [Rappture::library isvalid $libObj1]
    8589puts "isvalid test2: "
    86 # puts [Rappture::library isvalid library0]
     90puts [Rappture::library isvalid library0]
     91puts "isvalid test3: "
     92puts [Rappture::library isvalid puts]
     93puts "testing lib0's xml"
     94puts [library0 xml]
     95
     96puts "TEST ISA"
     97puts "$libObj1 isa ::Rappture::LibraryObj : "
     98puts [$libObj1 isa ::Rappture::LibraryObj]
     99puts "$libObj1 isa ::Rappture::Table : "
     100puts [$libObj1 isa ::Rappture::Table]
     101#puts "$libObj1 isa ::Rappture::LibraryObj ::Rappture::LibraryObj: "
     102#puts [$libObj1 isa ::Rappture::LibraryObj ::Rappture::LibraryObj]
     103
     104puts "TEST DIFF"
     105puts "changing the value of input.number(min) to 4"
     106$libObj1 put input.number(min).current "4"
     107$libObj2 put input.number(jdjd).current "4"
     108puts "$libObj1 diff $libObj2"
     109puts [$libObj1 diff $libObj2]
     110#foreach {op vpath oldval newval} [$libObj1 diff $libObj2] {
     111#    puts "op
     112
Note: See TracChangeset for help on using the changeset viewer.