add a result to the internal result list

        arguments:
            same arguments as for Result()

def add_result(self, code, message=None):
        """
        add a result to the internal result list

        arguments:
            same arguments as for Result()
        """
        self._results.append(Result(code, message))