Home | History | Annotate | Download | only in tko

Lines Matching defs:Test

47         This method exists so that it can be mocked in the unit test for
200 class Test(dbmodels.Model, model_logic.ModelExtensions,
202 """Models a test."""
205 test = dbmodels.CharField(max_length=300)
221 return TestAttribute, dict(test=self, attribute=attribute,
228 TestAttribute.objects.get(test=self, attribute=attribute,
230 raise ValueError('Attribute %s already exists for test %s and is '
233 super(Test, self).set_attribute(attribute, value)
236 """Metadata for class Test."""
241 """Models a test attribute."""
242 test = dbmodels.ForeignKey(Test, db_column='test_idx')
258 test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True)
273 test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True)
286 """Models a test label."""
289 tests = dbmodels.ManyToManyField(Test, blank=True,
315 """A Test View Manager."""
408 query_set = Test.objects.join_custom_field(query_set, label_query,
436 query_set = Test.objects.join_custom_field(query_set, attribute_query,
466 query_set = Test.objects.join_custom_field(query_set, iteration_query,
488 the test index, like all one-to-many joins). For the first join, this
522 query_set = Test.objects.join_custom_field(query_set,
529 """Add joins for querying over test-related items.
539 instead of tests -- if a test has multiple iterations, a row
544 label is present on the machine used in the test.
641 """Queries for test IDs.
647 @return A list of test IDs.
657 """Queries for test label IDs.
661 @return A list of test label IDs.
676 """Models a test view."""
679 'DATE(test_finished_time)': 'test finished day',
699 test_idx = dbmodels.IntegerField('test index', primary_key=True)