Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
cloudooo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Vincent Bechu
cloudooo
Commits
d25a146b
Commit
d25a146b
authored
Jun 13, 2011
by
Priscila Manhaes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skipped midi test cause ffmpeg does not offer support to midi
parent
cab2229b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
cloudooo/handler/ffmpeg/tests/testFfmpegAllAudioFormat.py
cloudooo/handler/ffmpeg/tests/testFfmpegAllAudioFormat.py
+6
-1
No files found.
cloudooo/handler/ffmpeg/tests/testFfmpegAllAudioFormat.py
View file @
d25a146b
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
from
os.path
import
join
from
os.path
import
join
from
cloudooo.tests.cloudoooTestCase
import
TestCase
,
make_suite
from
cloudooo.tests.cloudoooTestCase
import
TestCase
,
make_suite
from
cloudooo.tests.backportUnittest
import
skip
class
TestAllSupportedFormat
(
TestCase
):
class
TestAllSupportedFormat
(
TestCase
):
...
@@ -36,12 +37,16 @@ class TestAllSupportedFormat(TestCase):
...
@@ -36,12 +37,16 @@ class TestAllSupportedFormat(TestCase):
return
[
# XXX This might expect audio/octet-stream but only got audio/mpeg
return
[
# XXX This might expect audio/octet-stream but only got audio/mpeg
(
join
(
'data'
,
'test.ogg'
),
"ogg"
,
"mp3"
,
"audio/mpeg"
),
(
join
(
'data'
,
'test.ogg'
),
"ogg"
,
"mp3"
,
"audio/mpeg"
),
(
join
(
'data'
,
'test.ogg'
),
"ogg"
,
"wav"
,
"audio/x-wav"
),
(
join
(
'data'
,
'test.ogg'
),
"ogg"
,
"wav"
,
"audio/x-wav"
),
(
join
(
'data'
,
'test.ogg'
),
"ogg"
,
"midi"
,
"audio/rtp-midi"
),
]
]
def
testAllSupportedFormat
(
self
):
def
testAllSupportedFormat
(
self
):
"""Test all audio types supported by ffmpeg"""
self
.
runConversionList
(
self
.
ConversionScenarioList
())
self
.
runConversionList
(
self
.
ConversionScenarioList
())
@
skip
(
'FFMPEG does not support midi files anymore'
)
def
testMidi
(
self
):
"""Tests if ffmpeg convets midi file"""
self
.
runConversionList
(
join
(
'data'
,
'test.ogg'
),
"ogg"
,
"midi"
,
"audio/rtp-midi"
)
def
test_suite
():
def
test_suite
():
return
make_suite
(
TestAllSupportedFormat
)
return
make_suite
(
TestAllSupportedFormat
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment