1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* 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

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")));
}
}