Skip to main content

[JSR-354] TCK tests finished in a first release

  • From: Anatole Tresch <atsticks@...>
  • To: Jsr 354 JavaMoney Public Mailinglist <jcurrency_mail@...>
  • Subject: [JSR-354] TCK tests finished in a first release
  • Date: Wed, 4 Jun 2014 08:19:33 +0200

Dear all,

just wanted to inform you that I have all TCK tests implemented so far. I
will have to go over the TCK again, e.g. during some Hackergarten events
and add more test messages and more detailed Javadoc. Also the TCK must be
repackaged, so it can be easily combined with an arbitrary implementation
and yes, there must be some TCK guide written (already started in
asciidoc). But I think this is an important step.
Also with the current RO all test now run green.

From the code side there is basically only one small adaptation on the
spec, I would propose:

Currently the spec defines at some locations that MonetaryAmount
implementation must throw an ArithemticException, when the amounts operated
exceed the internal capabilities. I would suggest to change this to throw a
MonetaryException instead of. It makes life easier for developers, because
they can focus on catching MonetaryException only and do not need to have
know how in where an ArithemticException may be thrown or not. Additionally
it is also clear, that when a MonetaryException is thrown it must have its
origin in the money API, which makes analysis simpler.

WDYT?

Cheers,
Anatole


-- 
*Anatole Tresch*
Java Lead Engineer, JSR Spec Lead
Glärnischweg 10
CH - 8620 Wetzikon

*Switzerland, Europe Zurich, GMT+1*
*Twitter:  @atsticks*
*Blogs: **http://javaremarkables.blogspot.ch/
<http://javaremarkables.blogspot.ch/>*

*Google: atsticksMobile  +41-76 344 62 79*


[JSR-354] TCK tests finished in a first release

Anatole Tresch 06/04/2014

[JSR-354] Re: TCK tests finished in a first release

Simon Martinelli 06/04/2014

[JSR-354] Re: TCK tests finished in a first release

Werner Keil 06/04/2014

[JSR-354] Re: TCK tests finished in a first release

Daniel Bryant 06/05/2014

[JSR-354] Re: TCK tests finished in a first release

tom.huesler@... 06/04/2014

[JSR-354] Re: TCK tests finished in a first release

Otávio Gonçalves de Santana 06/04/2014

[JSR-354] Re: TCK tests finished in a first release

Mohamed Taman 06/04/2014

[JSR-354] Re: TCK tests finished in a first release

Anatole Tresch 06/04/2014

[JSR-354] Re: TCK tests finished in a first release

Stephen Colebourne 06/05/2014

[JSR-354] Re: TCK tests finished in a first release

Werner Keil 06/05/2014

[JSR-354] Re: TCK tests finished in a first release

Tresch, Anatole 06/10/2014
 
 
Close
loading
Please Confirm
Close