Commit ecad3bb3 by eguven Committed by Oliver Woodman

MatroskaExtractorTest: removed unused local variables.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=123847017
parent d99679a9
...@@ -312,7 +312,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase { ...@@ -312,7 +312,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase {
.addVp9Track(VIDEO_TRACK_NUMBER, TEST_WIDTH, TEST_HEIGHT, null) .addVp9Track(VIDEO_TRACK_NUMBER, TEST_WIDTH, TEST_HEIGHT, null)
.build(1); .build(1);
try { try {
FakeExtractorOutput extractorOutput = consumeTestData(data); consumeTestData(data);
fail(); fail();
} catch (ParserException exception) { } catch (ParserException exception) {
assertEquals("DocType webB not supported", exception.getMessage()); assertEquals("DocType webB not supported", exception.getMessage());
...@@ -327,7 +327,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase { ...@@ -327,7 +327,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase {
.addVp9Track(VIDEO_TRACK_NUMBER, TEST_WIDTH, TEST_HEIGHT, settings) .addVp9Track(VIDEO_TRACK_NUMBER, TEST_WIDTH, TEST_HEIGHT, settings)
.build(1); .build(1);
try { try {
FakeExtractorOutput extractorOutput = consumeTestData(data); consumeTestData(data);
fail(); fail();
} catch (ParserException exception) { } catch (ParserException exception) {
assertEquals("ContentEncodingOrder 1 not supported", exception.getMessage()); assertEquals("ContentEncodingOrder 1 not supported", exception.getMessage());
...@@ -342,7 +342,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase { ...@@ -342,7 +342,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase {
.addVp9Track(VIDEO_TRACK_NUMBER, TEST_WIDTH, TEST_HEIGHT, settings) .addVp9Track(VIDEO_TRACK_NUMBER, TEST_WIDTH, TEST_HEIGHT, settings)
.build(1); .build(1);
try { try {
FakeExtractorOutput extractorOutput = consumeTestData(data); consumeTestData(data);
fail(); fail();
} catch (ParserException exception) { } catch (ParserException exception) {
assertEquals("ContentEncodingScope 0 not supported", exception.getMessage()); assertEquals("ContentEncodingScope 0 not supported", exception.getMessage());
...@@ -358,7 +358,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase { ...@@ -358,7 +358,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase {
.addVp9Track(VIDEO_TRACK_NUMBER, TEST_WIDTH, TEST_HEIGHT, settings) .addVp9Track(VIDEO_TRACK_NUMBER, TEST_WIDTH, TEST_HEIGHT, settings)
.build(1); .build(1);
try { try {
FakeExtractorOutput extractorOutput = consumeTestData(data); consumeTestData(data);
fail(); fail();
} catch (ParserException exception) { } catch (ParserException exception) {
assertEquals("ContentCompAlgo 0 not supported", exception.getMessage()); assertEquals("ContentCompAlgo 0 not supported", exception.getMessage());
...@@ -373,7 +373,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase { ...@@ -373,7 +373,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase {
.addVp9Track(VIDEO_TRACK_NUMBER, TEST_WIDTH, TEST_HEIGHT, settings) .addVp9Track(VIDEO_TRACK_NUMBER, TEST_WIDTH, TEST_HEIGHT, settings)
.build(1); .build(1);
try { try {
FakeExtractorOutput extractorOutput = consumeTestData(data); consumeTestData(data);
fail(); fail();
} catch (ParserException exception) { } catch (ParserException exception) {
assertEquals("ContentEncAlgo 4 not supported", exception.getMessage()); assertEquals("ContentEncAlgo 4 not supported", exception.getMessage());
...@@ -388,7 +388,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase { ...@@ -388,7 +388,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase {
.addVp9Track(VIDEO_TRACK_NUMBER, TEST_WIDTH, TEST_HEIGHT, settings) .addVp9Track(VIDEO_TRACK_NUMBER, TEST_WIDTH, TEST_HEIGHT, settings)
.build(1); .build(1);
try { try {
FakeExtractorOutput extractorOutput = consumeTestData(data); consumeTestData(data);
fail(); fail();
} catch (ParserException exception) { } catch (ParserException exception) {
assertEquals("AESSettingsCipherMode 0 not supported", exception.getMessage()); assertEquals("AESSettingsCipherMode 0 not supported", exception.getMessage());
...@@ -581,7 +581,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase { ...@@ -581,7 +581,7 @@ public final class MatroskaExtractorTest extends InstrumentationTestCase {
.build(1); .build(1);
try { try {
FakeExtractorOutput extractorOutput = consumeTestData(data); consumeTestData(data);
fail(); fail();
} catch (ParserException exception) { } catch (ParserException exception) {
assertEquals("Extension bit is set in signal byte", exception.getMessage()); assertEquals("Extension bit is set in signal byte", exception.getMessage());
......
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