[haiku-commits] haiku: hrev52354 - src/tests/add-ons/kernel/debugger

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 18 Sep 2018 16:02:58 -0400 (EDT)

hrev52354 adds 1 changeset to branch 'master'
old head: 2d9270e859566b5f02f4c60f5dcd80039a10e646
new head: 055a35e632c4f65a757047dc9ba3ad9a59f7187c
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=055a35e632c4+%5E2d9270e85956

----------------------------------------------------------------------------

055a35e632c4: tests: Add some more things to DemangleTest.
  
  Change-Id: I6999aad2cc64650bddb7ba575536efc8878abcf2
  Reviewed-on: https://review.haiku-os.org/583
  Reviewed-by: waddlesplash <waddlesplash@xxxxxxxxx>

                              [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev52354
Commit:      055a35e632c4f65a757047dc9ba3ad9a59f7187c
URL:         https://git.haiku-os.org/haiku/commit/?id=055a35e632c4
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Tue Sep 18 03:49:17 2018 UTC
Committer:   waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Tue Sep 18 20:02:55 2018 UTC

----------------------------------------------------------------------------

1 file changed, 13 insertions(+), 1 deletion(-)
src/tests/add-ons/kernel/debugger/DemangleTest.cpp | 14 +++++++++++++-

----------------------------------------------------------------------------

diff --git a/src/tests/add-ons/kernel/debugger/DemangleTest.cpp 
b/src/tests/add-ons/kernel/debugger/DemangleTest.cpp
index 8150194331..7d82f65fc3 100644
--- a/src/tests/add-ons/kernel/debugger/DemangleTest.cpp
+++ b/src/tests/add-ons/kernel/debugger/DemangleTest.cpp
@@ -28,17 +28,29 @@ DemangleTest::~DemangleTest()
 void
 DemangleTest::RunGCC2Tests()
 {
-       TEST("", "()");
+       // Long and complex things
        TEST("BPrivate::IconCache::SyncDraw(BPrivate::Model*, BView*, BPoint, 
BPrivate::IconDrawMode, icon_size, void*, void*)",
                
"SyncDraw__Q28BPrivate9IconCachePQ28BPrivate5ModelP5BViewG6BPointQ28BPrivate12IconDrawMode9icon_sizePFP5BViewG6BPointP7BBitmapPv_vPv");
+       TEST("BPrivate::BContainerWindow::UpdateMenu(BMenu*, 
BPrivate::BContainerWindow::UpdateMenuContext)",
+               
"UpdateMenu__Q28BPrivate16BContainerWindowP5BMenuQ38BPrivate16BContainerWindow17UpdateMenuContext");
+       TEST("icu_57::BreakIterator::registerInstance(icu_57::BreakIterator*, 
icu_57::Locale&, UBreakIteratorType, UErrorCode&)",
+               
"registerInstance__Q26icu_5713BreakIteratorPQ26icu_5713BreakIteratorRCQ26icu_576Locale18UBreakIteratorTypeR10UErrorCode");
+
+       // Previously caused crashes
+       TEST("SetTo__Q282_GLOBAL_", "SetTo__Q282_GLOBAL_");
 }
 
 
 void
 DemangleTest::RunGCC3PTests()
 {
+       // Long and complex things
        TEST("BPrivate::IconCache::SyncDraw(BPrivate::Model*, BView*, BPoint, 
BPrivate::IconDrawMode, icon_size, void (*)(BView*, BPoint, BBitmap*, void*), 
void*)",
                
"_ZN8BPrivate9IconCache8SyncDrawEPNS_5ModelEP5BView6BPointNS_12IconDrawModeE9icon_sizePFvS4_S5_P7BBitmapPvESA_");
+       TEST("BPrivate::BContainerWindow::UpdateMenu(BMenu*, 
BPrivate::BContainerWindow::UpdateMenuContext)",
+               
"_ZN8BPrivate16BContainerWindow10UpdateMenuEP5BMenuNS0_17UpdateMenuContextE");
+       TEST("icu_57::BreakIterator::registerInstance(icu_57::BreakIterator*, 
icu_57::Locale const&, UBreakIteratorType, UErrorCode&)",
+               
"_ZN6icu_5713BreakIterator16registerInstanceEPS0_RKNS_6LocaleE18UBreakIteratorTypeR10UErrorCode");
 }
 #undef TEST
 


Other related posts:

  • » [haiku-commits] haiku: hrev52354 - src/tests/add-ons/kernel/debugger - waddlesplash