| 49 | === incorrect revmap === |
| 50 | |
| 51 | ''The plugin will fail gracefully if the revmap is broken.'' |
| 52 | |
| 53 | Procedure: |
| 54 | 1. Start with the generic config options. |
| 55 | 1. Delete the svn_revmap db table, if it exists. |
| 56 | 1. Enable the plugin via Trac's config file (or via trac,ini). |
| 57 | 1. Generate a revmap ( git log --quiet --format='%H%n%s%n%b' ), but delete instances of "git-svn-id:". |
| 58 | 1. '''Verify that an upgrade does not produce corrupt data.''' |
| 59 | |
| 60 | === tooltips === |
| 61 | |
| 62 | ''The plugin will properly display tooltips according to configuration.'' |
| 63 | |
| 64 | Procedure: |
| 65 | 1. Start with the generic config options. |
| 66 | 1. Create or view a wiki page with valid svn revisions and git ids. |
| 67 | 1. '''Verify that the wiki syntax works and that tooltips are displayed.''' |
| 68 | 1. Change the "long_tooltips" config option to 0 and restart Trac. |
| 69 | 1. '''Verify that truncated tooltips are displayed.''' |
| 70 | |
| 71 | === wiki syntax === |
| 72 | |
| 73 | ''The plugin will properly detect and display svn and git links.'' |
| 74 | |
| 75 | Procedure: |
| 76 | 1. Start with the generic config options. |
| 77 | 1. Create or view a wiki page with valid and invalid svn revisions and git ids. |
| 78 | 1. '''Verify that the valid links are displayed as links.''' |
| 79 | 1. '''Verify that the invalid links are displayed unchanged.''' |
| 80 | |
| 81 | === changeset urls === |
| 82 | |
| 83 | ''The plugin will properly redirect changeset urls to GitHub.'' |
| 84 | |
| 85 | Procedure: |
| 86 | 1. Start with the generic config options. |
| 87 | 1. Create or view a wiki page with valid svn revisions and git ids. |
| 88 | 1. '''Verify that the git ids redirect the appropriate commit at GitHub.''' |
| 89 | 1. '''Verify that the svn revisions redirect the appropriate git commit at GitHub.''' (look for the git-svn-id on the GitHub page) |
| 90 | |