Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YZG
yzg-util
Commits
97e947fd
Commit
97e947fd
authored
Nov 20, 2020
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改实体位置
parent
28de9a35
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
TestMediaHelper.java
...il-image-extend/src/test/java/helper/TestMediaHelper.java
+5
-5
No files found.
yzg-util-image-extend/src/test/java/helper/TestMediaHelper.java
View file @
97e947fd
package
helper
;
import
com.yanzuoguang.util.ImageHelper
;
import
com.yanzuoguang.util.MediaHelperExtend
;
import
com.yanzuoguang.util.helper.FileHelper
;
import
com.yanzuoguang.util.thread.RunnableListAuto
;
import
it.sauronsoftware.jave.Encoder
;
import
it.sauronsoftware.jave.EncoderException
;
...
...
@@ -21,10 +21,10 @@ public class TestMediaHelper {
@Test
public
void
testMediaType
()
throws
EncoderException
,
IOException
{
System
.
out
.
println
(
"100M.mp4 "
+
Imag
eHelper
.
getMediaType
(
getFile
(
"100M.mp4"
)));
System
.
out
.
println
(
"100M.mp4.jpg "
+
Imag
eHelper
.
getMediaType
(
getFile
(
"100M.mp4.jpg"
)));
System
.
out
.
println
(
"xuziming.mp4 "
+
Imag
eHelper
.
getMediaType
(
getFile
(
"xuziming.mp4"
)));
System
.
out
.
println
(
"z001594372388232a3017ad69c82a342.MOV "
+
Imag
eHelper
.
getMediaType
(
getFile
(
"z001594372388232a3017ad69c82a342.MOV"
)));
System
.
out
.
println
(
"100M.mp4 "
+
Fil
eHelper
.
getMediaType
(
getFile
(
"100M.mp4"
)));
System
.
out
.
println
(
"100M.mp4.jpg "
+
Fil
eHelper
.
getMediaType
(
getFile
(
"100M.mp4.jpg"
)));
System
.
out
.
println
(
"xuziming.mp4 "
+
Fil
eHelper
.
getMediaType
(
getFile
(
"xuziming.mp4"
)));
System
.
out
.
println
(
"z001594372388232a3017ad69c82a342.MOV "
+
Fil
eHelper
.
getMediaType
(
getFile
(
"z001594372388232a3017ad69c82a342.MOV"
)));
}
@Test
...
...
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