updated facebook group logo

added a unit test
This commit is contained in:
danieleteti 2016-01-13 12:34:12 +01:00
parent a290e6ca03
commit 1a19fa9e1d
2 changed files with 14 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -624,6 +624,20 @@ begin
Params.free;
end;
Params := TMVCRequestParamsTable.Create;
try
CheckTrue(Router.ExecuteRouting('/orders/àèéìòù .-_\', httpGET, 'text/plain', 'text/plain', Controllers,
'text/plain', TMVCMimeType.TEXT_PLAIN, Params, ResponseContentType, ResponseContentEncoding));
CheckEquals(1, Params.Count);
CheckEquals('àèéìòù .-_\', Params['ordernumber']);
CheckEquals('TSimpleController', Router.MVCControllerClass.ClassName);
CheckEquals('OrderNumber', Router.MethodToCall.Name);
finally
Params.free;
end;
end;
procedure TTestRouting.TestProduceRoutings;