projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26172c6
)
Fix RepoindexFileReader_test to check default values
author
Michael Andres
<ma@suse.de>
Tue, 22 Feb 2011 15:23:55 +0000
(16:23 +0100)
committer
Michael Andres
<ma@suse.de>
Tue, 22 Feb 2011 15:23:55 +0000
(16:23 +0100)
tests/parser/RepoindexFileReader_test.cc
patch
|
blob
|
history
diff --git
a/tests/parser/RepoindexFileReader_test.cc
b/tests/parser/RepoindexFileReader_test.cc
index
f89ce73
..
dd1f25e
100644
(file)
--- a/
tests/parser/RepoindexFileReader_test.cc
+++ b/
tests/parser/RepoindexFileReader_test.cc
@@
-46,6
+46,10
@@
BOOST_AUTO_TEST_CASE(read_index_file)
BOOST_CHECK_EQUAL("company-foo", repo.alias());
BOOST_CHECK_EQUAL("sle-11-i386", repo.targetDistribution());
BOOST_CHECK_EQUAL(20, repo.priority());
+ // "Repository is per default disabled"
+ BOOST_CHECK(!repo.enabled());
+ // "Repository autorefresh is per default enabled"
+ BOOST_CHECK(repo.autorefresh());
BOOST_CHECK_EQUAL("/repo/products/foo", repo.path());
collector.repos.pop_front( );