Ferrari Massimo | 16 Aug 2004 15:10
Picon

RE: Emma HTML report shows uncovered line although it is

No exception is thrown.
I have extrapolated a simple test case which reproduces the error, please let me know where to upload it because it is 3 MB of data...
You have to configure a datasource in XADataSourceWrapper.java (I'm using oracle) and set the correct JAVA_HOME in build/setenv.bat.
Then run build/build.bat in the build directory.
The HTML is stored under docs/coverage.
Best Regards!
Massimo
 
-----Original Message-----
From: vlad-+F+d0juzi95BDgjK7y7TUQ@public.gmane.org [mailto:vlad-+F+d0juzi95BDgjK7y7TUQ@public.gmane.org]
Sent: Montag, 16. August 2004 14:45
To: emma-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [EMMA-users] Emma HTML report shows uncovered line although it is


Does _xaDataSource.getXAConnection(user, password) throw exception?



Please respond to emma-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

Sent by:        emma-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

To:        <emma-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
cc:        

Subject:        [EMMA-users] Emma HTML report shows uncovered line although it is

I have a very simple class which delegate calls to an XADataSource.
Although the method getXAConnection(String userName, String password) is called (I see a log in the stdout), the HTML report shows is as uncovered (red lines).
Am I doing something wrong or is it a ... bug?
I attached the class.
Best regards
Massimo
<<source file>>


Gmane