Commit graph

26 commits

Author SHA1 Message Date
rfm
08f6f9444f 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
fredkiefer
1f3a02d1e7 * 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
fredkiefer
96d460cd9e * Source/NSBitmapImageRep.m (-copyWithZone): Changed the call
from -copyWithZone: to -mutableCopyWithZone:. 
        * Tests/gui/NSBitmapImageRep/testcopy.m: Test for this change
        Patch by Josh Freeman <tedge>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38301 72102866-910b-0410-8b05-ffd578937521
2015-01-23 17:16:08 +00:00
ivucica
62cb8821c0 Don't fail if 'gnustep-tests --clean' fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37832 72102866-910b-0410-8b05-ffd578937521
2014-05-04 21:15:28 +00:00
fredkiefer
e45644b3fd * Tests/gui/NSImage/basic.m: Add basic tests for NSImage.
* Tests/gui/NSCell/basic.m: Extend basic tests for NSCell.
        * Source/NSImage.m: Try to correct keyed encoding/decoding. Add
        incomplete isEqual: method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36384 72102866-910b-0410-8b05-ffd578937521
2013-03-18 22:50:11 +00:00
fredkiefer
87d76137a9 * Tests/gui/NSSavePanel/setDelegate_reload.m: Rewrite to remove
use of @defs().
        Base on idea by Wolfgang Lux  <wolfgang.lux@gmail.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36313 72102866-910b-0410-8b05-ffd578937521
2013-03-08 17:00:02 +00:00
fredkiefer
afe3773e01 * Source/NSBezierPath.m: Implement keyed coding and complete
keyed decoding.
Patch by Christopher Armstrong <carmstrong@fastmail.com.au>
* Source/NSBezierPath.m: Rewrote -elementAtIndex:associatedPoints:
to return a point for NSClosePathBezierPathElement. And adjust
all callers to make use of that point. Complete non-keyed coding and
decoding.
* Tests/gui/NSBezierPath/basic.m: Add basic tests for NSBezierPath.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36267 72102866-910b-0410-8b05-ffd578937521
2013-03-04 16:51:10 +00:00
wlux
821bf0c0cb Add new test to verify proper deallocation of text network elements.
NB This test is unlikely to yield correct results with a garbage
collected runtime; volunteers?


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35179 72102866-910b-0410-8b05-ffd578937521
2012-06-05 12:11:41 +00:00
fredkiefer
d9fec79646 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
ericwa
e52455a31f * 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
fredkiefer
f70becfe6e * Tests/gui/NSSavePanel/setDelegate_reload.m: Switch the save panel to
not show hidden files and remove ".svn" from the expected
  results. This file was never present in an exported directory
  and will no longer exist with SVN 1.7.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34100 72102866-910b-0410-8b05-ffd578937521
2011-10-31 22:17:30 +00:00
fredkiefer
2d03d2829f 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
fredkiefer
03508b6e82 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
ericwa
5b8220ee1b * 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
ericwa
bb04734fe1 * 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
ericwa
1f27e0ce61 * 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
ericwa
139d309a73 * 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
fredkiefer
1a31d7e65a * 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
ericwa
962464cf14 * 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
nicola
350b3ad574 Minor tidyups to tests makefiles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32810 72102866-910b-0410-8b05-ffd578937521
2011-04-08 18:40:44 +00:00
fredkiefer
77911cf06c Clean up test code and add a new basic test.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32726 72102866-910b-0410-8b05-ffd578937521
2011-03-28 16:26:47 +00:00
rfm
d2465c5ef3 use gnustep-make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32401 72102866-910b-0410-8b05-ffd578937521
2011-02-28 10:13:35 +00:00
rfm
69e0d9946d 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
rfm
39bd73cec6 Move NSAffineTransform tests to base
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32308 72102866-910b-0410-8b05-ffd578937521
2011-02-22 23:08:59 +00:00
rfm
8534760c5d delete obsolete makefile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32303 72102866-910b-0410-8b05-ffd578937521
2011-02-22 18:50:23 +00:00
rfm
7aac32819c 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