Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: fix 123549: Unit test has errors on 20060112

- Summary:
Fix 123549: Unit test has errors on 20060112


- Bugzilla Bug (s) Resolved:
123549: Unit test has errors on 20060112


- Description:
If there is conversion from String to Date in test case, there will be a potential problem that whether such kind of conversion can be done depends on the Locale of the test machine. Additionally, developer can not be aware of the problem since it might be successful in developer’s machine. A safe approach is

1: Generate a date from user defined string with Locale.US by DateFormat.parse

2: Generate a date string with Loacle.US by DateFormat.format.


- Tests Description:
Junit Test


- Files Edited:
/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/api/FeaturesTest.java


- Files Added:

N/A

 

- Notes to Build Team:
N/A


- Notes to Developers:
N/A


- Notes to QA: 
 

N/A

 

- Notes to Documentation:  
N/A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Back to the top