×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    5

    Test case for DRM

    Hi,

    I need to write a small test application, which should require DRM capability *only*. This test app will be signed with different certificates. Depending on the type of the signing certificate, the installation should be denied or given "ok" by a symbian 9.0 device.

    The purpose of the test is to check whether the device will install a DRM app or deny the installation correctly, depending on the cert type.

    Could anyone think of a test case that requires only DRM capability? (A test that reads a DRM-protected file from somewhere for playback wouldn't work here because it involves ReadUserData/AllFiles capabilities as well.) The test app must require only DRM capability alone.

    thanx.

  2. #2
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    Re: Test case for DRM

    Why does the app actually have to do something? We always testing Software Install with applications of the form TInt E32Main() { return KErrNone; }

    It's the header that counts, not the code.
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    5

    Re: Test case for DRM

    The test program should do something because in case it is installable, I want to execute the code to verify that the capability is really granted.

  4. #4
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    Re: Test case for DRM

    All right, how about:

    TInt E32Main()
    {
    RProcess me;
    return me.HasCapability(ECapabilityDRM) ? KErrNone : KErrPermissionDenied;
    }

    Seems a bit odd to me though, it isn't like the executable is going to transmute to not having DRM after you've built it.
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

  5. #5
    Registered User
    Join Date
    Aug 2007
    Posts
    5

    Re: Test case for DRM

    I just wanna make sure that the execution will be ok (i.e. no error code) and no panic will be raised and such.

    thanks for your quick replies!

Similar Threads

  1. Volume buttons on Symbian 3rd devices
    By viktor_m in forum Symbian
    Replies: 47
    Last Post: 2011-06-07, 08:32
  2. Music resources
    By LiveRock in forum Mobile Java General
    Replies: 9
    Last Post: 2007-12-01, 08:15
  3. test case manager tool
    By siddharthgaonkar in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2006-12-05, 09:24
  4. About Dialog
    By lilesh in forum Symbian User Interface
    Replies: 2
    Last Post: 2005-05-30, 05:11
  5. Replies: 0
    Last Post: 2005-04-07, 08:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×