aboutsummaryrefslogtreecommitdiff
path: root/tests (unfollow)
AgeCommit message (Collapse)Author
2023-08-10Added some handy operators to Bu::BlobBuilderMike Buland
2023-08-09Used fixed seeds where random is used in tests.Mike Buland
It was so stupid to use random numbers in tests, generators yes, but random? the test won't fail the same way twice in a row, defeating the entire point of the test!
2023-08-09Updating the .gitignore for unit test status files.Mike Buland
2023-08-09rununits now tracks status and has options.Mike Buland
When we encounter unexpected test results it logs them to a status file, subsequent runs without other options will only re-run the tests that had unexpected results, updating the status file as you go. When all tests are returning expected results again then the status file is deleted and the next run will process all tests again. Of course, the --all parameter will force it to run all tests and ignore the current status.
2023-08-09Added a temporory String -> Blob constructor.Mike Buland
Just to ease the transition.
2023-08-08Unit test augmentations and harness.Mike Buland
Added some features to the mkunit program, including cleanup routine support. Added reporting modes for the UnitSuite class, and it can now generate machine readable reports. Added a new program, rununits that runs all unit tests and generates a synopsis of what you really care about at the end, issues!
2023-08-04Removed the shared unit test for strings.Mike Buland
Strings are no longer shared.
2023-08-04Woo! Unit Tests! Found some bugs!Mike Buland
2023-08-01Updated copyright date.Mike Buland
2023-08-01Fixed issues around disconnected sockets.Mike Buland
We were bailing out when sockets closed, that was silly.
2023-07-31Seems to work.Mike Buland
We have a last ditch effort. It turns out that the SocketTcp class automatically closes sockets when it realizes they're at the end, it doesn't wait for us to call close. That could be a problem, we may need something in between, but at least we can detect it and clean it up.
2023-07-31Issue found with recycled fds.Mike Buland
We don't always clean up instantly, but the system is reusing ids before we're ready.
2023-07-31Debugging yet, but the new server works.Mike Buland
It at least seems to!
2023-07-31It actually works. Now to make it fast fast.Mike Buland
2023-07-29Many bugfixes. It's almost working!Mike Buland
2023-07-28Completely redesigned Server and Client.Mike Buland
Like, seriously, they're almost completely different.
2023-07-26Added a profiler and investageted Server.Mike Buland
2023-07-24Added swap to array.Mike Buland
2023-07-21No debugging in git.Mike Buland
2023-07-21Array has delete by index now.Mike Buland
2023-07-18Had a read lock where a write lock was better.Mike Buland
2023-07-11Fixed cachebase memory leak.Mike Buland
2023-07-11Tweaked/improved tests.Mike Buland
2023-07-10String is now not shared.Mike Buland
2023-07-01Fixed potential memory corruption/race condition.Mike Buland
2023-04-24Fixed infinite recursion constructing UtfStringMike Buland
2023-04-24More tweaks to make things easier to transition.Mike Buland
2023-04-24Blob related changes throughout.Mike Buland
2023-04-24Additions to blob/utfstring for json.Mike Buland
2023-02-16We now parse \u<hex> in json strings.Mike Buland
How we got away with it for this long is amazing.
2022-10-03Added insertNull and appendNull to Bu::Json.Mike Buland
Just helpers to make using json easier and easier.
2022-09-29Replaced deprecated thread_yield with sched_yield.Mike Buland
2022-09-29The TEMP_FAILURE_RETRY macro should be everywhere.Mike Buland
2022-04-18ArchiveBase has getProperty and setProperty.Mike Buland
I kind of want to re-engineer the entire archive system...The root should be able to track a stateful stack of containers such as arrays and dictionaries as well as support non-binary reads and writes in a more robust way. It also still bothers me that it's the only thing in the system with base in the base class name. I should just change it...it's going to impact many programs, though.
2022-04-18Stopped using deprecated gen function for Uuid.Mike Buland
2022-04-15Augments to Blob and BlobBuilder.Mike Buland
You can construct a BlobBuilder from a Blob now, and Blob has an extra null byte of padding just in case you use a Blob to store a string.
2021-10-04Oops, forgot to put the new function in the class.Mike Buland
2021-10-04Added handler to check/modify http headers.Mike Buland
This is an extra call that happens during the http handshake that allows the implementation to set additional headers, modify existing headers, and cancel the whole connection if desired.
2021-09-26Tweaked number output.Mike Buland
It uses an integer formatting when there is no fractional component to the number, and a fixed point format when there is.
2021-08-18Updating issues discovered using g++ 10Mike Buland
2021-08-18String was missing assignment?Mike Buland
2021-07-30Fixed uninitializsed bug in Bu::Array::setSize.Mike Buland
When setCapacity was used before setSize some elements were not being properly initialized in the array.
2021-06-08Fixed inculde path in exception source.Mike Buland
2020-10-01Fixed bug in CachePtr pointer dereference.Mike Buland
I guess I never used it before, it wouldn't even compile, it wasn't dereferencing the returned pointer. It's not a great idea to use it, but sometimes you need it.
2020-06-22Fixed a bad catch statement.Mike Buland
2020-05-12Fixed static char* comparison bug in Bu::UtfString.Mike Buland
2020-03-24Temporary interop to convert blob to strings.Mike Buland
This will make the transition easier and require fewer rewrites later.
2020-03-23Updated to work with newer GCC.Mike Buland
Super minor type mismatch, which it was quite correct about.
2020-02-18Renamed Bu::Thread::stop to Bu::Thread::forceStop.Mike Buland
This wound up biting me, stop wasn't implemented in one child class and it was force-stopping it. Stop isn't usually implemented like this in threadding classes, and this should be no exception. I'm still exposing the posix threads stop functionality, but it really shouldn't even be used. This may break some things, but if it does, they probably weren't working correctly anyway. Sorry.
2020-02-18Minor Bu::Event bugfix.Mike Buland
It was returning the object state version of the set flag, not the threadsafe local copy.