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:
parent
987840580d
commit
bff6737b09
@ -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")));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user