Mercurial > archived > louis > epitech > zia-api
changeset 67:360da757ccb0
Delete useless headers, update CHANGELOG
author | Louis Opter <kalessin@kalessin.fr> |
---|---|
date | Tue, 30 Mar 2010 23:23:04 +0200 |
parents | 86584ae719fc |
children | 121031d807aa |
files | CHANGELOG include/http/IRequest.hpp tests/IBodyHandler.cpp tests/IConfig.cpp tests/IEndPoint.cpp tests/IHandler.cpp tests/IHeaderHandler.cpp tests/IModule.cpp tests/INetworkHandler.cpp tests/IRequest.cpp tests/IResponse.cpp tests/ITransaction.cpp |
diffstat | 12 files changed, 17 insertions(+), 95 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGELOG Tue Mar 30 23:02:51 2010 +0200 +++ b/CHANGELOG Tue Mar 30 23:23:04 2010 +0200 @@ -1,9 +1,9 @@ 0.0.2: * Lot of improvements in the documentation; - * IHeader.hpp fixed (close #8); + * May headers fixs (close #8, #9, #11); * IEndPoint refactored to allow ipv6 use (close #4) (TODO); - * Add a cmake finder (close #6). + * Add a CMake finder (close #6). 0.0.1:
--- a/include/http/IRequest.hpp Tue Mar 30 23:02:51 2010 +0200 +++ b/include/http/IRequest.hpp Tue Mar 30 23:23:04 2010 +0200 @@ -19,9 +19,7 @@ */ class IRequest { - public: - virtual ~IRequest(void) { } /**
--- a/tests/IBodyHandler.cpp Tue Mar 30 23:02:51 2010 +0200 +++ b/tests/IBodyHandler.cpp Tue Mar 30 23:23:04 2010 +0200 @@ -1,17 +1,6 @@ -/* - * IBodyHandler.cpp - * - * Created on: 30 mars 2010 - * Author: Daedric - */ +#include "handler/IBodyHandler.hpp" -# include "handler/IBodyHandler.hpp" - -int main(int, char**) +int main(void) { - - - - return (0); }
--- a/tests/IConfig.cpp Tue Mar 30 23:02:51 2010 +0200 +++ b/tests/IConfig.cpp Tue Mar 30 23:23:04 2010 +0200 @@ -1,16 +1,11 @@ -/* - * IConfig.cpp - * - * Created on: 30 mars 2010 - * Author: Daedric - */ +#include <utility> #include "IConfig.hpp" -#include <utility> -int main(int, char**) +int main(void) { zia::api::IConfig::ValueMap map; map.insert(std::make_pair("kikoo", "lol")); + return (0); }
--- a/tests/IEndPoint.cpp Tue Mar 30 23:02:51 2010 +0200 +++ b/tests/IEndPoint.cpp Tue Mar 30 23:23:04 2010 +0200 @@ -1,15 +1,8 @@ -/* - * IEndPoint.cpp - * - * Created on: 30 mars 2010 - * Author: Daedric - */ - #include "network/IEndPoint.hpp" using namespace zia::api::network; -int main(int, char**) +int main(void) { IEndPoint::Ip ip = 123; IEndPoint::Port port= 8000;
--- a/tests/IHandler.cpp Tue Mar 30 23:02:51 2010 +0200 +++ b/tests/IHandler.cpp Tue Mar 30 23:23:04 2010 +0200 @@ -1,13 +1,6 @@ -/* - * IHandler.cpp - * - * Created on: 30 mars 2010 - * Author: Daedric - */ - #include "handler/IHandler.hpp" -int main(int, char**) +int main(void) { return zia::api::handler::NetworkModifier & zia::api::handler::Ok; }
--- a/tests/IHeaderHandler.cpp Tue Mar 30 23:02:51 2010 +0200 +++ b/tests/IHeaderHandler.cpp Tue Mar 30 23:23:04 2010 +0200 @@ -1,17 +1,6 @@ -/* - * IHeaderHandler.cpp - * - * Created on: 30 mars 2010 - * Author: Daedric - */ - #include "handler/IHeaderHandler.hpp" -int main(int, char**) +int main(void) { - - - - return (0); }
--- a/tests/IModule.cpp Tue Mar 30 23:02:51 2010 +0200 +++ b/tests/IModule.cpp Tue Mar 30 23:23:04 2010 +0200 @@ -1,15 +1,6 @@ -/* - * IModule.cpp - * - * Created on: 30 mars 2010 - * Author: Daedric - */ - #include "IModule.hpp" -int main(int, char**) +int main(void) { - - return (0); }
--- a/tests/INetworkHandler.cpp Tue Mar 30 23:02:51 2010 +0200 +++ b/tests/INetworkHandler.cpp Tue Mar 30 23:23:04 2010 +0200 @@ -7,17 +7,17 @@ return (NULL); } -ssize_t test_read_func(zia::api::network::IEndPoint&, void*, size_t) +ssize_t test_read_func(zia::api::network::IEndPoint&, void*, size_t) { return (0); } -ssize_t test_write_func(zia::api::network::IEndPoint&, const void*, size_t) +ssize_t test_write_func(zia::api::network::IEndPoint&, const void*, size_t) { return (0); } -int test_close_func(zia::api::network::IEndPoint&) +int test_close_func(zia::api::network::IEndPoint&) { return (0); }
--- a/tests/IRequest.cpp Tue Mar 30 23:02:51 2010 +0200 +++ b/tests/IRequest.cpp Tue Mar 30 23:23:04 2010 +0200 @@ -1,15 +1,6 @@ -/* - * IRequest.cpp - * - * Created on: 30 mars 2010 - * Author: Daedric - */ - #include "http/IRequest.hpp" -int main(int, char**) +int main(void) { - - return (0); }
--- a/tests/IResponse.cpp Tue Mar 30 23:02:51 2010 +0200 +++ b/tests/IResponse.cpp Tue Mar 30 23:23:04 2010 +0200 @@ -1,14 +1,6 @@ -/* - * IResponse.cpp - * - * Created on: 30 mars 2010 - * Author: Daedric - */ - #include "http/IResponse.hpp" -int main(int, char**) +int main(void) { - return (0); }
--- a/tests/ITransaction.cpp Tue Mar 30 23:02:51 2010 +0200 +++ b/tests/ITransaction.cpp Tue Mar 30 23:23:04 2010 +0200 @@ -1,15 +1,6 @@ -/* - * ITransaction.cpp - * - * Created on: 30 mars 2010 - * Author: Daedric - */ - #include "http/ITransaction.hpp" -int main(int, char**) +int main(void) { - - return (0); }