Closed rkaercher closed 7 years ago
This makes sense, thanks for this! Just a couple minor suggestions but it'll be great to get this in. We're planning on releasing a second beta of 4.0 soon so we'll make sure this is included in that.
LGTM too, thanks @rkaercher!
When testing with mockito and expecting an entity generated from a tablespec one currently gets the following error from mockito (and most likely other expecting frameworks, too) if an argument does not match the expected values:
Actual invocation has different arguments: myDao.save( MyFromSpecEntity set values: com.yahoo.squidb.android.ContentValuesStorage@43ccf00c values: null
);
This is not a real problem when running in the IDE but causes extra effort when getting such an error in a CI test. I therefore simply added a toString that outputs all fields from the ValueStorage to ease debugging.