Permalink
Commits on Jan 22, 2012
  1. Item11461: no need to fake the loaded rev, as we know the new content…

    … being saved is correct for the current rev (even if it was generated internally)
    
    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13781 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    CrawfordCurrie committed Jan 22, 2012
  2. Item11456: You'd think if it ->can(), it should

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13775 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 22, 2012
Commits on Jan 21, 2012
  1. Item9563: Refresh prefs cache b4 call afterSave

    Prefs are cached, so any attempt to read changed topic preferences in
    the afterSaveHandler fails because the cached values from before the
    save are returned.
    
    The simple fix appears to be to delete the preferences cache for the
    object before dispatching the afterSaveHandler.
    
    Updated unit tests to verify the issue.
    
    There is stil some issue remaining - Foswiki::Func returns null
    parameters when called in the afterSaveHandler.
    
    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13771 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    GeorgeClark committed Jan 21, 2012
Commits on Jan 20, 2012
  1. Item11456: bareword "FooForm" semantics changed since 1.1

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13763 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 20, 2012
  2. Item10484: Add unit tests

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13762 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 20, 2012
  3. Item11456: Make QueryTests pass on Foswiki 1.1

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13760 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 20, 2012
  4. Item11456: Item10465: Tweak zero time for DST

    Conflicts:
    
    	test/unit/QueryTests.pm
    
    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13759 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 20, 2012
  5. Item11456: Make QueryTests pass on Foswiki 1.1

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13757 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 20, 2012
  6. Item11436: ClearCache only if we PasswdMgr can do so

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13753 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 20, 2012
  7. Item11436: Make HtPasswdUser cache global.

    Committing only to release branch for now, so trunk.foswiki.org isn't
    affected.
    
    HtPasswdUser already is caching the file, so that multiple requests in a
    single session only require a single read of .htpasswd.
    
    In previous testing, loading ~4400 users from .htpasswd required around
    40ms.   A topic like System/JQueryAjaxHelper hits the password manager
    30 times,  so having the session cache saves almost 1200ms of processing
    on my test system.
    
    Changing the cache from per-session to global is a relatively small
    change, and avoids re-reading .htpasswd repeatedly which could still be
    fairly significant on a very busy system.
    
    Unit tests all pass, but this needs another set of eyes.
    
    
    Conflicts:
    
    	test/unit/FoswikiFnTestCase.pm
    
    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13752 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 20, 2012
Commits on Jan 19, 2012
  1. Item11196: Changes merged - don't need exception

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13747 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    GeorgeClark committed Jan 19, 2012
  2. Item11456: Silly whitespace difference, perltidy

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13742 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 19, 2012
  3. Item11196: Oops, Release01x01 not ready yet!

    Sorry, jumped the gun - ManageDotPmTests were passing, so I
    committed, but it turns out that's because it was the wrong
    checkout :-)
    
    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13741 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 19, 2012
  4. Item11456: Make ResponseTests cope w/trunk & 1.1

    Conflicts:
    
    	test/unit/ResponseTests.pm
    
    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13735 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 19, 2012
  5. Item11400: Sync w/Release01x01

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13733 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 19, 2012
  6. Item11400: Make TemplateTests pass on Foswiki 1.1

    TMPL:DEF default params feature is trunk-only
    
    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13732 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 19, 2012
  7. Item11456: perltidy UnitTestContrib

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13730 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 19, 2012
  8. Item11390: RENDERHEAD is pre-Foswiki-1.1

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13728 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 19, 2012
  9. Item11453: Convert RenderList to preRenderingHandler

    Add unit tests for RenderListPlugin.
    
    Disable RenderListPlugin for FormattingTests,  they should probably
    pass without the plugin enabled.
    
    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13720 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    GeorgeClark committed Jan 19, 2012
  10. Item11332: New indented para TML syntax FW 1.1+ onl

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13705 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 19, 2012
  11. Item11332: Fix with_dep, using Conf::Dep. usage

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13703 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 19, 2012
Commits on Jan 18, 2012
  1. Item11431: Meta->finish() should remove from MetaCache

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13693 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 18, 2012
Commits on Jan 17, 2012
  1. Item11431: Add finish..session, SINGLE_SINGLETONS

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13689 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 17, 2012
  2. Item10071: adding +values causes CGI to generate invalid XHTML (speci…

    …fically, the checked='checked' attribute is generated twice
    
    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13676 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    CrawfordCurrie committed Jan 17, 2012
Commits on Jan 16, 2012
  1. Item11446: Add endPoint validations

    This needs careful review.  The anchor and query strings are not
    validated prior to the redirect.    They were not validated previously
    but got encoded (and corrupted) by passing the entire string through
    getScriptUrl.
    
    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13661 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    GeorgeClark committed Jan 16, 2012
Commits on Jan 12, 2012
  1. Item11196: perltidy and misc. cleanup

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13643 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    GeorgeClark committed Jan 12, 2012
  2. Item11196: Better feedback from UserMapping

    The TopicUserMapping and UserMapping interfaces don't use maketext to
    translate any user messages.  And they in several places return 0 for
    failures with no indication of the errors.
    
    Note that this changes the API for the mappers. The mapper should throw
    Error::Simple when encountering issues rather than leaving the user
    guessing.
    
    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13642 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    GeorgeClark committed Jan 12, 2012
Commits on Jan 11, 2012
  1. Item11431: Address perlcriticisms FuncTests

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13635 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 11, 2012
  2. Item11365: two test_getScriptUrls...

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13634 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 11, 2012
  3. Item11431: address perlcriticisms in PrefsTests

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13633 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 11, 2012
  4. Item11431: Fix TestCase & FuncTests SESSION handling

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13632 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 11, 2012
  5. Item11431: Address perlcriticisms

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13631 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 11, 2012
  6. Item11431: Fix InitTests

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13630 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 11, 2012
  7. Item11431: Fix InitFormTests

    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13629 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    PaulHarvey committed Jan 11, 2012
  8. Item11385: making ListIterator more robust against degenerated list v…

    …alues, i.e. undef
    
    git-svn-id: http://svn.foswiki.org/trunk/UnitTestContrib@13622 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
    MichaelDaum committed Jan 11, 2012