#
c68590fd |
|
18-Sep-2022 |
Niels Sascha Reedijk <niels.reedijk@gmail.com> |
Tests: fix unittest build and include BMemoryRingIO shared tests When change 2966 was merged as hrev56269, it was decided to first introduce this in libshared instead of libbe.so. The test was moved accordingly, but not all the code in the unittests was properly updated. This change completes it. Note that the test currently crashes, so it needs more investigation whether that is a test issue or a BMemoryRingIO issue. Fixing this is beyond the scope of this change. Change-Id: I0f61d1dd013da904b3e4545db11fefa9da2da0a2 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5676 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
85a6d653 |
|
30-Jan-2021 |
Niels Sascha Reedijk <niels.reedijk@gmail.com> |
libnetservices.a: fix unit test builds after hrev54923
|
#
027d6086 |
|
29-Oct-2020 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot: LRU Cache for Icons Only keep a fixed number of icons in memory at once. Completes To #15370 Change-Id: I23e3a4fa7559894034f45afb3b536910ea037078 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3367 Reviewed-by: Rene Gollent <rene@gollent.com>
|
#
a7536efa |
|
19-Aug-2019 |
Simon South <simon@simonsouth.net> |
BKeymap: Add unit tests and fix issues Add a preliminary set of unit tests for BKeymap and fix these issues: * BKeymap::operator=() caused a crash by allocating a zero-byte array to hold the other object's character data. * BKeymap::SetToCurrent() and SetToDefault() leaked memory by not freeing an existing character array before allocating a new one. * BKeymap::SetToCurrent() incorrectly determined the size of the current keymap's character array, causing GetChars() to fail whenever the current keymap was loaded. Now SetToCurrent() uses the _get_key_map() private function, which accurately reports the size of the array. This commit also updates a Jamfile by replacing a use of "UseHeaders" to include private header files with the more concise and expressive "UsePrivateHeaders". Change-Id: If6f71b209f1bd395be57835c4dd89f0e3f845994 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1724 Reviewed-by: Ryan Leavengood <leavengood@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
|
#
1f6b57a5 |
|
13-May-2017 |
Andrew Lindesay <apl@lindesay.co.nz> |
Implementation of JSON Streaming Parser This change will introduce a streaming parser capability to Haiku. The existing functionality of writing the JSON data to a BMessage in-memory model is retained. The new parser implements a SAX-style listener based interface where the listener accepts parse events. Unit tests have been supplied for the JSON parser as well.
|
#
9f218b4e |
|
20-Mar-2015 |
Axel Dörfler <axeld@pinc-software.de> |
DriverSettingsMessageAdapter: fixed various issues. * _AddParameter() would ignore all BMessage::Add*() errors. * _ConvertFromDriverParameter() would ignore most intermediate error, but would fail badly over some incorrect settings file. * Also, it checked for the parent value for each parameter, which doesn't make any sense, but would add as often as there are parameters -- which also may be none, in which case the value got ignored.
|
#
9581e328 |
|
02-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Move geolocation test to the shared kit tests. * Fix the build.
|
#
afd5ec11 |
|
30-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Add setters to BDate and BCalendarView * BDate setters don't perform any validation, use with caution. * BCalendarView setters do perform validation checks, and will adjust the day so it fits the requested month or year. * Add tests for the BCalendarView setters.
|
#
71171a7d |
|
22-Feb-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Added unit tests for NaturalCompare() that currently fail.
|
#
9f218b4e2d05bab14e78a4e6932e73e27c529b57 |
|
20-Mar-2015 |
Axel Dörfler <axeld@pinc-software.de> |
DriverSettingsMessageAdapter: fixed various issues. * _AddParameter() would ignore all BMessage::Add*() errors. * _ConvertFromDriverParameter() would ignore most intermediate error, but would fail badly over some incorrect settings file. * Also, it checked for the parent value for each parameter, which doesn't make any sense, but would add as often as there are parameters -- which also may be none, in which case the value got ignored.
|
#
9581e328bd4b1c88e60054fc6c9a1e61ef107dc2 |
|
02-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Move geolocation test to the shared kit tests. * Fix the build.
|
#
afd5ec11d21761cb3f1edcd80e5206347fe975c5 |
|
30-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Add setters to BDate and BCalendarView * BDate setters don't perform any validation, use with caution. * BCalendarView setters do perform validation checks, and will adjust the day so it fits the requested month or year. * Add tests for the BCalendarView setters.
|
#
71171a7d8c65354c131944d9e37d5010054d228c |
|
22-Feb-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Added unit tests for NaturalCompare() that currently fail.
|