[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-server-cvs
Subject:    [Server-cvs] include hxplaylist.h,1.5,1.6
From:       srao () helixcommunity ! org
Date:       2008-08-02 0:44:59
Message-ID: 200808020047.m720ljW0026644 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/server/include
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv13231

Modified Files:
	hxplaylist.h 
Log Message:
Synopsis
========
PhaseII: Implement Unit Test frame work for PlaylistManager and test the phase-1 \
functionality using frame work

Branches: SERVER_12_1_RN, SERVER_CURRENT_RN Suggested Reviewer: Jamie, JJ

Description
===========
1. Added new target server-restricted_dataype_playlist_unittest to build system to \
down load PlaylistManager unit test code and related modules. (attached \
build_diff.txt)

2. Modified frame work to (ut_fw_diff.txt, playlist_piids.h)
	1. Support Playlist Manager objects 
	2. xalan helper to support empty strings.
	3. smil is only working with expat parser, so modified UT class factory to generate \
expat parser instead old XML parser.   4. Added Mock classes for fs-manager and \
server-request.

3. Fixed bugs found while doing unit testing and added couple of methods to process \
other parameters (plmgr_diff.txt) 4. PlaylistManager unit test frame work files added \
(which includes new source code and test cases in xml format) 5. Modified smil parser \
header file to make parseClockValue() method public. This method is needed in \
Playlist Manager to parse src-duration.


Files Affected
==============
/server-restricted/build/BIF/SERVER_12_1_COMMON_restricted.bif
/home/source/build/BIF/SERVER_12_1-internal.bif

/server/tools/unittest/framework/ut_testdriver.h

/server/tools/unittest/services/Umakefil
/server/tools/unittest/services/pub/ut_fsmanager.h [new file] \
/server/tools/unittest/services/pub/ut_server_request.h [new file] \
/server/tools/unittest/services/ut_fsmanager.cpp [new file] \
/server/tools/unittest/services/ut_server_request.cpp [new file]

/server/tools/unittest/services/ut_clfact.cpp
/server/tools/unittest/services/ut_context.cpp
/server/tools/unittest/services/pub/ut_clfact.h

/server/tools/unittest/utils/Umakefil
/server/tools/unittest/utils/iids.cpp
/server/tools/unittest/xalanhelper/ut_xalanhelper.cpp
/server/tools/unittest/utils/pub/playlist_piids.h [new file]

/server-restricted/datatype/playlist/unittest/plmgr_test_driver.cpp [new file] \
/server-restricted/datatype/playlist/unittest/plmgr_test_driver.h [new file] \
/server-restricted/datatype/playlist/unittest/ut_main.cpp [new file] \
/server-restricted/datatype/playlist/unittest/Umakefil [new file] \
/server-restricted/datatype/playlist/unittest/UnitTestConfig.xsd [new file] \
/server-restricted/datatype/playlist/unittest/ut_plmgr.xml [new file] \
/server-restricted/datatype/playlist/plmgr.cpp \
/server-restricted/datatype/playlist/pub/plmgr.h

/server/include/hxplaylist.h

/datatype/smil/renderer/smil2/pub/smlparse.h


Testing Performed
=================
Executed 23 test cases (written in file ut_plmgr.xml) and found all tests are passing

Build verified: win32-i386-vc7

Platforms tested: win32-i386-vc7

QA Hints
===============
None



Index: hxplaylist.h
===================================================================
RCS file: /cvsroot/server/include/hxplaylist.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- hxplaylist.h	1 Aug 2008 19:41:19 -0000	1.5
+++ hxplaylist.h	2 Aug 2008 00:44:56 -0000	1.6
@@ -133,7 +133,7 @@
      */
     STDMETHOD(GetNextPlaylistItem) (THIS_ ) PURE;
     STDMETHOD(GetPrevPlaylistItem) (THIS_ ) PURE;
-
+    STDMETHOD(GetCurrPlaylistItem) (THIS_ ) PURE;
     STDMETHOD(GetPlaylistHeaderValues) (THIS_ IHXValues** pHeaderValues) PURE;
 };
 


_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic