Tk Source Code

Artifact [124cb62a]
Login

Artifact 124cb62adae242c0c46675d946456b1f893b8c2d25f677992d9817eccc5d7562:

Attachment "treeview_test-b602b6d4e9.out" to ticket [b174f151] added by erikleunissen 2026-08-28 17:54:03.
Tests running in interp:  D:/TclTk-b602b6d4e9/bin/tclsh91.exe
Tests located in:  D:/tk-fossil/tests/ttk
Tests running in:  D:/tk-fossil/tests/ttk
Temporary files stored in D:/tk-fossil/tests/ttk
Test files sourced into current interpreter
Running tests that match:  *
Skipping test files that match:  l.*.test
Only running test files that match:  treeview.test
Tests began at 2026-08-28 19:13:53 CEST
treeview.test


==== Yview-10.6 Moveto min FAILED
==== Contents of test case:

	.tv yview moveto 0.0
	update
	.tv yview
    
---- Result was:
0.0 0.41379310344827586
---- Result should have been (glob matching):
0.0 0.44*
==== Yview-10.6 FAILED



==== Yview-10.7 Moveto mid FAILED
==== Contents of test case:

	.tv yview moveto 0.5
	update
	.tv yview
    
---- Result was:
0.5172413793103449 0.9310344827586207
---- Result should have been (glob matching):
0.51* 0.96*
==== Yview-10.7 FAILED



==== Yview-10.8 Moveto max FAILED
==== Contents of test case:

	.tv yview moveto 1.0
	update
	.tv yview
    
---- Result was:
0.5862068965517241 1.0
---- Result should have been (glob matching):
0.55* 1.0
==== Yview-10.8 FAILED



==== Yview-10.9 Moveto before first FAILED
==== Contents of test case:

	.tv yview moveto -1.0
	update
	.tv yview
    
---- Result was:
0.0 0.41379310344827586
---- Result should have been (glob matching):
0.0 0.44*
==== Yview-10.9 FAILED



==== Yview-10.10 Moveto after last FAILED
==== Contents of test case:

	.tv yview moveto 2.0
	update
	.tv yview
    
---- Result was:
0.5862068965517241 1.0
---- Result should have been (glob matching):
0.55* 1.0
==== Yview-10.10 FAILED



==== Yview-10.14 Scroll pages FAILED
==== Contents of test case:

	.tv yview scroll 1 pages
	update
	.tv yview
    
---- Result was:
0.5862068965517241 1.0
---- Result should have been (glob matching):
0.55* 1.0
==== Yview-10.14 FAILED



==== Yview-10.15 Scroll units FAILED
==== Contents of test case:

	.tv yview scroll -1 units
	update
	.tv yview
    
---- Result was:
0.5517241379310345 0.9655172413793104
---- Result should have been (glob matching):
0.51* 0.96*
==== Yview-10.15 FAILED



==== Drag_and_Drop-14.17 Drag First Column FAILED
==== Contents of test case:

	set res [list [.tv column #0 -width]]
	.tv drag #0 -100
	update
	lappend res [.tv column #0 -width]
	set res
    
---- Result was:
195 20
---- Result should have been (exact matching):
196 20
==== Drag_and_Drop-14.17 FAILED



==== Drag_and_Drop-14.18 Drag Last Column FAILED
==== Contents of test case:

	set res [list [.tv column #3 -width]]
	.tv drag #3 1000
	update
	lappend res [.tv column #3 -width]
	set res
    
---- Result was:
195 415
---- Result should have been (exact matching):
197 412
==== Drag_and_Drop-14.18 FAILED



==== Drag_and_Drop-14.19 Shrink Column In Stretch Mode Adds Space to Next Column FAILED
==== Contents of test case:

	set res [list [.tv column #2 -width]]
	.tv drag #1 300
	update
	lappend res [.tv column #2 -width]
	set res
    
---- Result was:
200 280
---- Result should have been (exact matching):
200 285
==== Drag_and_Drop-14.19 FAILED



==== Drag_and_Drop-14.20 Expand Column In Stretch Mode Reduces Space in Next Column FAILED
==== Contents of test case:

	set res [list [.tv column #2 -width]]
	.tv drag #1 500
	update
	lappend res [.tv column #2 -width]
	set res
    
---- Result was:
280 80
---- Result should have been (exact matching):
285 85
==== Drag_and_Drop-14.20 FAILED



==== Bbox-15.21 Title Columns > Number of Columns FAILED
==== Contents of test case:

	set res [list [.tv yview]]
	.tv yview 250
	lappend res [.tv yview]
	return $res
    
---- Result was:
{0.0 0.4230769230769231} {0.5769230769230769 1.0}
---- Result should have been (glob matching):
{0.0 0.46*} {0.53* 1.0}
==== Bbox-15.21 FAILED



==== Identify-89.16 Items FAILED
==== Contents of test case:

	list [.tv identify item 100 25] [.tv identify item 300 45] [.tv identify item 500 65] [.tv identify item 700 85]
    
---- Result was:
{} red pink maroon
---- Result should have been (exact matching):
red pink maroon darkred
==== Identify-89.16 FAILED



==== Identify-89.28 Element Padding FAILED
==== Contents of test case:

	list [.tv identify element 50 30] [.tv identify element 70 50] [.tv identify element 90 70] [.tv identify element 110 90]
    
---- Result was:
padding text text padding
---- Result should have been (exact matching):
padding padding padding padding
==== Identify-89.28 FAILED


Tests ended at 2026-08-28 19:14:04 CEST
all.tcl:	Total	1542	Passed	1527	Skipped	1	Failed	14
Sourced 1 Test Files.
Files with failing tests: treeview.test
Number of tests skipped for each constraint:
	1	creates_tag