extern /a/b/c/d         
extern /a/b/c/d/e:event        
extern /a/b/c/d/e:meter        

suite trigger_complex
  edit int_var 20
  family familyName
   		task a
        	event 1 theEventName
         	meter myMeter 0 100
   		task b
     	family heir_familyName
         	task taskName0
            	event 0 
            	event 1 eventName
            	meter myMeter 0 100
      	endfamily
   endfamily
   family familyName1
   		trigger familyName == complete                      # this is a comment
        repeat date YMD 20090331 20121212 1 # status 0
        task ref_parent_var_without_path
        	trigger :YMD < 20121212 and :int_var < 40
   		task a
         	event 1 theEventName
         	event aEvent
         	meter myMeter 0 100
   		task b
   			trigger ./a == unknown
   		task c
   			trigger ../familyName/a == complete
   		task d
   			trigger ../familyName/b != aborted
   		task e
   			trigger (a == complete and b == complete)
        task ee
            trigger (a == complete AND b == complete)
   		task f
   			trigger (a == complete and b == complete OR ../familyName/a == complete)
   		task g
   			trigger a:theEventName and a:aEvent
   		task h
   			trigger a:myMeter >= 10
   		task i
   			trigger ../familyName/a:myMeter <= 30
   		task j
   			trigger a == complete                      # this is a comment
   		task k
   		    trigger (a == complete AND b == complete) or (c == complete && d == complete)
   		task l
   			trigger (a == complete and b == complete) OR ../familyName/a:theEventName == set
        task ll
            trigger (a == complete and b == complete) || ../familyName/a:theEventName == set
   		task m
   			trigger ../familyName/heir_familyName/taskName0 == complete
   		task n
   			trigger ../familyName/heir_familyName/taskName0:myMeter >= 10  	     # relative path
  		task o
   			trigger /trigger_complex/familyName/heir_familyName/taskName0:myMeter >= 10  # absolute path
  		task p
   			trigger /a/b/c/d == complete  		                                   # extern path
  		task q
   			trigger /a/b/c/d/e:event == set  		                                # extern event path
 		task r
   			trigger /a/b/c/d/e:meter le 30		                                   # extern meter path
    endfamily
endsuite

