Skip to content

Commit

Permalink
Item11708: add low level tests for the current store API, developed f…
Browse files Browse the repository at this point in the history
…or PlainFileStoreContrib. Note that these tests will be redundant in Store2, but until then they fill a hole.

git-svn-id: http://svn.foswiki.org/branches/Release01x01@15002 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
PaulHarvey authored and PaulHarvey committed Jun 16, 2012
1 parent ef63734 commit 84d591f
Show file tree
Hide file tree
Showing 4 changed files with 853 additions and 1 deletion.
Expand Up @@ -92,6 +92,7 @@ test/unit/RobustnessTests.pm 0644
test/unit/SaveScriptTests.pm 0644
test/unit/SeleniumConfigTests.pm 0644
test/unit/SemiAutomaticTestCaseTests.pm 0644
test/unit/StoreImplementationTests.pm 0644
test/unit/StoreTests.pm 0644
test/unit/TOCTests.pm 0644
test/unit/TemplatesTests.pm 0644
Expand Down
6 changes: 5 additions & 1 deletion UnitTestContrib/test/unit/FoswikiStoreTestCase.pm
Expand Up @@ -32,8 +32,8 @@ sub rcs_is_installed {

sub set_up {
my $this = shift;

$this->SUPER::set_up();
$Foswiki::cfg{EnableHierarchicalWebs} = 1;
}

sub tear_down {
Expand Down Expand Up @@ -74,6 +74,10 @@ sub fixture_groups {
closedir(D);
}
}
# Uncomment below to test one store in isolation
# return [ ref($this) . '_PlainFile' ];
# return [ ref($this) . '_RcsWrap' ];
# return [ ref($this) . '_RcsLite' ];
return \@groups;
}

Expand Down

0 comments on commit 84d591f

Please sign in to comment.