symbian os unit download
Home arrow Community Forum
Symbian OS Unit
Welcome, Guest
Please Login or Register.    Lost Password?
Comments on UIQ3 version from Matthias Reik (1 viewing) (1) Guest
This is the forumheader in the basic forum information
Go to bottom Post Reply Favoured: 0
TOPIC: Comments on UIQ3 version from Matthias Reik
#3
Matthias Reik (Admin)
Admin
Posts: 6
graphgraph
User Online Now Click here to see the profile of this user
Comments on UIQ3 version from Matthias Reik 3 Years, 5 Months ago Karma: 0  
Matthias made the following comments based on a personal project of his:

I don't really have enough spare time to make a nice release of SymUnit, still I think it might be useful for you to receive the input I mentioned when we met the last time. So here we go:

1) As from UIQ 3.1 you could also use the SVG, however the mbm would be backward compatible to 3.0:
CAPTION_AND_ICON_INFO
{
caption = "SymbianOSUnit";
number_of_icons = 3;
icon_file = "\\Resource\\Apps\\SymbianOSUnit.svg";
}
2) For this kind of testing you definitely do not want to have the fancy memory checking/freeing mechanism and therefore you should
remove (this will also cause the memory size-checking to return the wrong non-useful value).
// STATICLIBRARY qikalloc.lib
// LIBRARY qikallocdll.lib

3) I think a namespace should be ended by a semicolon
namespace TestUtils
{

TBool WaitForActiveSchedulerStopL( TInt aTimeoutSeconds );
enum TThreadWaitOption { EWaitForExit, ENoWaitForExit };
void RunInSeparateThreadL( const TCallBack& aFunctionToRun, TThreadWaitOption aWaitForExit = EWaitForExit );
}

4) Ease your life by changing the small testgen.bat script. What's wrong in including ALL header files? Thereby you do not need to edit the script anymore
rem Created by Penrillian, Smartphone Software Innovators
rem See http://www.penrillian.com
perl -S ..\..\SymbianOSUnit\cxxtestgen.pl -o *.h
@pause

Cheers
Maze
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#7
Maze (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Announcement: Version 2.0 alpha released 3 Years ago Karma: 0  
Hello all!

damn! This forum seams to have a timeout so I have to rewrite my post once more So here we go again (maybe a bit shorter this time) ...

First of all I would like to wish you a Happy New Year!

Since the above post, I have made some major changes to the testing framework. IMHO this is worth to become version 2.0 of the SymbianOsUnit testFW (but currently only in alpha stage). The main improvements are:
  1. Creation of TestDlls and support for several of those. So no more problem if you work with a multi-DLL project
  2. More scripts for easier test setup
  3. A lot of cleanup, defect fixing, stability improvements, readable TestDriver, ...

This was however not possible without also some drawbacks
  1. No PlatformSecurity capabilities for the tests (why would you want those?
  2. Some breaks with the previous version
    1. Log files have not a hardcoded name
    2. Class name changes (easy to fix)
    3. XML structure changed
    4. ... (Maybe something more I can't remember)

  3. Not tested with CruiseControl (yet).
  4. Not tested on hardware (yet)

For all the details, you can have a look at the SymUnit\ReadMe.txt file for all the changes I have made (in chronological order).

It should also be noted that the work is not fully finished, and therefore I still expect some changes in the API which means you will have to recompile your TestDLLs once I release newer versions (no BC guarantee yet).

That's it for now... have fun and please report ideas, problems, .... back to me as a response to this post, but don't blame me if the testFW ate your cat... use it on your own risk!

Once again Happy New Year

Cheers
Maze

PS: I have been using first UIQ (3.3 beta) later S60 (5th edition) for the development. Thus those should work best.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8
Maze (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Announcement: Version 2.0 alpha released 3 Years ago Karma: 0  
Unfortunately the Forum only allows file sizes below 200k so I had to split up the archive
 
Report to moderator   Logged Logged  
 
Last Edit: 2009/01/09 16:03 By Maze. Reason: Wrong file attached :-(
  The administrator has disabled public write access.
#9
Maze (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Announcement: Version 2.0 alpha released 3 Years ago Karma: 0  
here comes part 1 of the zip file...
File Attachment:
File Name: SymUnit_v2-a6a53b2586319ba8796d9e7a97525170.zip
File Size: 189489
 
Report to moderator   Logged Logged  
 
Last Edit: 2009/01/09 16:15 By Maze.
  The administrator has disabled public write access.
#10
Maze (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Announcement: Version 2.0 alpha released 3 Years ago Karma: 0  
Deleted (still trying to work my way around all the limitations of this forum )
 
Report to moderator   Logged Logged  
 
Last Edit: 2009/01/09 16:21 By Maze. Reason: see post
  The administrator has disabled public write access.
#11
Maze (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Announcement: Version 2.0 alpha released 3 Years ago Karma: 0  
part 2
File Attachment:
File Name: SymUnit_v2-87e0bcf40fb41c2c99491d549ea9e279.zip
File Size: 181361
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Who's Online

We have 28 guests online

Login Form






Lost Password?
No account yet? Register