SoftwareTesting:Tools:l10nVerifier: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
Line 21: Line 21:
==== Todo ====
==== Todo ====


Nothing. This is reasonably-complete.
* RSS feed handler checking


=== Search Plugin Checker ===
=== Search Plugin Checker ===

Revision as of 14:48, 11 September 2006

Test Overviews and Results

(from Firefox:2.0_QA_Activities:L10n_Test_Plan:TrademarkResults)

l10n Verification Tools

Overview

The l10n Verification Tools are a suite of Python scripts that analyze the contents of various pieces of source code and compare them to the rules described in the L10n Requirements document. These are considered a "static" tool meaning that they check the source file contents before build-time. What Firefox does to these entries after startup is to be verified by a dynamic checker. The tools are currently invoked manually from a command line against a local CVS repository.

Properties Checker

The Search Properties Checker compares the contents of the region.properties file for each locale to check that for all locales, Google is specified as the first search engine and default search engine name, and, where appropriate, Yahoo! is listed second. If a locale is in a listed exception (CJKT), Yahoo! is listed first and Google second.

Todo

  • RSS feed handler checking

Search Plugin Checker

The Search Plugin Checker currently lists all search plugins included for each locale. This output can be used to verify the list against known requirements per locale.

Todo

  • Check each locale's search plugins against a list of known, good search plugins.
  • Verify contents of search plugins for validity
  • Where appropriate, include checks for Amazon, Answers, Creative Commons and Ebay. Others specific to locale can be included.

Bookmarks Verifier

Bookmarks Verifier

The Bookmarks Verifier currently checks to see that each included bookmark includes the locale-string within it. The requirement specifies that bookmarks should be of the form: http://%LOCALE%.address/%LOCALE%/path. Bookmarks that don't pass this criteria are marked as a failure. The Bookmarks Verifier will also dump a complete list of included bookmarks for manual verification.

Todo

  • loosen test to allow websites to include en-US bookmarks or a set of acceptable fall-backs
  • expand test to include RSS livefeed verification
  • quicksearches currently not included in this release, may be in future.