History log of /haiku/src/tests/kits/interface/InterfaceKitTestAddon.cpp (Results 1 – 12 of 12)
Revision Date Author Comments
# 4628b6de 12-Sep-2018 Augustin Cavalier <waddlesplash@gmail.com>

tests/interface: Add a (currently crashing) BMenu "concurrency" test.

Adds/removes items as rapidly as possible from the menu from the
main thread while the menu is open. That part works. Then it de

tests/interface: Add a (currently crashing) BMenu "concurrency" test.

Adds/removes items as rapidly as possible from the menu from the
main thread while the menu is open. That part works. Then it deletes
all of the BMenuItems and then closes the menu, which crashes,
as the BMenuItems do not notify the BMenu they are being deleted.

I tested this on BeOS and it seems that this model crashes there also
(looking through the code comments, it seems there are a number of
testcases found throughout the years like this.) Removing the items
before deleting them indeed fixes the crashes on both BeOS
and Haiku.

Change-Id: I8624f966bdc17030ddca05b97aa57b518ab420c5
Reviewed-on: https://review.haiku-os.org/540
Reviewed-by: waddlesplash <waddlesplash@gmail.com>

show more ...


# 58a62dd6 08-Aug-2018 Adrien Destugues <pulkomandy@pulkomandy.tk>

Add unit test for BOutlineListView.

Change-Id: Icad7e7c659141fae1bb6e52571f001c9f561a446
Reviewed-on: https://review.haiku-os.org/451
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 48ea56bf 01-Oct-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Interface Kit tests: add test for BTextControl.

* Only tests very basic functionality, and size of the class, which must
not change for BeOS compatibility.
* Also add "manual" test for disabled and

Interface Kit tests: add test for BTextControl.

* Only tests very basic functionality, and size of the class, which must
not change for BeOS compatibility.
* Also add "manual" test for disabled and invalid controls (just check
it looks right)

show more ...


# 5fae0bc1 19-Sep-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Add some cppunit-based tests for BTextView.

Note that this does not reproduce #8447. I could not get more precise
details from involved people about how to reproduce this, and the patch
was already

Add some cppunit-based tests for BTextView.

Note that this does not reproduce #8447. I could not get more precise
details from involved people about how to reproduce this, and the patch
was already applied anyway, so I'm stopping my investigation for now.
Feel free to complete this with more test cases.

show more ...


# fed22d2a 25-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Fixed build; the width buffer test seems to be gone.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39633 a95241bf-73f2-0310-859d-f6bbb57e9c96


# da9a5ee7 30-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Added BAlert tests to Interface Kit tests.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11149 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a2cae290 26-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Added test for GraphicsDefs.h constants.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8182 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e2aecd09 18-Mar-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Some tests for _BWidthBuffer_


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7017 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc0ea15d 06-Aug-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

On behalf of Jeremy Rand, BRegion tests


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4235 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f7081347 23-Nov-2002 jrand <jrand@nowhere.fake>

Adding the first tests for BPolygon.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2067 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 46231bee 12-Sep-2002 jrand <jrand@nowhere.fake>

Adding first test for BDeskbar.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1017 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ea3cd4c6 01-Sep-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Unit test add-on for the interface kit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@953 a95241bf-73f2-0310-859d-f6bbb57e9c96