Loading javasrc/com/iskratel/ttcn/tri/VxlteAdapter.java +6 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,7 @@ import com.testingtech.ttcn.tri.TriStatusImpl; import de.tu_berlin.cs.uebb.muttcn.runtime.RB; import net.sourceforge.jpcap.capture.PacketCapture; public class VxlteAdapter extends TestAdapter implements TriCommunicationSA, TriPlatformPA, TciEncoding, TestCaseParameterServer { Loading Loading @@ -179,6 +180,11 @@ public class VxlteAdapter extends TestAdapter implements TriCommunicationSA, Tri if (portName.contains("acPort")) { //New test started ... try{ PacketCapture pcap=new PacketCapture(); }catch(Exception e){ return new TriStatusImpl("Check presence of PCAP library on operating system!"); } IotConnectionOffline adapter = new IotConnectionOffline(log, Cte); adapter.setTraceFile(ROOTFOLDERTRACEFILE+this.testcaseName+".pcapng"); baseAdapter = adapter; Loading Loading
javasrc/com/iskratel/ttcn/tri/VxlteAdapter.java +6 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,7 @@ import com.testingtech.ttcn.tri.TriStatusImpl; import de.tu_berlin.cs.uebb.muttcn.runtime.RB; import net.sourceforge.jpcap.capture.PacketCapture; public class VxlteAdapter extends TestAdapter implements TriCommunicationSA, TriPlatformPA, TciEncoding, TestCaseParameterServer { Loading Loading @@ -179,6 +180,11 @@ public class VxlteAdapter extends TestAdapter implements TriCommunicationSA, Tri if (portName.contains("acPort")) { //New test started ... try{ PacketCapture pcap=new PacketCapture(); }catch(Exception e){ return new TriStatusImpl("Check presence of PCAP library on operating system!"); } IotConnectionOffline adapter = new IotConnectionOffline(log, Cte); adapter.setTraceFile(ROOTFOLDERTRACEFILE+this.testcaseName+".pcapng"); baseAdapter = adapter; Loading