OpenHFT / Chronicle-Map

Replicate your Key Value Store across your network, with consistency, persistance and performance.
http://chronicle.software/products/chronicle-map/
Apache License 2.0
2.73k stars 467 forks source link

Exceptional-behavior test to cover the throw statement in method 'entryAndValueOffsetAlignment' #525

Closed JiyangZhang closed 3 months ago

JiyangZhang commented 4 months ago

Add an exceptional-behavior test to ChronicleMapTest.java to test the IllegalArgumentException in method entryAndValueOffsetAlignment under the condition where the argument is a negative number.

JerryShea commented 3 months ago

@JiyangZhang thanks for these contributions. Can I suggest you combine the 3 PRs into one as it is less work for us to manage.

Can I ask also that you sign the CLA - we cannot accept code contributions without this. Thanks!

JiyangZhang commented 3 months ago

Hi Jerry,

I sign the Chronicle Software Contributor Agreement. I will open a new pull request merging 3 PRs.