am 68ed7aa9: Fix a test
# Via Jean Chalard * commit '68ed7aa990a73bbdd20ec539289d6b5351e41441': Fix a testmain
commit
f1a312a28b
|
@ -246,7 +246,7 @@ public class BinaryDictIOUtilsTests extends AndroidTestCase {
|
||||||
inStream.getChannel().map(FileChannel.MapMode.READ_ONLY, 0, file.length()));
|
inStream.getChannel().map(FileChannel.MapMode.READ_ONLY, 0, file.length()));
|
||||||
final FileHeader header = BinaryDictInputOutput.readHeader(buffer);
|
final FileHeader header = BinaryDictInputOutput.readHeader(buffer);
|
||||||
assertEquals(word, BinaryDictInputOutput.getWordAtAddress(buffer, header.mHeaderSize,
|
assertEquals(word, BinaryDictInputOutput.getWordAtAddress(buffer, header.mHeaderSize,
|
||||||
position - header.mHeaderSize, header.mFormatOptions));
|
position - header.mHeaderSize, header.mFormatOptions).mWord);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
} catch (UnsupportedFormatException e) {
|
} catch (UnsupportedFormatException e) {
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue