Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c2a5b04d
Commit
c2a5b04d
authored
Feb 11, 2013
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Reduce the size of the console buffer to speed up the tests.
parent
d8c71dd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
console.c
dlls/kernel32/tests/console.c
+12
-0
No files found.
dlls/kernel32/tests/console.c
View file @
c2a5b04d
...
...
@@ -2608,6 +2608,18 @@ START_TEST(console)
ok
(
ret
,
"Getting sb info
\n
"
);
if
(
!
ret
)
return
;
/* Reduce the size of the buffer to the visible area plus 3 lines to speed
* up the tests.
*/
trace
(
"Visible area: %dx%d - %dx%d Buffer size: %dx%d
\n
"
,
sbi
.
srWindow
.
Left
,
sbi
.
srWindow
.
Top
,
sbi
.
srWindow
.
Right
,
sbi
.
srWindow
.
Bottom
,
sbi
.
dwSize
.
X
,
sbi
.
dwSize
.
Y
);
sbi
.
dwSize
.
Y
=
size
=
(
sbi
.
srWindow
.
Bottom
+
1
)
+
3
;
ret
=
SetConsoleScreenBufferSize
(
hConOut
,
sbi
.
dwSize
);
ok
(
ret
,
"Setting sb info
\n
"
);
ret
=
GetConsoleScreenBufferInfo
(
hConOut
,
&
sbi
);
ok
(
ret
,
"Getting sb info
\n
"
);
ok
(
sbi
.
dwSize
.
Y
==
size
,
"Unexpected buffer size: %d instead of %d
\n
"
,
sbi
.
dwSize
.
Y
,
size
);
if
(
!
ret
)
return
;
/* Non interactive tests */
testCursor
(
hConOut
,
sbi
.
dwSize
);
/* test parameters (FIXME: test functionality) */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment