From: PacketVideo CM Date: Tue, 9 Mar 2010 05:49:29 +0000 (-0800) Subject: RIO-8792: Print null testnames as undefined in xml logfile X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=72b1dd30a00d2f68d621bc2568ed60c48fe70cde;p=android-x86%2Fexternal-opencore.git RIO-8792: Print null testnames as undefined in xml logfile --- diff --git a/engines/2way/src/pv_2way_sdkinfo.h b/engines/2way/src/pv_2way_sdkinfo.h index 1a5ed663..a5e64c5a 100644 --- a/engines/2way/src/pv_2way_sdkinfo.h +++ b/engines/2way/src/pv_2way_sdkinfo.h @@ -21,7 +21,7 @@ // This header file is automatically generated at build-time // *** OFFICIAL RELEASE INFO -- Will not auto update -#define PV2WAY_ENGINE_SDKINFO_LABEL "1300558" +#define PV2WAY_ENGINE_SDKINFO_LABEL "1301300" #define PV2WAY_ENGINE_SDKINFO_DATE 0x20100305 #endif //PV_2WAY_SDKINFO_H_INCLUDED diff --git a/engines/author/src/pv_author_sdkinfo.h b/engines/author/src/pv_author_sdkinfo.h index 90d7e173..40c828bd 100644 --- a/engines/author/src/pv_author_sdkinfo.h +++ b/engines/author/src/pv_author_sdkinfo.h @@ -21,7 +21,7 @@ // This header file is automatically generated at build-time // *** OFFICIAL RELEASE INFO -- Will not auto update -#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1300558" +#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1301300" #define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20100305 #endif //PV_AUTHOR_SDKINFO_H_INCLUDED diff --git a/engines/player/src/pv_player_sdkinfo.h b/engines/player/src/pv_player_sdkinfo.h index d2f1c7ba..1faedfb0 100644 --- a/engines/player/src/pv_player_sdkinfo.h +++ b/engines/player/src/pv_player_sdkinfo.h @@ -21,7 +21,7 @@ // This header file is automatically generated at build-time // *** OFFICIAL RELEASE INFO -- Will not auto update -#define PVPLAYER_ENGINE_SDKINFO_LABEL "1300558" +#define PVPLAYER_ENGINE_SDKINFO_LABEL "1301300" #define PVPLAYER_ENGINE_SDKINFO_DATE 0x20100305 #endif //PV_PLAYER_SDKINFO_H_INCLUDED diff --git a/oscl/unit_test/src/xml_test_interpreter.cpp b/oscl/unit_test/src/xml_test_interpreter.cpp index 589987f8..e1ba4a13 100644 --- a/oscl/unit_test/src/xml_test_interpreter.cpp +++ b/oscl/unit_test/src/xml_test_interpreter.cpp @@ -1,5 +1,5 @@ /* ------------------------------------------------------------------ - * Copyright (C) 1998-2009 PacketVideo + * Copyright (C) 1998-2010 PacketVideo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -91,7 +91,14 @@ xml_test_interpreter::interpretation(const test_result& result, _STRING executab for (iter = result.subresults().begin(); iter != end; ++iter) { test_result& sub_result = *iter; - doc.addAttribute("name", sub_result.get_name()); + if (sub_result.get_name() == NULL) + { + doc.addAttribute("name", "undefined"); + } + else + { + doc.addAttribute("name", sub_result.get_name()); + } doc.start("testcase"); add_problems(doc, "failure", sub_result.failures()); add_problems(doc, "error", sub_result.errors());