Package trac :: Package versioncontrol :: Package web_ui :: Package tests :: Module wikisyntax

Module wikisyntax

source code

Functions
 
repository_setup(tc) source code
 
suite() source code
Variables
  CHANGESET_TEST_CASES = ...
  LOG_TEST_CASES = ...
  DIFF_TEST_CASES = ...
  SOURCE_TEST_CASES = ...
  CHUNK_SIZE = 4096
  CRLF = '\r\n'
  __package__ = 'trac.versioncontrol.web_ui.tests'
  tag = <genshi.builder.ElementFactory object at 0x2fe1b10>
  utc = <FixedOffset "UTC" 0:00:00>

Imports: unittest, Mock, NoSuchChangeset, formatter, AdminCommandError, AnyDiffModule, BlameAnnotator, BoolOption, BrowserModule, Changeset, ChangesetModule, Chrome, Component, Context, DbRepositoryProvider, DefaultPropertyDiffRenderer, DefaultPropertyRenderer, ExtensionPoint, IAdminCommandProvider, IHTMLPreviewAnnotator, INavigationContributor, IPermissionRequestor, IPropertyDiffRenderer, IPropertyRenderer, IRepositoryChangeListener, IRepositoryConnector, IRepositoryProvider, IRequestFilter, IRequestHandler, IResourceManager, ISearchSource, ITemplateProvider, ITimelineEventProvider, IWikiMacroProvider, IWikiSyntaxProvider, IntOption, Interface, ListOption, LogModule, Markup, Mimeview, NoSuchNode, Node, Option, Ranges, RenderedProperty, Repository, RepositoryManager, RequestDone, Resource, ResourceNotFound, StringIO, TimeRange, TracError, VersionControlUI, WikiParser, WikiPropertyRenderer, add_ctxtnav, add_link, add_script, add_stylesheet, any, as_bool, browser, changeset, cleandoc, content_disposition, datetime, diff_blocks, embedded_numbers, escape, exception_to_unicode, fnmatchcase, format_to, format_to_html, format_to_oneliner, from_utimestamp, get_changes, get_diff_options, get_dir_list, get_existing_node, get_path_links, groupby, http_date, implements, is_binary, is_default, log, main, ngettext, os, parse_args, pathjoin, pkg_resources, posixpath, pretty_timedelta, prevnext_nav, printout, re, search_to_sql, shorten_line, shorten_result, threading, time, timedelta, to_datetime, to_unicode, unicode_urlencode, unified_diff, util, wrap


Variables Details

CHANGESET_TEST_CASES

Value:
u'''
============================== changeset: link resolver
changeset:1
changeset:12
changeset:abc
changeset:1, changeset:1/README.txt
------------------------------
<p>
...

LOG_TEST_CASES

Value:
u'''
============================== Log range TracLinks
[1:2], r1:2, [12:23], r12:23
[1:2/trunk], r1:2/trunk
[2:1/trunk] reversed, r2:1/trunk reversed
------------------------------
<p>
<a class="source" href="/log/?revs=1-2">[1:2]</a>, <a class="source" h\
...

DIFF_TEST_CASES

Value:
u'''
============================== diff: link resolver
diff:trunk//branch
diff:trunk@12//branch@23
diff:trunk@12:23
diff:@12:23
------------------------------
<p>
...

SOURCE_TEST_CASES

Value:
u'''
============================== source: link resolver
source:/foo/bar
source:/foo/bar#42   # no long works as rev spec
source:/foo/bar#head #
source:/foo/bar@42
source:/foo/bar@head
source:/foo%20bar/baz%2Bquux
...