Commit d9329c1c authored by Andreas Liebig's avatar Andreas Liebig
Browse files

Add basic LIS tplan

parent 06cb0bfa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<viewpoint:DAnalysis xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" xmlns:viewpoint="http://www.eclipse.org/sirius/1.1.0" xsi:schemaLocation="http://www.eclipse.org/sirius/description/1.1.0 http://www.eclipse.org/sirius/1.1.0#//description" xmi:id="_9-UMcD2IEei4B7a1koB26w" selectedViews="_-3AvAD2IEei4B7a1koB26w" version="12.1.0.201708031200">
  <semanticResources>model.tdl</semanticResources>
  <semanticResources>test_purposes/lis.tplan2</semanticResources>
  <ownedViews xmi:type="viewpoint:DView" xmi:id="_-3AvAD2IEei4B7a1koB26w">
    <viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.etsi.mts.tdl.graphical.viewpoint/description/TDL.odesign#//@ownedViewpoints[name='org.etsi.mts.tdl']"/>
  </ownedViews>
+64 −0
Original line number Diff line number Diff line
/* ETSI Software License
* As long as the hereunder conditions are respected, non-exclusive permission is hereby granted,
* free of charge, to use, reproduce and modify this software source code, under the following conditions:
* This source code is provided �AS IS� with no warranties, express or implied, including but not limited to,
* the warranties of merchantability, fitness for a particular purpose and warranties for non-infringement
* of intellectual property rights.
* ETSI shall not be held liable in any event for any direct or indirect damages whatsoever (including, without
* limitation, damages for loss of profits, business interruption, loss of information, or any other pecuniary
* loss) arising out of or related to the use of or inability to use the source code.
* This permission is granted to facilitate the implementation of the related ETSI standard, provided that
* ETSI is given the right to use, reproduce and amend the modified source code under the same conditions
* as the present permission.
* This permission does not apply to any documentation associated with this source code for which ETSI keeps
* all rights reserved.
* The present ETSI Source Code license shall be included in all copies of whole or part of this source code
* and shall not imply any sub-license right.
* (c) ETSI 2018
*/
 

Package tplan_lis {
		Domain {
			pics:
				- pic_lis_basic
				- pic_lis_advanced;
			entities:
				- lis;
			events:
				- receives
				- sends
				- havingLocationMappingFor;
		}
				
		Test Purpose {
		    TP Id TP_lis_B1
				
			Test objective 
		 			"HELD request with locationType geodetic returns the existing location by value." 
			
			Reference 
				"http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf, Section 4.10",
				"https://tools.ietf.org/html/rfc5985"
			
			PICS Selection pic_lis_basic
		
			Initial conditions with {
				the lis entity havingLocationMappingFor the "identifier"
			}
		
			Expected behaviour
			ensure that {
				when {
					the lis entity receives a held_request containing 
						uri indicating value "identifier",
						locationType indicating value "geodetic";
				}
				then {
					the lis entity sends a held_response containing 
						response_code indicating value 200,
						response_body indicating value "[]";					
				}
			}
	}
}
 No newline at end of file