On Thursday 04 September 2008 18:50, batosai at freenetproject.org wrote:
> Author: batosai
> Date: 2008-09-04 17:50:39 +0000 (Thu, 04 Sep 2008)
> New Revision: 22429
> 
> Modified:
>    trunk/apps/WoT/src/plugins/WoT/TrustTest.java
> Log:
> Warn about the need to run this test twice.

Can't you close the database and then open a new one?
> 
> Modified: trunk/apps/WoT/src/plugins/WoT/TrustTest.java
> ===================================================================
> --- trunk/apps/WoT/src/plugins/WoT/TrustTest.java     2008-09-04 17:42:20 UTC 
(rev 22428)
> +++ trunk/apps/WoT/src/plugins/WoT/TrustTest.java     2008-09-04 17:50:39 UTC 
(rev 22429)
> @@ -44,6 +44,7 @@
>                       db.store(a);
>                       db.store(b);
>                       firstRun = true;
> +                     System.out.println("First run of the trust test. Run it 
> again to check 
data persistency");
>               }
>       }
>       
> @@ -65,6 +66,8 @@
>               } else {
>                       trust = a.getGivenTrust(b, db);
>               }
> +             assertTrue(trust.getTruster().equals(a));
> +             assertTrue(trust.getTrustee().equals(b));
>               assertTrue(trust.getValue() == 100);
>               assertTrue(trust.getComment().equals("test"));
>       }
> 
> _______________________________________________
> cvs mailing list
> cvs at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080906/9d9cf16f/attachment.pgp>

Reply via email to