aboutsummaryrefslogtreecommitdiff
path: root/src/unit (follow)
AgeCommit message (Collapse)Author
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-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-07-24Added swap to array.Mike Buland
2023-07-11Merge branch 'main' into noshareMike Buland
2023-07-11Tweaked/improved tests.Mike Buland
2023-07-10String is now not shared.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.
2019-08-08Fixed a bug in the BlobBuilder.Mike Buland
Appending wasn't working correctly.
2019-06-25BlobBuilder implemented, tests in progress.Mike Buland
2019-05-25Just about everything that Blob needs is in.Mike Buland
2019-05-25Augmented UnitSuite, added more to Blob, and added tests.Mike Buland
2019-05-24Updated copyright date.Mike Buland
2019-01-29Clerified some ints.Mike Buland
2014-02-03Corrected Myriad unit test on 64 bit platforms.Mike Buland
I assumed a long would be 4 bytes, that was silly!
2014-02-03Changed copyright to 2007-2014.Mike Buland
2013-02-27Added a unit test for Bu::SynchroHash. It's just a tweaked copy of the testMike Buland
for Bu::Hash, which tests the basics alright, but not the synchro part. I'm still trying to figure out a good test for that.
2013-02-11Updated the copyright for 2013.Mike Buland
2012-11-27Added a few comments and fixed a string unit test, it assumed hex would beMike Buland
upper case by default and now it's lower case.
2012-11-05Converted tabs to spaces with tabconv.Mike Buland
2012-09-05Added extra formatting argument indexing method to Bu::String::FormatProxy.Mike Buland
You can now use %{3} so that arguments can be followed by a digit.
2012-09-05Fixed silly bug involving juxtaposed replacement tokens inMike Buland
Bu::String::FormatProxy substitutions.
2012-04-15Updated copyright, packaging, makefile, etc.Mike Buland
2012-04-14Added support for running subsets of unit tests to Bu::UnitSuite, now just listMike Buland
the names of the tests you want to run on the command line. Also, fixed some minor issues in two of the test suites.
2011-10-25Fixed bug in base64 decoding. If an attempt is made to read data after the endMike Buland
of the stream has been reached, and the input didn't end with '=' chars then it would return the final buffer an extra time before ending. Now it ends when it should, no matter how many extra times you try to read.
2011-07-17More variant unit tests, signed and unsigned chars are no formatted as numbers,Mike Buland
while chars are formatted as characters.
2011-07-13Trying to hunt down bug in variant code.Mike Buland
2011-04-04david - tried to make hash crashDavid
2011-03-30Ok, string stuff is working much, much better, a load of new unit tests haveMike Buland
been added, and I deleted a whole slew of stupid old tests that I don't need.
2011-03-29String's replace function now doesn't get false positives on partial matches atMike Buland
the end of strings. Build should work much better now.
2011-03-19The rest of libbu++ is corrected as far as the now Bu::String toUpper/toLowerMike Buland
semantics go as well as switching everything to the new string formatting code.
2011-03-17david - added a hash table stress unit testDavid
2011-02-04Some tweaks to the string unit test.Mike Buland
2011-01-22Minor change to csvwriter, the excel formatter wasn't escaping strings withMike Buland
commas or quotes quite right, it's much better now. Also, added an SHA1 unit test.
2011-01-20Fixed a really strang, really hard to nail down corner case in StringMike Buland
2011-01-20Wow! Merged the branch, streams are updated, and there's no more FString, runMike Buland
the fixstrings.sh script in the support directory to (hopefully) automatically update your projects.
2011-01-20Heh, forgot to rename the two fstring tests.Mike Buland
2011-01-20Wow, got the Stream changes propegated, all tests build with string instead ofMike Buland
fstring, and updated the copyright notice to extend to 2011
2011-01-20Bu::FString is now String, and there's a shell script to fix any other programsMike Buland
that were using fstring, I hope.
2011-01-13Md5 works really, really well. It's fast, and sexy, and awesome. Thanks david.Mike Buland
2010-11-04FString tests, the new one causes a segfault with the old fstring.Mike Buland
2010-10-14SharedCore has more features now, which is cool, including a test to see ifMike Buland
another object of the parent type has the same core, and another to clone the parent object. That one is pretty cool, it means you can now get a real copy when you want to, great for multi-threaded stuff. Also, two more classes are now SharedCore: Hash and Heap!
2010-10-14A quick unit test for the copy constructor in variant.Mike Buland
2010-06-21Fixed a bug in Bu::Buffer that resulted from a false negative on isEos if theMike Buland
underlying stream was empty.
2010-05-28More myriad testing and unit test features, not unit tests that may take aMike Buland
while are welcome to provide progress info with some builtin functions. The Bu::Archive class now throws an exception if reading is interrupted by EOS
2010-05-26Oooh, another minor myriad fix, it's getting solid now. :)Mike Buland
2010-05-26Fixed most of the compilation warnings, and a valgrind warning in the fstring'sMike Buland
remove function. memcpy can't do overlapping memory, changed it to use memmove.
2010-05-26More tweaks and informational functions.Mike Buland