gstreamer_core/tsrc/check/gst/gstvalue/src/gstvalue.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
     1  /*
     1 /*
     2  *  Copyright © 2008 Nokia Corporation.
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
     3  *  This material, including documentation and any related 
     3 *
     4  *  computer programs, is protected by copyright controlled by 
     4 * This library is free software; you can redistribute it and/or
     5  *  Nokia Corporation. All rights are reserved. Copying, 
     5 * modify it under the terms of the GNU Lesser General Public
     6  *  including reproducing, storing, adapting or translating, any 
     6 * License as published by the Free Software Foundation; either
     7  *  or all of this material requires the prior written consent of 
     7 * version 2 of the License, or (at your option) any later version.
     8  *  Nokia Corporation. This material also contains confidential 
     8 *
     9  *  information which may not be disclosed to others without the 
     9 * This library is distributed in the hope that it will be useful,
    10  *  prior written consent of Nokia Corporation.
    10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    11  * ============================================================================
    11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    12  */
    12 * Lesser General Public License for more details.
       
    13 *
       
    14 * You should have received a copy of the GNU Lesser General Public
       
    15 * License along with this library; if not, write to the
       
    16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
       
    17 * Boston, MA 02111-1307, USA.
       
    18 *
       
    19 * Description:
       
    20 *
       
    21 */
    13 
    22 
    14 /* GStreamer
    23 /* GStreamer
    15  * Copyright (C) <2004> David Schleef <david at schleef dot org>
    24  * Copyright (C) <2004> David Schleef <david at schleef dot org>
    16  * Copyright (C) <2005> Thomas Vander Stichele <thomas at apestaart dot org>
    25  * Copyright (C) <2005> Thomas Vander Stichele <thomas at apestaart dot org>
    17  *
    26  *
    44 
    53 
    45 //char* xmlfile = "gstvalue";
    54 //char* xmlfile = "gstvalue";
    46 
    55 
    47 void create_xml(int result)
    56 void create_xml(int result)
    48 {
    57 {
    49 
       
    50     if(result)
    58     if(result)
    51     {
       
    52         assert_failed = 1;
    59         assert_failed = 1;
    53     } 
    60     
    54 
       
    55     testResultXml(xmlfile);
    61     testResultXml(xmlfile);
    56     close_log_file();
    62     close_log_file();
    57 
       
    58     if(result)
       
    59     {
       
    60         exit (-1);
       
    61     }    
       
    62 
       
    63 }
    63 }
    64 
    64 
    65 
    65 
    66 void test_deserialize_buffer()
    66 void test_deserialize_buffer()
    67 {
    67 {