Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1086

Přidáno uživatelem Michal Kliment před asi 13 roky(ů)

Dalsi opravy chyb odhalene pomoci unit testeru...

Zobrazit rozdíly:

freenetis/branches/testing/application/vendors/unit_tester/unit_testing_config.xml
<param value="array('device_id' =&gt; '1')"/>
</input>
<input>
<param value="array('efsef' =&gt; '1')"/>
</input>
<input>
<param value="'šě$@#"/>
</input>
</values>
......
<values>
</values>
</method>
<method name="insert_members_traffics" autogenerate="on">
<attributes></attributes>
<method name="insert_members_traffics" autogenerate="off">
<attributes/>
<values>
<input></input>
</values>
</method>
<method name="update_active_members" autogenerate="off">
freenetis/branches/testing/application/models/ip_addresses_traffic.php
public function get_all_ip_addresses_traffics($limit_from = 0, $limit_results = 100,
$order_by = 'total', $order_by_direction = 'DESC')
{
// order by check
if (!$this->has_column($order_by))
$order_by = 'total';
// order by direction check
if (strtolower($order_by_direction) != 'desc')
{

Také k dispozici: Unified diff