diff -r 641f389e9157 -r a71299154b21 contentmgmt/cafstreamingsupport/test/tscaf/source/tkeystreamsink.cpp --- a/contentmgmt/cafstreamingsupport/test/tscaf/source/tkeystreamsink.cpp Tue Aug 31 17:00:08 2010 +0300 +++ b/contentmgmt/cafstreamingsupport/test/tscaf/source/tkeystreamsink.cpp Wed Sep 01 12:40:57 2010 +0100 @@ -67,6 +67,7 @@ encryptedStr.Append(*ro->Key()); CleanupStack::PopAndDestroy(ro); +#ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY //Create an SDP document object and set the created key stream field object CSdpDocument* sdpDoc = CreateSdpDocumentLC(); //Create an SDP key stream field object with an attribute requiring the service protected RO @@ -112,6 +113,9 @@ } CleanupStack::PopAndDestroy(4, sdpDoc); // fOutputKey, decoder, sink, sdpDoc +#endif + + return TestStepResult(); } @@ -171,6 +175,7 @@ CopyFile2AgentsPrivateFolderL(iParent.Fs(), KProgramProtectedRo(), privatePathA); CopyFile2AgentsPrivateFolderL(iParent.Fs(), KProgramProtectedRo(), privatePathB); +#ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY //Create an SDP document object and set the created key stream field object for each decoder CSdpDocument* sdpDoc = CreateSdpDocumentLC(); @@ -279,5 +284,6 @@ CleanupStack::PopAndDestroy(2, sinkB); //< decoderB, sink B CleanupStack::PopAndDestroy(2, sinkA); //< decoderA, sinkA CleanupStack::PopAndDestroy(sdpDoc); //< sdpDoc +#endif return TestStepResult(); }