Re: [E-devel] Eina Coverage tests

2011-05-30 Thread The Rasterman
On Tue, 17 May 2011 17:56:16 +0300 Tom Hacohen
tom.haco...@partner.samsung.com said:

eina_prefix actually is hard to test given the test harness as it relies on an
installation following a certain standard :( can't really do it given the test
setup.

 Hey,
 
 I just ran eina coverage and a lot of the code is not tested :(
 
 Mainly:
 eina_file, eina_log, eina_module, eina_object, eina_prefix,
 eina_simple_xml_parser, and eina_str.
 
 Whoever is responsible for each part, please fix.
 
 Thanks,
 Tom.
 
 
 --
 Achieve unprecedented app performance and reliability
 What every C/C++ and Fortran developer should know.
 Learn how Intel has extended the reach of its next-generation tools
 to help boost performance applications - inlcuding clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina Coverage tests

2011-05-30 Thread Tom Hacohen
:( 

On Mon, 2011-05-30 at 17:59 +0900, Carsten Haitzler wrote:
 On Tue, 17 May 2011 17:56:16 +0300 Tom Hacohen
 tom.haco...@partner.samsung.com said:
 
 eina_prefix actually is hard to test given the test harness as it relies on an
 installation following a certain standard :( can't really do it given the test
 setup.
 
  Hey,
  
  I just ran eina coverage and a lot of the code is not tested :(
  
  Mainly:
  eina_file, eina_log, eina_module, eina_object, eina_prefix,
  eina_simple_xml_parser, and eina_str.
  
  Whoever is responsible for each part, please fix.
  
  Thanks,
  Tom.
  
  
  --
  Achieve unprecedented app performance and reliability
  What every C/C++ and Fortran developer should know.
  Learn how Intel has extended the reach of its next-generation tools
  to help boost performance applications - inlcuding clusters.
  http://p.sf.net/sfu/intel-dev2devmay
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
 
 



--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina Coverage tests

2011-05-30 Thread Gustavo Sverzut Barbieri
On Mon, May 30, 2011 at 5:59 AM, Carsten Haitzler ras...@rasterman.com wrote:
 On Tue, 17 May 2011 17:56:16 +0300 Tom Hacohen
 tom.haco...@partner.samsung.com said:

 eina_prefix actually is hard to test given the test harness as it relies on an
 installation following a certain standard :( can't really do it given the test
 setup.

hard but not impossible. You can just create some directory with the
expected setup and in the test you putenv() before entering it. Then
you know what you got and what you'll have.

but it's boring... and bit time consuming :-)


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina Coverage tests

2011-05-30 Thread The Rasterman
On Mon, 30 May 2011 11:54:22 -0300 Gustavo Sverzut Barbieri
barbi...@profusion.mobi said:

 On Mon, May 30, 2011 at 5:59 AM, Carsten Haitzler ras...@rasterman.com
 wrote:
  On Tue, 17 May 2011 17:56:16 +0300 Tom Hacohen
  tom.haco...@partner.samsung.com said:
 
  eina_prefix actually is hard to test given the test harness as it relies on
  an installation following a certain standard :( can't really do it given
  the test setup.
 
 hard but not impossible. You can just create some directory with the
 expected setup and in the test you putenv() before entering it. Then
 you know what you got and what you'll have.
 
 but it's boring... and bit time consuming :-)

well i also have to move the binary to be in a specific directory then
re-execute it from there... and then a data file is expected in another
specific dir and so on... it's not just another simple test. its a whole new
style of test all on its own that requires a specialised tree. just to test the
normal path :)


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina Coverage tests

2011-05-17 Thread Gustavo Sverzut Barbieri
On Tue, May 17, 2011 at 11:56 AM, Tom Hacohen
tom.haco...@partner.samsung.com wrote:
 Hey,

 I just ran eina coverage and a lot of the code is not tested :(

 Mainly:
 eina_file, eina_log, eina_module, eina_object, eina_prefix,
 eina_simple_xml_parser, and eina_str.

 Whoever is responsible for each part, please fix.

all the new parts! how unexpected :-D

I did a test with my initial simple_xml_parser, someone can find out
in the mail and convert it in a test?


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina Coverage tests

2011-05-17 Thread Tom Hacohen
On Tue, 2011-05-17 at 12:22 -0300, Gustavo Sverzut Barbieri wrote:
 all the new parts! how unexpected :-D
 
 I did a test with my initial simple_xml_parser, someone can find out
 in the mail and convert it in a test?

Sorry, don't have time for that.

Everyone who added new stuff but didn't add tests, go and fix your work!

--
Tom.



--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina Coverage tests

2011-05-17 Thread Gustavo Sverzut Barbieri
I did not add it :)

On May 17, 2011 12:48 PM, Tom Hacohen tom.haco...@partner.samsung.com
wrote:

On Tue, 2011-05-17 at 12:22 -0300, Gustavo Sverzut Barbieri wrote:
 all the new parts! how unexpect...
Sorry, don't have time for that.

Everyone who added new stuff but didn't add tests, go and fix your work!

--
Tom.
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina Coverage tests

2011-05-17 Thread sangho park
o.. sorry..
'eina_simple_xml_parse' was requested by me..
i'll add test to eina.


 Date: Tue, 17 May 2011 13:29:28 -0300
 From: Gustavo Sverzut Barbieri barbi...@profusion.mobi
 Subject: Re: [E-devel] Eina Coverage tests
 To: Tom Hacohen tom.haco...@partner.samsung.com
 Cc: enlightenment-devel enlightenment-devel@lists.sourceforge.net
 Message-ID: banlktikxfvef8erge5gomnd4ny4wcap...@mail.gmail.com
 Content-Type: text/plain; charset=UTF-8

 I did not add it :)

 On May 17, 2011 12:48 PM, Tom Hacohen tom.haco...@partner.samsung.com
 wrote:

 On Tue, 2011-05-17 at 12:22 -0300, Gustavo Sverzut Barbieri wrote:
  all the new parts! how unexpect...
 Sorry, don't have time for that.

 Everyone who added new stuff but didn't add tests, go and fix your work!

 --
 Tom.

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel