Commit 29809139 authored by juvancic's avatar juvancic
Browse files

TA source code minor update

parent be002fbc
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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 {
@@ -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;