super(name);
}
public void testCreate() throws Exception {
Sigar sigar = getSigar();
Tcp tcp;
try {
tcp = sigar.getTcp();
} catch (SigarNotImplementedException e) {
return;
} catch (SigarPermissionDeniedException e) {
return;
}
traceln("");
assertValidFieldTrace("ActiveOpens", tcp.getActiveOpens());
assertValidFieldTrace("PassiveOpens", tcp.getPassiveOpens());
assertValidFieldTrace("AttemptFails", tcp.getAttemptFails());
assertValidFieldTrace("EstabResets", tcp.getEstabResets());
assertValidFieldTrace("CurrEstab", tcp.getCurrEstab());
assertValidFieldTrace("InSegs", tcp.getInSegs());
assertValidFieldTrace("OutSegs", tcp.getOutSegs());
assertValidFieldTrace("RetransSegs", tcp.getRetransSegs());
assertValidFieldTrace("OutRsts", tcp.getOutRsts());
}