Lines Matching full:example
33 the kernel; for example, it does not intend to be an end-to-end testing
55 and then sets *expectations* for what should happen. For example:
68 In the above example ``example_test_success`` always passes because it does
79 the failure is logged. For example:
89 In the above example ``add_test_basic`` makes a number of assertions about the
108 For example, if we wanted to properly test the add function above, we would
146 For example:
167 In this example, the method under test should return a pointer to a value, so
185 Example:
197 .name = "example",
204 In the above example the test suite, ``example_test_suite``, would run the test
260 in the child struct. For example:
288 In this example (as in most kernel code) the operation of computing the pointer
303 A good example for this might be implementing a fake EEPROM that just stores the
304 "contents" in an internal buffer. For example, let's assume we have a class that
485 infrastructure may not support your target environment. For example, at this
496 For example, let's say you have the following kunitconfig:
539 # Subtest: example
543 ok 1 - example
560 modprobe example-test
591 specific test: for example, you might want to test some code that really belongs
602 .. TODO(brendanhiggins@google.com): Add an actual example of an architecture-