Commit 16e1eaf4 by olly Committed by Oliver Woodman

Removed VorbisUtilTests throws declarations to avoid warning

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117326253
parent a067bd09
...@@ -94,7 +94,7 @@ public final class VorbisUtilTest extends TestCase { ...@@ -94,7 +94,7 @@ public final class VorbisUtilTest extends TestCase {
assertEquals(true, VorbisUtil.verifyVorbisHeaderCapturePattern(0x01, header, false)); assertEquals(true, VorbisUtil.verifyVorbisHeaderCapturePattern(0x01, header, false));
} }
public void testVerifyVorbisHeaderCapturePatternInvalidHeader() throws ParserException { public void testVerifyVorbisHeaderCapturePatternInvalidHeader() {
ParsableByteArray header = new ParsableByteArray( ParsableByteArray header = new ParsableByteArray(
new byte[]{0x01, 'v', 'o', 'r', 'b', 'i', 's'}); new byte[]{0x01, 'v', 'o', 'r', 'b', 'i', 's'});
try { try {
...@@ -111,7 +111,7 @@ public final class VorbisUtilTest extends TestCase { ...@@ -111,7 +111,7 @@ public final class VorbisUtilTest extends TestCase {
assertFalse(VorbisUtil.verifyVorbisHeaderCapturePattern(0x99, header, true)); assertFalse(VorbisUtil.verifyVorbisHeaderCapturePattern(0x99, header, true));
} }
public void testVerifyVorbisHeaderCapturePatternInvalidPattern() throws ParserException { public void testVerifyVorbisHeaderCapturePatternInvalidPattern() {
ParsableByteArray header = new ParsableByteArray( ParsableByteArray header = new ParsableByteArray(
new byte[]{0x01, 'x', 'v', 'o', 'r', 'b', 'i', 's'}); new byte[]{0x01, 'x', 'v', 'o', 'r', 'b', 'i', 's'});
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment