MCPcopy Create free account
hub / github.com/apache/qpid-proton-j / ModifiedValue

Class ModifiedValue

tests/python/proton_tests/engine.py:2134–2152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2132 assert dlv.annotations == None
2133
2134class ModifiedValue:
2135 def __init__(self, failed, undeliverable, annotations):
2136 self.failed = failed
2137 self.undeliverable = undeliverable
2138 self.annotations = annotations
2139
2140 def apply(self, dlv):
2141 dlv.failed = self.failed
2142 dlv.undeliverable = self.undeliverable
2143 dlv.annotations = self.annotations
2144
2145 def check(self, dlv):
2146 assert dlv.data == None, dlv.data
2147 assert dlv.section_number == 0
2148 assert dlv.section_offset == 0
2149 assert dlv.condition == None
2150 assert dlv.failed == self.failed
2151 assert dlv.undeliverable == self.undeliverable
2152 assert dlv.annotations == self.annotations, (dlv.annotations, self.annotations)
2153
2154class CustomValue:
2155 def __init__(self, data):

Callers 1

testModifiedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected