public class JQNUMTools extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JQNUMTools.Rule
List of JQNUM rules
|
static class |
JQNUMTools.TypeStrategy
List of type strategies
|
Constructor and Description |
---|
JQNUMTools()
Constructor JQNUMTools
for tested main
|
JQNUMTools(String name)
Constructor
for JQNUM main
|
Modifier and Type | Method and Description |
---|---|
void |
addFilter(String filter)
addFilter
|
void |
addJQNUMRuleValue(JQNUMTools.TypeStrategy type,
String label,
double value)
addJQNUMRuleValue
|
void |
addJQNUMRuleValue(String label,
double value)
addJQNUMRuleValue
|
void |
addSystemFilter(String filter)
add a system filter to JQNUM
|
boolean |
deleteJQNUMReportFiles()
Deletes the report file directory.
|
void |
endRun()
endRun
Making results file at the end of run
|
String |
getJQNUMProperty()
getJQNUMProperty "rule"
|
String |
getJQNUMProperty(String key)
getJQNUMProperty
|
void |
makeJQNUMReport()
makeJQNUMReport
make the report file
|
void |
runEXTENDEDPRECISION(int nb)
runEXTENDEDPRECISION
|
void |
runFIXEDPRECISION(int nb)
runFIXEDPRECISION.
|
void |
runNOCHANGE()
runNOCHANGE.
|
void |
runSTOCHASTIC()
runSTOCHASTIC
|
void |
runSTRICTMATH()
runSTRICTMATH.
|
public JQNUMTools(String name) throws IOException, jqnum.core.JqnumException
name
- name of tested mainIOException
- ejqnum.core.JqnumException
- epublic JQNUMTools()
public final String getJQNUMProperty() throws IOException
IOException
- epublic final String getJQNUMProperty(String key) throws IOException
key
- property keyIOException
- epublic final void runNOCHANGE()
public final void runSTRICTMATH()
public final void runFIXEDPRECISION(int nb)
nb
- number of significant decimal digit representationpublic final void runEXTENDEDPRECISION(int nb)
nb
- number of bits to roundpublic final void runSTOCHASTIC()
public final void addFilter(String filter)
filter
- add a filterpublic final void addSystemFilter(String filter)
filter
- the system filter to add. Ex : "javax/*/*/*/*" .public final void endRun() throws IOException
IOException
- epublic final void makeJQNUMReport() throws IOException
IOException
- epublic final boolean deleteJQNUMReportFiles()
public final void addJQNUMRuleValue(String label, double value)
label
- Name of datavalue
- Value of datapublic final void addJQNUMRuleValue(JQNUMTools.TypeStrategy type, String label, double value)
type
- Type of test strategylabel
- Name of datavalue
- Value of dataCopyright © 2018 CNES. All Rights Reserved.