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
c1f0c75c
Commit
c1f0c75c
authored
Dec 21, 2008
by
Filippo Carone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jvlc: mediaInstance renamed to mediaplayer in test methods
parent
ed968ea6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
bindings/java/core/src/test/java/org/videolan/jvlc/internal/LibVlcMediaPlayerTest.java
...ava/org/videolan/jvlc/internal/LibVlcMediaPlayerTest.java
+8
-8
No files found.
bindings/java/core/src/test/java/org/videolan/jvlc/internal/LibVlcMediaPlayerTest.java
View file @
c1f0c75c
...
@@ -34,7 +34,7 @@ import org.videolan.jvlc.internal.LibVlc.LibVlcMediaPlayer;
...
@@ -34,7 +34,7 @@ import org.videolan.jvlc.internal.LibVlc.LibVlcMediaPlayer;
public
class
LibVlcMediaPlayerTest
extends
AbstractVLCInternalTest
public
class
LibVlcMediaPlayerTest
extends
AbstractVLCInternalTest
{
{
@Test
@Test
public
void
media
Instance
New
()
public
void
media
Player
New
()
{
{
LibVlcMediaPlayer
instance
=
libvlc
.
libvlc_media_player_new
(
libvlcInstance
,
exception
);
LibVlcMediaPlayer
instance
=
libvlc
.
libvlc_media_player_new
(
libvlcInstance
,
exception
);
Assert
.
assertNotNull
(
instance
);
Assert
.
assertNotNull
(
instance
);
...
@@ -42,7 +42,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
...
@@ -42,7 +42,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
}
}
@Test
@Test
public
void
media
Instance
PlayBad
()
public
void
media
Player
PlayBad
()
{
{
LibVlcMediaPlayer
instance
=
libvlc
.
libvlc_media_player_new
(
libvlcInstance
,
exception
);
LibVlcMediaPlayer
instance
=
libvlc
.
libvlc_media_player_new
(
libvlcInstance
,
exception
);
libvlc
.
libvlc_media_player_play
(
instance
,
exception
);
libvlc
.
libvlc_media_player_play
(
instance
,
exception
);
...
@@ -50,7 +50,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
...
@@ -50,7 +50,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
}
}
@Test
@Test
public
void
media
Instance
Play
()
public
void
media
Player
Play
()
{
{
LibVlcMedia
md
=
libvlc
.
libvlc_media_new
(
libvlcInstance
,
mrl
,
exception
);
LibVlcMedia
md
=
libvlc
.
libvlc_media_new
(
libvlcInstance
,
mrl
,
exception
);
LibVlcMediaPlayer
mi
=
libvlc
.
libvlc_media_player_new_from_media
(
md
,
exception
);
LibVlcMediaPlayer
mi
=
libvlc
.
libvlc_media_player_new_from_media
(
md
,
exception
);
...
@@ -59,7 +59,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
...
@@ -59,7 +59,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
}
}
@Test
@Test
public
void
media
Instance
PauseBad
()
public
void
media
Player
PauseBad
()
{
{
LibVlcMedia
md
=
libvlc
.
libvlc_media_new
(
libvlcInstance
,
mrl
,
exception
);
LibVlcMedia
md
=
libvlc
.
libvlc_media_new
(
libvlcInstance
,
mrl
,
exception
);
LibVlcMediaPlayer
mi
=
libvlc
.
libvlc_media_player_new_from_media
(
md
,
exception
);
LibVlcMediaPlayer
mi
=
libvlc
.
libvlc_media_player_new_from_media
(
md
,
exception
);
...
@@ -68,7 +68,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
...
@@ -68,7 +68,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
}
}
@Test
@Test
public
void
media
Instance
Pause
()
public
void
media
Player
Pause
()
{
{
LibVlcMedia
md
=
libvlc
.
libvlc_media_new
(
libvlcInstance
,
mrl
,
exception
);
LibVlcMedia
md
=
libvlc
.
libvlc_media_new
(
libvlcInstance
,
mrl
,
exception
);
LibVlcMediaPlayer
mi
=
libvlc
.
libvlc_media_player_new_from_media
(
md
,
exception
);
LibVlcMediaPlayer
mi
=
libvlc
.
libvlc_media_player_new_from_media
(
md
,
exception
);
...
@@ -78,7 +78,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
...
@@ -78,7 +78,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
}
}
@Test
@Test
public
void
media
Instance
SetPosition
()
public
void
media
Player
SetPosition
()
{
{
LibVlcMedia
md
=
libvlc
.
libvlc_media_new
(
libvlcInstance
,
mrl
,
exception
);
LibVlcMedia
md
=
libvlc
.
libvlc_media_new
(
libvlcInstance
,
mrl
,
exception
);
LibVlcMediaPlayer
mi
=
libvlc
.
libvlc_media_player_new_from_media
(
md
,
exception
);
LibVlcMediaPlayer
mi
=
libvlc
.
libvlc_media_player_new_from_media
(
md
,
exception
);
...
@@ -90,7 +90,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
...
@@ -90,7 +90,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
}
}
@Test
@Test
public
void
media
Instance
Stop
()
public
void
media
Player
Stop
()
{
{
LibVlcMedia
md
=
libvlc
.
libvlc_media_new
(
libvlcInstance
,
mrl
,
exception
);
LibVlcMedia
md
=
libvlc
.
libvlc_media_new
(
libvlcInstance
,
mrl
,
exception
);
LibVlcMediaPlayer
mi
=
libvlc
.
libvlc_media_player_new_from_media
(
md
,
exception
);
LibVlcMediaPlayer
mi
=
libvlc
.
libvlc_media_player_new_from_media
(
md
,
exception
);
...
@@ -99,7 +99,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
...
@@ -99,7 +99,7 @@ public class LibVlcMediaPlayerTest extends AbstractVLCInternalTest
}
}
@Test
@Test
public
void
media
Instance
Stop2
()
throws
Exception
public
void
media
Player
Stop2
()
throws
Exception
{
{
LibVlcMedia
md
=
libvlc
.
libvlc_media_new
(
libvlcInstance
,
mrl
,
exception
);
LibVlcMedia
md
=
libvlc
.
libvlc_media_new
(
libvlcInstance
,
mrl
,
exception
);
LibVlcMediaPlayer
mi
=
libvlc
.
libvlc_media_player_new_from_media
(
md
,
exception
);
LibVlcMediaPlayer
mi
=
libvlc
.
libvlc_media_player_new_from_media
(
md
,
exception
);
...
...
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