added: semi randomized unit tests for Utils.Pair #158

Merged
merged 1 commit into from Feb 12, 2014

Conversation

Projects
None yet
2 participants
Contributor

Ahimta commented Feb 3, 2014

added: Override annotation to Pair#apply(F from), just to make the java compiler a bit happier
added: comments to Pair#apply(F from)

@Ahimta Ahimta added: semi randomized unit tests for Utils.Pair
added: @Override to Pair#apply(F from), just to make the java compiler a bit happier
added: comments to Pair#apply(F from)
55d9ba4

@vinothchandar vinothchandar commented on the diff Feb 4, 2014

test/unit/voldemort/utils/PairTest.java
@@ -0,0 +1,80 @@
+package voldemort.utils;
+
+import static org.hamcrest.CoreMatchers.is;
@vinothchandar

vinothchandar Feb 4, 2014

Collaborator

is this import in a jar already on lib?

@Ahimta

Ahimta Feb 4, 2014

Contributor

Thanks for the heads up.
Now that you mention it, I remember that hamcrest has it own jar file in many projects.

I checked the build path of the project in eclipse.
All libraries used are in the project.

Further more, I went to junit 4.11 javadocs (unfortunately didn't find 4.6 javadocs), and found hamcrest matchers there: http://junit.org/javadoc/latest/

vinothchandar merged commit 16db905 into voldemort:master Feb 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment