Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
ab81de3e
Commit
ab81de3e
authored
Dec 14, 2008
by
Filippo Carone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jvlc: various unit tests fixes
parent
44d437fe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
bindings/java/core/src/test/java/org/videolan/jvlc/AbstractJVLCTest.java
...ore/src/test/java/org/videolan/jvlc/AbstractJVLCTest.java
+1
-1
bindings/java/core/src/test/java/org/videolan/jvlc/internal/AbstractVLCInternalTest.java
...a/org/videolan/jvlc/internal/AbstractVLCInternalTest.java
+5
-1
bindings/java/core/src/test/java/org/videolan/jvlc/internal/MediaListPlayerTest.java
.../java/org/videolan/jvlc/internal/MediaListPlayerTest.java
+0
-4
No files found.
bindings/java/core/src/test/java/org/videolan/jvlc/AbstractJVLCTest.java
View file @
ab81de3e
...
...
@@ -47,7 +47,7 @@ public abstract class AbstractJVLCTest
protected
String
mrl
;
private
String
address
=
"http://streams.videolan.org/streams-videolan/
reference/mp4/bl.mp4
"
;
private
String
address
=
"http://streams.videolan.org/streams-videolan/
avi/Hero-Div3.avi
"
;
/**
* Logger.
...
...
bindings/java/core/src/test/java/org/videolan/jvlc/internal/AbstractVLCInternalTest.java
View file @
ab81de3e
...
...
@@ -54,7 +54,7 @@ public abstract class AbstractVLCInternalTest
protected
libvlc_exception_t
exception
;
private
String
address
=
"http://streams.videolan.org/streams-videolan/
reference/
avi/Hero-Div3.avi"
;
private
String
address
=
"http://streams.videolan.org/streams-videolan/avi/Hero-Div3.avi"
;
/**
* Logger.
...
...
@@ -123,6 +123,10 @@ public abstract class AbstractVLCInternalTest
out
.
write
(
buffer
,
0
,
numRead
);
numWritten
+=
numRead
;
}
if
(
numWritten
==
0
)
{
throw
new
RuntimeException
(
"Cannot download sample, please check the url or your internet connection."
);
}
log
.
info
(
"Sample downloaded."
);
mrl
=
testResoucesPath
+
".avi"
;
}
...
...
bindings/java/core/src/test/java/org/videolan/jvlc/internal/MediaListPlayerTest.java
View file @
ab81de3e
...
...
@@ -98,9 +98,6 @@ public class MediaListPlayerTest extends AbstractVLCInternalTest
libvlc
.
libvlc_media_list_player_release
(
mediaListPlayer
);
}
/**
* this fails: see https://trac.videolan.org/vlc/ticket/1527
*/
@Test
public
void
mediaListPlayerPlay
()
{
...
...
@@ -115,7 +112,6 @@ public class MediaListPlayerTest extends AbstractVLCInternalTest
Assert
.
assertEquals
(
"Exception message: "
+
exception
.
message
+
".\n"
,
0
,
exception
.
raised
);
libvlc
.
libvlc_media_release
(
mediaDescriptor
);
libvlc
.
libvlc_media_list_release
(
mediaList
);
libvlc
.
libvlc_media_list_player_release
(
mediaListPlayer
);
}
@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