Commit Graph

18 Commits

Author SHA1 Message Date
Michael Bayne 58736e2e8b A bunch of Eclipse appeasement. 2013-05-24 08:08:52 -07:00
Michael Bayne bd7e747eeb Out with arrays, in with collections. 2013-05-06 11:07:21 -07:00
David Hoover a3399702d7 Auld Lang Syne 2012-01-03 10:48:11 -08:00
Michael Bayne 881ee30047 Modified toString() such that the no-box-arguments versions do not
automatically traverse collections, but instead simply call toString on them.
The versions that take box arguments (where the developer is clearly expressing
a desire for custom formatted collections) still do the traversal. Moved the
warning that Enumeration and Iterator are consumed into said methods.

Switched LogBuilder to use StringUtil.toString, since it now subsumes the
behavior of ArrayUtil.toString without the undesirable collection munging that
motivated its original creation.

Nixed ArrayUtil.toString/safeToString because they haven't been in the wild
long enough to be likely to have been discovered and used by third parties.
2011-06-01 11:40:26 -07:00
Michael Bayne 5c99fd31df Let's switch to a compact header style I've adopted for more recent projects. 2011-04-06 20:10:41 -07:00
Deadmoose 74ae8bc0bb No $Id$ in git. And update some stale copyright while I'm at it. 2011-04-05 15:49:23 -07:00
karma@deadmoose.com a2764d78bb Auld Lang Syne
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2974 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-01-01 05:09:33 +00:00
samskivert e6230497a9 Nixed unused import.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2937 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-10-25 19:35:08 +00:00
samskivert e8b633abaf Some tests, just for kicks.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2898 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-09-30 21:35:55 +00:00
samskivert 58f0b9a067 A test of some basic HsqldbLiaison behavior, which I added to test other
things, which ended up being infeasible. But I'll leave this test machinery
here as it may be useful in the future if we want to add more
com.samskivert.jdcb unit tests.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2880 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-09-10 23:48:48 +00:00
samskivert 91e8240a48 Fiddling with persistent properties in tests is dangerous. Let's be sure that
our tests pass even when we haven't run them before. We were relying on
sub.sub3 having been set and persisted from a previous test invocation.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2848 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-09-08 18:35:08 +00:00
charlie.groves 087dbd0e9b Remove unecessary import and implementation
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2845 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-31 01:13:11 +00:00
samskivert 22a849a5d4 Unit tests not needing the assertion imports seems like a bad sign. Let's
actually turn these "tests" into tests.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2843 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-30 18:33:09 +00:00
karma@deadmoose.com eb4f4dc2c5 Prune unused imports.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2841 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-30 17:24:16 +00:00
samskivert bd61c7a609 Let's turn this into an actual test.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2812 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 05:03:45 +00:00
samskivert 08fa16d2d8 Handle test resources in a more standard way as well.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2810 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 00:51:49 +00:00
samskivert 83e1c95c34 Converted all tests to JUnit 4. Nixed vestigial Velocity-related test class.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2809 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 00:34:13 +00:00
samskivert b03237ee4d Though it's perhaps not exactly as I'd prefer, a consensus has formed on where
to put your source and test source code for Java projects. I'm going to toe the
line here because I want to use SBT to publish samskivert to the centralized
Maven repositories.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2807 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 00:08:06 +00:00