aboutsummaryrefslogtreecommitdiff
path: root/src/unit (follow)
AgeCommit message (Collapse)Author
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
2010-05-25More myriad tests and features, passes perfectly so far.Mike Buland
2010-05-25We now have a portable tempfile function, cool, it compiles on windows.Mike Buland
Fixed a bug in Socket, it wasn't closing the socket in all exception cases. Also fixed a few things in the unit test framework, going to add some more helpers soon.
2010-05-24Changed the Bu::Stream API, setSize is now standard. There may be a few moreMike Buland
things that should be added. A few of them still need to be implemented. I know that truncate for Bu::File is possible on windows, I've used it before, but hell if I can find it. Myriad also needs the setSize function completed.
2010-05-24Myriad unit test. Seems like it's workin' well.Mike Buland
2010-05-15mkunit.sh was a little dumb, it didn't handle a number of things correctly.Mike Buland
I've written a new program that basically does the same thing, only it's much more clever, and does many more of the translations and conversions better, including the #line directives. Also, I dropped nids, we don't need it anymore. But now I'm ready to write some serious tests for myriad.
2010-05-13david - put a bunch of data through it and check its validityDavid
2010-03-31Removed the bool cast operator from FBasicString. It turns out it was causingMike Buland
way, way, way more problems than it solved. A number of libbu++ tests were inacurate because of it, there were problems in several other programs, and there may be more that have problems we haven't found yet because of this. This will most likely cause complitaion errors, especially in places we didn't expect, where strings were being stored into or passed as integers and the like. In cases where you were just testing a string, just call the "isSet()" function, which is functionally equivellent to the old bool cast operator.
2010-02-13Added and updated the license info in all the source files, they still saidMike Buland
copyright 2007-2008.
2010-02-10Changed the name of nids to Myriad, I like it, but I'm not getting rid of nidsMike Buland
until I can safely migrate to Myriad.
2009-11-24Added a replace function to fstring...sweeet.Mike Buland
2009-11-12I've started my campaign to clean up all of the header files in libbu++ as farMike Buland
as includes go. This required a little bit of reworking as far as archive goes, but I've been planning on changing it aronud for a bit anyway. The final result here is that you may need to add some more includes in your own code, libbu++ doesn't include as many random things you didn't ask for anymore, most of these seem to be bu/hash.h, unistd.h, and time.h. Also, any Archive functions and operators should use ArchiveBase when they can instead of Archive, archivebase.h is a much lighterweight include that will be used everywhere in core that it can be, there are a few classes that actually want a specific archiver to be used, they will use it (such as the nids storage class). So far, except for adding header files, nothing has changed in functionality, and no other code changes should be required, although the above mentioned archive changeover is reccomended.
2009-10-16Finally added the substream class, and added getByPath (for properties) andMike Buland
getChildByPath (for groups) to the TafGroup class.
2009-10-16Although this looks like a load of code changes, this represents no functionalMike Buland
change to the Taf system. Really all that's happened is I've broken out the core taf data types into seperate files, and gone ahead and created a helpful new header file ("taf.h") that will include the entire taf system, including the reader and writer for you. This means that a lot of programs will start complaining, but fortunately, there's an easy solution, if it complains about taf, make sure to include taf.h at the top, instead of other taf files and you'll be set. The next set of changes will add lots of helpers to the taf system and change the reader to read non-const structures, i.e. I'll actually add editing support to created taf structures.