aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/Assert.java
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2017-12-17 19:50:13 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2017-12-17 20:21:54 +0100
commita90b75b47aff1c7139056352bf0145858ea3742c (patch)
treeff716f2f310e2b2ff52f60c308bc6a4cdb92a6b6 /org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/Assert.java
parent0b131b731263fbddebf1026a71a4bba8ce64574f (diff)
downloadjgit-a90b75b47aff1c7139056352bf0145858ea3742c.tar.gz
jgit-a90b75b47aff1c7139056352bf0145858ea3742c.zip
Fix javadoc in org.eclipse.jgit.junit
Change-Id: I1107e6a82849ac329361baabb5c481d86ea6dc9e Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/Assert.java')
-rw-r--r--org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/Assert.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/Assert.java b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/Assert.java
index 40a05b4b7c..57b33e1c4f 100644
--- a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/Assert.java
+++ b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/Assert.java
@@ -44,12 +44,33 @@ package org.eclipse.jgit.junit;
import static java.lang.Boolean.valueOf;
+/**
+ * Assertion class
+ */
public class Assert {
+ /**
+ * Assert booleans are equal
+ *
+ * @param expect
+ * expected value
+ * @param actual
+ * actual value
+ */
public static void assertEquals(boolean expect, boolean actual) {
org.junit.Assert.assertEquals(valueOf(expect), valueOf(actual));
}
+ /**
+ * Assert booleans are equal
+ *
+ * @param message
+ * message
+ * @param expect
+ * expected value
+ * @param actual
+ * actual value
+ */
public static void assertEquals(String message, boolean expect,
boolean actual) {
org.junit.Assert