[0.6.280] set buffering criteria on adaptivedemux2
[platform/core/multimedia/libmm-player.git] / unittest / unittest.cpp
index 28b7aa2..157fdeb 100644 (file)
@@ -87,7 +87,7 @@ void MMPlayerPrivTest::SetUp()
 void MMPlayerPrivTest::TearDown()
 {
        int ret = MM_ERROR_NONE;
-       MMPlayerStateType state = MM_PLAYER_STATE_NULL;
+       mmplayer_state_e state = MM_PLAYER_STATE_NULL;
 
        ret = priv_player.GetCurrentState(&state);
        if (ret != MM_ERROR_NONE)
@@ -107,7 +107,7 @@ void MMPlayerPrivTest::TearDown()
 TEST_F(MMPlayerPrivTest, Realize_P)
 {
        int ret = MM_ERROR_NONE;
-       const gcharuri = "http://test-url.mp4";
+       const gchar *uri = "http://test-url.mp4";
 
        ret = priv_player.SetUri(uri);
        EXPECT_EQ(ret, MM_ERROR_NONE);
@@ -126,7 +126,7 @@ TEST_F(MMPlayerPrivTest, Realize_N)
 TEST_F(MMPlayerPrivTest, ParseProfile_p)
 {
        int ret = MM_ERROR_NONE;
-       const gcharuri = "http://test-url";
+       const gchar *uri = "http://test-url";
        int uri_type = MM_PLAYER_URI_TYPE_NONE;
 
        ret = priv_player.ParseProfile(uri, &uri_type);
@@ -138,7 +138,7 @@ TEST_F(MMPlayerPrivTest, ParseProfile_p)
 TEST_F(MMPlayerPrivTest, ParseProfile_n)
 {
        int ret = MM_ERROR_NONE;
-       const gcharuri = "file://non-existing-file.mp4";
+       const gchar *uri = "file://non-existing-file.mp4";
 
        ret = priv_player.ParseProfile(uri, NULL);