Changeset 224 for trunk/src/tcl/tcl_test.tcl
- Timestamp:
- Feb 28, 2006, 9:52:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tcl/tcl_test.tcl
r207 r224 77 77 78 78 puts "COPYING BETWEEN LIBS" 79 $libObj1 copy "input.test" from libObj2 "input.(max)"79 $libObj1 copy "input.test" from $libObj2 "input.(max)" 80 80 puts [$libObj1 xml] 81 82 puts "COPYING BETWEEN LIBS - this should fail" 83 set err [$libObj1 copy "input.test" from put "input.(max)"] 84 puts $err 81 85 82 86 #puts [$libObj xml] 83 87 puts "isvalid test1: " 84 #puts [Rappture::library isvalid $libObj1]88 puts [Rappture::library isvalid $libObj1] 85 89 puts "isvalid test2: " 86 # puts [Rappture::library isvalid library0] 90 puts [Rappture::library isvalid library0] 91 puts "isvalid test3: " 92 puts [Rappture::library isvalid puts] 93 puts "testing lib0's xml" 94 puts [library0 xml] 95 96 puts "TEST ISA" 97 puts "$libObj1 isa ::Rappture::LibraryObj : " 98 puts [$libObj1 isa ::Rappture::LibraryObj] 99 puts "$libObj1 isa ::Rappture::Table : " 100 puts [$libObj1 isa ::Rappture::Table] 101 #puts "$libObj1 isa ::Rappture::LibraryObj ::Rappture::LibraryObj: " 102 #puts [$libObj1 isa ::Rappture::LibraryObj ::Rappture::LibraryObj] 103 104 puts "TEST DIFF" 105 puts "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" 108 puts "$libObj1 diff $libObj2" 109 puts [$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.