Merge branch '13.09dev' into feature-configtab
This commit is contained in:
commit
1d36ab5eaf
@ -105,6 +105,7 @@
|
|||||||
<exclude name="Test.class" />
|
<exclude name="Test.class" />
|
||||||
</fileset>
|
</fileset>
|
||||||
<formatter type="xml"/>
|
<formatter type="xml"/>
|
||||||
|
<formatter type="plain" usefile="false" />
|
||||||
</batchtest>
|
</batchtest>
|
||||||
</junit>
|
</junit>
|
||||||
<junitreport todir="${tmp.dir}">
|
<junitreport todir="${tmp.dir}">
|
||||||
|
@ -104,7 +104,7 @@ public abstract class Unit {
|
|||||||
|
|
||||||
val = roundForDecimalFormat(val);
|
val = roundForDecimalFormat(val);
|
||||||
// Check for approximate integer
|
// Check for approximate integer
|
||||||
if (Math.abs(val - Math.floor(val)) < 0.001) {
|
if (Math.abs(val - Math.floor(val)) < 0.0001) {
|
||||||
return intFormat.format(val);
|
return intFormat.format(val);
|
||||||
}
|
}
|
||||||
return decFormat.format(val);
|
return decFormat.format(val);
|
||||||
|
@ -285,6 +285,7 @@ ${nonascii}</fail>
|
|||||||
<exclude name="Test.class" />
|
<exclude name="Test.class" />
|
||||||
</fileset>
|
</fileset>
|
||||||
<formatter type="xml"/>
|
<formatter type="xml"/>
|
||||||
|
<formatter type="plain" usefile="false" />
|
||||||
</batchtest>
|
</batchtest>
|
||||||
</junit>
|
</junit>
|
||||||
<junitreport todir="${tmp.dir}">
|
<junitreport todir="${tmp.dir}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user