* added unit test for OpenSubtitlesHasher (forgot to actually add it ;)

This commit is contained in:
Reinhard Pointner 2008-11-28 17:54:06 +00:00
parent 987840580d
commit bff6737b09
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package net.sourceforge.filebot.web;
import static org.junit.Assert.assertEquals;
import java.io.File;
import org.junit.Test;
public class OpenSubtitlesHasherTest {
@Test
public void computeHash() throws Exception {
assertEquals("8e245d9679d31e12", OpenSubtitlesHasher.computeHash(new File("breakdance.avi")));
}
}