1 /******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 ******************************************************************************/
11 import from Test360A all;
13 const MyChoiceType myChoiceValue1B
16 const MyChoiceType myChoiceValue2B
19 const MyChoiceType myChoiceValue3B
20 := {field3 := '0011'B}
22 const MyChoiceType myChoiceValue4B
23 := {field4 := 'FFFF'O}
25 const MyChoiceType myChoiceValue5B
35 const MyChoiceType myChoiceValue6B
45 const MyChoiceType myChoiceValue7B
46 := {field7 := {field5 := '101010'B } }
48 type component MyMainComponent
51 testcase Test() runs on MyMainComponent
54 if ((myChoiceValue1A == myChoiceValue1B)
55 and (myChoiceValue2A == myChoiceValue2B)
56 and (myChoiceValue3A == myChoiceValue3B)
57 and (myChoiceValue4A == myChoiceValue4B)
58 and (myChoiceValue5A == myChoiceValue5B)
59 and (myChoiceValue6A == myChoiceValue6B)
60 and (myChoiceValue7A == myChoiceValue7B))
61 {setverdict ( pass );}
62 else { setverdict ( fail );}