History log of /haiku/src/tests/kits/interface/InterfaceKitTestAddon.cpp
Revision Date Author Comments
# 4628b6de 11-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 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>


# 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 invalid controls (just check
it looks right)


# 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 applied anyway, so I'm stopping my investigation for now.
Feel free to complete this with more test cases.


# 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 29-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 22-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 11-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


# 48ea56bf32984ba755591526b1f2a8ab82bc9eff 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 invalid controls (just check
it looks right)


# 5fae0bc1a2f74ccf56b7e3958149317d6af2cccc 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 applied anyway, so I'm stopping my investigation for now.
Feel free to complete this with more test cases.


# fed22d2a04e4a1811e8e8acb7d255cc61718e642 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


# da9a5ee7be610919e3d1770d53843323a4c5cbea 29-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


# a2cae290693de0352b55909c55c7f1189b92b951 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


# e2aecd091e2154801119765ee48ef8c570e4302b 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


# bc0ea15dd4aa76ac7b62ea7e5b075bd0bc6b8c29 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


# f7081347c543247e2c28d08eb3b036ad49b42e22 22-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


# 46231bee2baef5d992ebe497b1f1ac9c54ae667b 11-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


# ea3cd4c64095f79d9a179adfe24a2784c330ec70 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