Commit graph

16 commits

Author SHA1 Message Date
rfm
3a3a8c47c9 Fix a few testcase leaks 2025-01-01 15:03:52 +00:00
Fred Kiefer
3fcd2e704f Fix typo in test comment 2022-06-19 16:49:47 +02:00
Richard Frith-MacDonald
1b8dd0b36b Regression test improvments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39755 72102866-910b-0410-8b05-ffd578937521
2016-05-13 15:41:27 +00:00
Fred Kiefer
59fa666263 * Tests/gui/NSView/NSView_autoresize_and_rounding.m: Add tests
for centerScanRect: with flipped view.
        * Source/NSView.m (-centerScanRect:): Change to get the failed
        tests to pass.
        * Source/GSThemeTools.m (-drawRoundBezel:withColor:): Make round
        bezel look a bit nicer.
        * Source/NSButtonCell.m (-drawImage:withFrame:inView:): Use
        centerScanRect: instead of similar code.
        * Source/NSCell.m: Use imageRectForBounds: and
        titleRectForBounds: in drawInteriorWithFrame:inView:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38929 72102866-910b-0410-8b05-ffd578937521
2015-08-25 21:33:04 +00:00
Fred Kiefer
a1d2d901ad Mark all failing tests as dashed hopes to prepare for Jenkins.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35018 72102866-910b-0410-8b05-ffd578937521
2012-03-28 16:48:54 +00:00
Eric Wasylishen
880978575f * Tests/gui/NSView/NSView_autoresize_and_rounding.m: Add
centerScanRect test


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34103 72102866-910b-0410-8b05-ffd578937521
2011-11-01 17:37:26 +00:00
Fred Kiefer
1043d6ecce Split scroll test in two, as only the visibleRect method wont work for
views without window.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33614 72102866-910b-0410-8b05-ffd578937521
2011-07-23 14:21:28 +00:00
Fred Kiefer
c100baf6b4 Lots of minimal changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33613 72102866-910b-0410-8b05-ffd578937521
2011-07-23 13:43:33 +00:00
Eric Wasylishen
db1ce8c22c * Tests/gui/NSView/NSView_autoresize_and_rounding.m: Tweak the test
so it doesn't try to set the window size to {0,0}


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33489 72102866-910b-0410-8b05-ffd578937521
2011-07-08 19:26:55 +00:00
Eric Wasylishen
ceb2f73a53 * Tests/gui/NSView/NSView_autoresize_and_rounding.m: Add some more
test cases for when the view's width is 0


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33488 72102866-910b-0410-8b05-ffd578937521
2011-07-08 18:21:43 +00:00
Eric Wasylishen
81508c17ff * Tests/gui/NSView/NSView_autoresize_and_rounding.m:
More autoresizing test cases


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33472 72102866-910b-0410-8b05-ffd578937521
2011-07-07 05:05:37 +00:00
Eric Wasylishen
f4d911f81f * Tests/gui/NSView/NSView_autoresize_and_rounding.m:
Add a test for NSView autoresizing and rounding


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33471 72102866-910b-0410-8b05-ffd578937521
2011-07-06 20:16:50 +00:00
Fred Kiefer
87c05a3ba1 * Source/GSDragView.m (-init): Set the window background colour to clear.
* Headers/AppKit/NSAffineTransform.h,
* Headers/AppKit/NSView.h,
* Source/NSAffineTransform.m,
* Source/NSPrintOperation.m,
* Source/NSView.m: Use CGFlaot instead of float.
* Tests/gui/NSView/NSView_bounds_scale.m: New test file that currently fails.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33398 72102866-910b-0410-8b05-ffd578937521
2011-06-28 20:59:24 +00:00
Eric Wasylishen
c241019926 * Tests/gui/NSView/NSView_frame_bounds.m: Add some more tests
of setBoundsSize:. They are currently failing (but pass on
OS X).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32990 72102866-910b-0410-8b05-ffd578937521
2011-05-06 01:01:21 +00:00
Richard Frith-MacDonald
e813542d97 add TestInfo markers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32336 72102866-910b-0410-8b05-ffd578937521
2011-02-23 18:36:57 +00:00
Richard Frith-MacDonald
251b1edd94 Import testsuite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32225 72102866-910b-0410-8b05-ffd578937521
2011-02-19 16:57:57 +00:00