1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-17 19:51:39 +00:00

Closes #42: Gravatar images in comments

This commit is contained in:
jendib
2015-11-19 00:05:04 +01:00
parent 82b39586f0
commit fc3a8bb4ae
7 changed files with 67 additions and 7 deletions

View File

@@ -0,0 +1,17 @@
package com.sismics.util;
import junit.framework.Assert;
import org.junit.Test;
/**
* Test of the image utilities.
*
* @author bgamard
*/
public class TestImageUtil {
@Test
public void computeGravatarTest() throws Exception {
Assert.assertEquals("0bc83cb571cd1c50ba6f3e8a78ef1346", ImageUtil.computeGravatar("MyEmailAddress@example.com "));
}
}