示例#1
0
 def setUp(self):
     self.ta = FakeDefaultTypeAdapter()
     self.pro = taPro.getProtocolFor(self.ta)
     self.cell = Parse(tag="td", body="1")
     print '%s %s' % (self.id(), self.shortDescription())
示例#2
0
 def setUp(self):
     self.ta = tat["String"](self, "aStringVar", "String")
     self.pro = taPro.getProtocolFor(self.ta)
     self.cell = Parse(tag="td", body="spam")
     print '%s %s' % (self.id(), self.shortDescription())
示例#3
0
 def setUp(self):
     self.ta = tat["Integer"](self, "anIntVar", "Integer")
     self.pro = taPro.getProtocolFor(self.ta)
     self.cell = Parse(tag="td", body="1")
     print '%s %s' % (self.id(), self.shortDescription())
示例#4
0
 def setUp(self):
     self.ta = ScientificFloat
     self.pro = taPro.getProtocolFor(self.ta)
     self.cell = Parse(tag="td", body="2.798")
     print '%s %s' % (self.id(), self.shortDescription())
示例#5
0
 def setUp(self):
     self.ta = tat["Float"](self, "aFloatVar", "Float", metaData={})
     self.pro = taPro.getProtocolFor(self.ta)
     self.cell = Parse(tag="td", body="3.14")
     print '%s %s' % (self.id(), self.shortDescription())
示例#6
0
 def setUp(self):
     self.ta = PrimitiveState
     self.pro = taPro.getProtocolFor(self.ta)
     self.cell = Parse(tag="td", body="fi")
     print '%s %s' % (self.id(), self.shortDescription())
示例#7
0
 def setUp(self):
     self.ta = DummyFloatCellTypeAdapter()
     self.pro = taPro.getProtocolFor(self.ta)
     self.cell = Parse(tag="td", body="1.0")
     print '%s %s' % (self.id(), self.shortDescription())
示例#8
0
 def setUp(self):
     self.ta = FakeRawStringTypeAdapter()
     self.pro = taPro.getProtocolFor(self.ta)
     self.cell = Parse(tag="td", body="<tag you're=it>")
     print '%s %s' % (self.id(), self.shortDescription())