2010-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Replaced V_TRUE with A2_V_TRUE. Replaced V_FALSE with A2_V_FALSE.
	* src/AbstractCommand.cc
	* src/HttpResponseCommand.cc
	* src/Option.cc
	* src/OptionHandlerFactory.cc
	* src/OptionHandlerImpl.h
	* src/TrackerWatcherCommand.cc
	* src/download_helper.cc
	* src/main.cc
	* src/prefs.cc
	* src/prefs.h
	* test/AuthConfigFactoryTest.cc
	* test/DefaultBtProgressInfoFileTest.cc
	* test/DownloadHelperTest.cc
	* test/HttpRequestTest.cc
	* test/OptionHandlerTest.cc
	* test/UTMetadataPostDownloadHandlerTest.cc
	* test/XmlRpcMethodTest.cc
This commit is contained in:
Tatsuhiro Tsujikawa 2010-09-11 12:48:03 +00:00
parent 880c6b5498
commit 9eaf3ccb0f
18 changed files with 109 additions and 88 deletions

View file

@ -119,7 +119,7 @@ void DownloadHelperTest::testCreateRequestGroupForUri()
CPPUNIT_ASSERT_EQUAL(array[i%3], xuris[i]);
}
}
option_->put(PREF_FORCE_SEQUENTIAL, V_TRUE);
option_->put(PREF_FORCE_SEQUENTIAL, A2_V_TRUE);
{
std::vector<SharedHandle<RequestGroup> > result;
createRequestGroupForUri(result, option_, uris);
@ -152,7 +152,7 @@ void DownloadHelperTest::testCreateRequestGroupForUri_parameterized()
option_->put(PREF_SPLIT, "3");
option_->put(PREF_DIR, "/tmp");
option_->put(PREF_OUT, "file.out");
option_->put(PREF_PARAMETERIZED_URI, V_TRUE);
option_->put(PREF_PARAMETERIZED_URI, A2_V_TRUE);
{
std::vector<SharedHandle<RequestGroup> > result;
@ -364,7 +364,7 @@ void DownloadHelperTest::testCreateRequestGroupForBitTorrent()
group->getDownloadContext()->getFirstFileEntry()->getUris(uris);
CPPUNIT_ASSERT_EQUAL((size_t)0, uris.size());
}
option_->put(PREF_FORCE_SEQUENTIAL, V_TRUE);
option_->put(PREF_FORCE_SEQUENTIAL, A2_V_TRUE);
{
std::vector<SharedHandle<RequestGroup> > result;