Lines Matching full:is
64 is(Title, $newt, 'correctly set Title');
66 is(winTitle, $newt, 'winTitle changed its value too');
68 is(Title, $t, 'correctly set Title back');
69 is(winTitle, $wint, 'winTitle restored its value too');
73 is(Title, $newt, 'session title correctly set');
74 is(winTitle, $newt, 'winTitle correctly set');
76 is(Title, $t, 'session title correctly reset');
77 is(winTitle, $wint, 'winTitle correctly reset');
81 is(Title, $t, 'session title remained the same');
82 is(winTitle, $newt, 'winTitle changed value');
84 is(Title, $t, 'session title remained the same');
85 is(winTitle, $wint, 'winTitle restored value');
89 is(Title, $newt, 'session title correctly set');
90 is(winTitle, $wint, 'winTitle has unchanged value');
92 is(Title, $t, 'session title correctly set');
93 is(winTitle, $wint, 'winTitle has unchanged value');
97 is(Title, $newt, 'correctly set Title again');
98 is(winTitle, $newt, 'winTitle changed its value too again');
100 is(Title, $t, 'correctly set Title back');
101 is(winTitle, $wint, 'winTitle restored its value too again');
118 # Interestingly, Desktop is active on the switch list, but the
119 # switch list is not acting on keyboard events.
131 ok( (not $ahwnd and not $^E), 'desktop is not active');
133 ok($fhwnd, 'there is a focus window');
134 is($fhwnd, $dtop, 'which is the desktop');
142 # If we do not morph, then when the focus is in another VIO frame,
145 # is to switch to it via the switch list
147 ok($ahwnd, 'there is an active window');
149 ok($fhwnd, 'there is a focus window');
150 is($hwnd, $ahwnd, 'the active window is the session owner');
151 is($fhwnd, $c_subhwnd, 'the focus window is the client of the session owner');
161 ok( (not $ahwnd and not $^E), 'desktop is not active again');
163 ok($fhwnd, 'there is a focus window');
164 is($fhwnd, $dtop, 'which is the desktop');
173 ok($ahwnd, 'there is an active window');
175 ok($fhwnd, 'there is a focus window');
176 is($hwnd, $ahwnd, 'the active window is the session owner');
183 # is($fhwnd, $ahwnd);
184 # is($a_subhwnd, $c_subhwnd);
185 is($fhwnd, $c_subhwnd, 'the focus window is the client of the session owner');
195 is(scalar @sw, 1, 'exactly one session with this title');
198 is($sw->{owner_pid}, $spid, 'session has a correct pid');
201 is sidOf($spid), $sw->{owner_sid}, 'we know sid of the session';
210 ok $ahwnd, 'there is an active window';
211 is $ahwnd, $k_hwnd, 'after focusing the active window is the owner_hwnd';
213 ok $fhwnd, 'there is a focus window';
216 is($fhwnd, $ahwnd, 'the focus window = the active window');
224 'kid is at front');
225 # is((hWindowPos $k_hwnd)->{behind}, 3, 'kid is at front');
238 ok($first_non_TOPMOST, 'There is non-TOPMOST window');
242 is ($first_non_TOPMOST, $k_hwnd, 'kid is the first in z-order enumeration');
247 # This does not work, the result is the handle of "Window List"
248 # is((hWindowPos $k_hwnd)->{behind}, 4, 'kis is at back');
261 # Apparently, the 'Desktop' window is still behind us;
262 # Note that this window is *not* what is returned by DesktopWindow
265 is ($list[-1], $k_hwnd, 'kid is the last in z-order enumeration');
270 is $list[-2], $k_hwnd, 'kid is the last but one in ChildWindows';
277 'kid is at front again');
290 is($pkid, $pkid1, 'kid\'s window is governed by the same process as our (PMSHELL:1)');
291 is($tkid, $tkid1, 'likewise for threads');
292 is $pkid, ppidOf($spid), 'the governor is the parent of the kid session';
319 #is $w_at, $c_sub_khwnd, 'it is the kids client';
320 #is $w_at, $k_hwnd, 'it is the kids frame';
321 # Apparently, this result is accidental only...
322 # is $w_at, $hwnd, 'it is our frame - is on top, but no focus';
323 #is $w_at, $c_subhwnd, 'it is our client';
327 # Apparently, this result is accidental only...
328 # is $w_at, $c_subhwnd, 'it is our client';
330 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
331 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
333 ok ((not IsWindowShowing $k_hwnd), 'kid is not showing');
335 is $^E+0, 0x1001, 'error is 0x1001';
344 ok IsWindowShowing $k_hwnd, 'kid is showing';
345 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
346 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
349 ok IsWindowShowing $k_hwnd, 'kid is showing';
350 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
351 ok !IsWindowEnabled $k_hwnd, 'kid is flaged as not enabled';
353 ok IsWindowShowing $k_hwnd, 'kid is showing';
354 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
355 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
357 ok !IsWindowShowing $k_hwnd, 'kid is not showing';
358 ok !IsWindowVisible $k_hwnd, 'kid is flaged as not visible';
359 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
361 ok IsWindowShowing $k_hwnd, 'kid is showing';
362 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
363 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
364 ok( ($fl & 0x1800), 'window is maximized or restored'); # SWP_MAXIMIZE SWP_RESTORE
365 ok( ($fl & 0x1800) != 0x1800, 'window is not maximized AND restored'); # SWP_MAXIMIZE SWP_RESTORE
370 ok !IsWindowShowing $k_hwnd, 'kid is not showing';
371 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
372 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
373 is 0x1c00 & SWP_flags $k_hwnd, 0x400, 'kid is minimized'; # SWP_MINIMIZE
378 ok IsWindowShowing $k_hwnd, 'kid is showing';
379 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
380 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
381 is 0x1c00 & SWP_flags $k_hwnd, 0x1000, 'kid is restored'; # SWP_RESTORE
386 ok IsWindowShowing $k_hwnd, 'kid is showing';
387 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
388 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
389 is 0x1c00 & SWP_flags $k_hwnd, 0x800, 'kid is maximized'; # SWP_MAXIMIZE
394 ok !IsWindowShowing $k_hwnd, 'kid is not showing';
395 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
396 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
397 is 0x1c00 & SWP_flags $k_hwnd, 0x400, 'kid is minimized'; # SWP_MINIMIZE
402 ok IsWindowShowing $k_hwnd, 'kid is showing';
403 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
404 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
405 is 0x1c00 & SWP_flags $k_hwnd, 0x1000, 'kid is restored'; # SWP_RESTORE
410 ok !IsWindowShowing $k_hwnd, 'kid is not showing';
411 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
412 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
413 is 0x1c00 & SWP_flags $k_hwnd, 0x400, 'kid is minimized'; # SWP_MINIMIZE
419 ok IsWindowShowing $k_hwnd, 'kid is showing';
420 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
421 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
432 ok !IsWindowShowing $k_hwnd, 'kid is not showing';
433 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
434 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
435 is 0x1c00 & SWP_flags $k_hwnd, 0x400, 'kid is minimized'; # SWP_MINIMIZE
438 ok IsWindowShowing $k_hwnd, 'kid is showing';
439 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
440 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
441 is 0x1c00 & SWP_flags $k_hwnd, 0x1000, 'kid is restored'; # SWP_RESTORE
444 ok IsWindowShowing $k_hwnd, 'kid is showing';
445 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
446 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
447 is 0x1c00 & SWP_flags $k_hwnd, 0x800, 'kid is maximized'; # SWP_MAXIMIZE
450 ok !IsWindowShowing $k_hwnd, 'kid is not showing';
451 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
452 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
453 is 0x1c00 & SWP_flags $k_hwnd, 0x400, 'kid is minimized'; # SWP_MINIMIZE
456 ok IsWindowShowing $k_hwnd, 'kid is showing';
457 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
458 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
459 is 0x1c00 & SWP_flags $k_hwnd, 0x1000, 'kid is restored'; # SWP_RESTORE
462 ok !IsWindowShowing $k_hwnd, 'kid is not showing';
463 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
464 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
465 is 0x1c00 & SWP_flags $k_hwnd, 0x400, 'kid is minimized'; # SWP_MINIMIZE
469 ok IsWindowShowing $k_hwnd, 'kid is showing';
470 ok IsWindowVisible $k_hwnd, 'kid is flaged as visible';
471 ok IsWindowEnabled $k_hwnd, 'kid is flaged as enabled';
487 # If we do not morph, then when the focus is in another VIO frame,
490 # is to switch to it via the switch list
492 ok($ahwnd, 'there is an active window');
494 ok($fhwnd, 'there is a focus window');
495 is($hwnd, $ahwnd, 'the active window is the session owner');
496 is($fhwnd, $c_subhwnd, 'the focus window is the client of the session owner');
505 ok($he->{visible}, 'session switch is visible');# 4? Assume nobody manipulated it...
518 is_deeply($nnhe, $nhe, 'it is modified as expected');
519 is($nnhe->{visible}, 0, 'it is not visible');
527 ok($nnhe->{visible}, 'it is visible');