5
INTEGRATION TEST CASES FOR MOBILE THREAT SIMULATOR Prepared By: - Verified By:- PINAKA Consultant Approved By:-

IntegrationTestCases_Mobile Threat Simulator.docx

Embed Size (px)

Citation preview

Page 1: IntegrationTestCases_Mobile Threat Simulator.docx

INTEGRATION TEST CASES

FOR

MOBILE THREAT SIMULATOR

Prepared By: - Verified By:-

PINAKA Consultant

Approved By:-

DEFENCE AVIONICS RESEARCH ESTABLISHMENTDEFENCE AVIONICS RESEARCH ESTABLISHMENT

MINISTRY OF DEFENCE, CV RAMAN NAGAR POST

Page 2: IntegrationTestCases_Mobile Threat Simulator.docx

Integration Test Cases

Sl.No

Test Case ID

Class Name Method Name

Purpose of Test

Parameters Global and Static Variables

External Variables

Input Values Expected Result Actual Result

Result Remarks

1 MTS_INTGRTNATP_SENDTOCARD_001

StoreAddressFromCsv

GetPulseAddressList

Getting List of Addresses with respect to Channel No. and Emitter No.

Channel No. and Emitter No.

PulseAddress

Channel No:1,Emitter No:2

Returns the List of Addresses as per Emitter and Channel No.

Returned the List of Addresse as per Emitter and Channel No.Pass

Pass MTS_SCNR_SENDTOCARD_001

2 MTS_INTGRTNATP _SENDTOCARD_002

FpgaComm FpgaBindAddressAndData

Binding Address with respective signatures data.

EmitterParam -- -- Addresses Should get the List of all Addresses with data.

List of Addresses and DataPass

Pass

Page 3: IntegrationTestCases_Mobile Threat Simulator.docx

Sl.No

Test Case ID

Class Name Method Name

Purpose of Test

Parameters Global and Static Variables

External Variables

Input Values Expected Result Actual Result

Result Remarks

3 MTS_INTGRTNDIS_SENTOCARD_001

Blhelper GetPacketsToFPGA

Converting Address and Data in the List to Byte Array

Temp -- -- Address:2080000Data:4Address:208004Data:20 and etc.

Returns the addresses and data in the List of byte array format

Byte array of all Address and data.

Pass Pass

4 MTS_INTGRTNDIS_SENDTOCARD_002

ATPFORM SendCommand

Sending Packets to Fpga or Digital control Board.

byte pktType, byte cmdType, byte grain, byte[] addrdata, int pktLength

-- -- 0x32,0x35, 0x02,0x00, 0x00,0x08, 0x02,0x02, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00,23

1 Returns the packet as packet type,command type,grain,byte array of both address and data and packet length.

2 Write the framed packet to serial port that will write to Digital control Board.

Pass Pass

5 MTS_INTGRTNDIS_SENDTOCARD_003

Discrete RecievePfmdata

To Receive Packets from the functional mode and sending to Digital control board.

Sbm,int j. SignByMode

-- List of SignByMode

1 Should generate singnature values and counts as per discrete signatures structure from the received data of

Pass Pass

Page 4: IntegrationTestCases_Mobile Threat Simulator.docx

Sl.No

Test Case ID

Class Name Method Name

Purpose of Test

Parameters Global and Static Variables

External Variables

Input Values Expected Result Actual Result

Result Remarks

functional mode,

2 Should generate value and count to ATP mode structrue and sending to FPGA or Digital control board.