Adding exclusion check for button as part of direct-direct relationship warning to...
authorrtrimana <rtrimana@uci.edu>
Fri, 16 Aug 2019 16:38:18 +0000 (09:38 -0700)
committerrtrimana <rtrimana@uci.edu>
Fri, 16 Aug 2019 16:38:18 +0000 (09:38 -0700)
Extractor/ExtractorScript.py

index 1f01568f8ce48dd27ac0b296838c374e31645095..0fa30bad5a28e734e4d8539ca527ff67907de962 100644 (file)
@@ -325,7 +325,7 @@ def CountEvents():
        #print "DEBUG: eventlist: %d" % len(eventList)
        #print "DEBUG: eventlist: %s" % eventList
        for event in eventList:
-               #print "DEBUG: Event: %s %d" % (event, eventTypeCounterMap[event])
+               print "DEBUG: Event: %s %d" % (event, eventTypeCounterMap[event])
                numOfActualEvents = numOfActualEvents + eventTypeCounterMap[event]
        return numOfActualEvents
 
@@ -1106,7 +1106,7 @@ def CheckIfOnlyTouchEvents():
        #This is called Direct-Direct interaction and we do not model-check for this case
        onlyTouchEvents = True
        for item in eventList:
-               if item != "nfcTouch" and item != "app":
+               if item != "nfcTouch" and item != "app" and item != "button":
                        onlyTouchEvents = False
        if onlyTouchEvents is True and app1Subscribe is True and app2Subscribe is True:
                # Write error log file