|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttest.java.Tests
public class Tests
The general Aida test and demo suite.
Each method of this class, Test01, Test02, ...
tests and demonstrates some API function of Aida.
daAIDATest| Constructor Summary | |
|---|---|
Tests(java.lang.String[] args)
|
|
| Method Summary | |
|---|---|
void |
run(int testNumber)
|
void |
Test01()
Gets double value. |
void |
Test02()
Gets float value with reference. |
void |
Test03()
Gets simple structured value. |
void |
Test04()
Gets small data structure by reference. |
void |
Test05()
Gets small data structure, given parameters. |
void |
Test06()
Gets small data structure, given parameters, all parameters in one string. |
void |
Test07()
Gets small data structure, given parameters, plus filtering for only first n values. |
void |
Test08()
Gets all of, plus dynamically evaluated sub-array of, an array of aggregate data structures. |
void |
Test09()
Gets small data structure by complied reference, given parameters on the reference object . |
void |
Test10()
Gets array of double, given parameters on the DaObject, by compiled reference. |
void |
Test11()
Gets IDL defined structure on server into DaValue on client, using DaObject (ie via DaServer). |
void |
Test12()
Gets IDL defined structure on server into DaValue on client, using DaReference (ie skipping DaServer). |
void |
Test13()
Gets IDL struct on server into same IDL struct on client, using DaReference, given parameters. |
void |
Test14()
Gets IDL struct on server into same IDL struct on client, using DaReference, given parameters. |
void |
Test15()
Gets a float using the simplest Aida API function, 1000 times. |
void |
Test16()
Gets a float by reference through daServer 1000 times. |
void |
Test17()
Gets a float by reference directly to Data Provider 1000 times. |
void |
Test18()
|
void |
Test19()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tests(java.lang.String[] args)
| Method Detail |
|---|
public void run(int testNumber)
public void Test01()
Double v = (Double)da.get("TEST//VAL", DaValue.Type.DOUBLE);
public void Test02()
Float v =
(Float)da.get(DaReference("TEST//VAL"));
public void Test03()
DaValue v =
da.getDaValue("TEST//VAL")
public void Test04()
DaValue =
DaReference.getDaValue() .
public void Test05()
DaValue = daObject.getDaValue("TEST//VAL");
public void Test06()
daObject.setParam("=");
DaValue = daObject.getDaValue("TEST//VAL");
public void Test07()
DaValue =
daObject.getDaValue("TEST//VAL[1-4]");
public void Test08()
DaObject.getDaValue("all={TEST//VAL},
constrained={TEST//VAL[(#LENGTH-4)-]}");
public void Test09()
DaObject da; DaReference r = new DaReference("TEST//VAL");
r.compile(da); DaValue = r.getDaValue()
public void Test10()
r.setType(DaValue.Type.DOUBLEA); da.geta(r)
public void Test11()
DaValue v = da.getDaValue("TEST//VAL.HIST");
public void Test12()
public void Test13()
histData f = histDataHelper.extract(r.getAny());
public void Test14()
public void Test15()
public void Test16()
DaObject.get(DaReference("TEST//VAL"));
public void Test17()
DaReference.get("TEST//VAL");
public void Test18()
public void Test19()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||