Part of lp.archivepublisher.tests.test_debversion View In Hierarchy
| Method | testAcceptsString | Version should accept a string input. |
| Method | testReturnString | Version should convert to a string. |
| Method | testAcceptsInteger | Version should accept an integer. |
| Method | testAcceptsNumber | Version should accept a number. |
| Method | testNotEmpty | Version should fail with empty input. |
| Method | testEpochNotEmpty | Version should fail with empty epoch. |
| Method | testEpochNonNumeric | Version should fail with non-numeric epoch. |
| Method | testEpochNonInteger | Version should fail with non-integral epoch. |
| Method | testEpochNonNegative | Version should fail with a negative epoch. |
| Method | testUpstreamNotEmpty | Version should fail with empty upstream. |
| Method | testUpstreamNonDigitStart | Version should fail when upstream doesn't start with a digit. |
| Method | testUpstreamInvalid | Version should fail when upstream contains a bad character. |
| Method | testRevisionNotEmpty | Version should not allow an empty revision. |
| Method | testRevisionInvalid | Version should fail when revision contains a bad character. |
| Method | testValues | Version should give same input as output. |
| Method | testComparisons | Sample Version comparisons should pass. |
| Method | testNullEpochIsZero | Version should treat an omitted epoch as a zero one. |
| Method | notestNullRevisionIsZero | Version should treat an omitted revision as being equal to zero. |