Tests » History » Version 3
Greg Burri, 03/07/2012 11:30 PM
1 | 1 | Greg Burri | h1. Tests |
---|---|---|---|
2 | |||
3 | h2. TestsCore |
||
4 | |||
5 | 3 | Greg Burri | The goal here is to simulate many cores interacting together. |
6 | 1 | Greg Burri | |
7 | 2 | Greg Burri | h3. Directory hierarchy |
8 | |||
9 | <pre> |
||
10 | $/AppData/Temp/D-LAN CoreTests/ |
||
11 | c1/ |
||
12 | c2/ |
||
13 | .. |
||
14 | |||
15 | c1/SharedDirs/ |
||
16 | c1/settings/ |
||
17 | c1/logs |
||
18 | </pre> |
||
19 | |||
20 | |||
21 | 1 | Greg Burri | h3. Actions |
22 | |||
23 | 2 | Greg Burri | Here is the possible action a core stub can do. |
24 | |||
25 | * Define a random nick |
||
26 | * Create a directory in a random location in @/SharedDirs/@. Randomly add it to the shared directories (maybe 1% of chance). If the directory is in the root add it to the shared directories. |
||
27 | * Remove a directory physically in @/SharedDirs/@ (it can't be a shared dir) |
||
28 | * Remove a shared directory then delete the corresponding physical directory |
||
29 | * Create a file. The size is a random number from 1 to 1Go. Fill it with random data from a seed taken in a predefined set (like 1-50). |
||
30 | * Remove a file. |
||
31 | * Rename a file or a directory (it can't be a shared dir) |
||
32 | * Mix up the shared directories |
||
33 | * Send random characters on the chat |
||
34 | * Browse a random directory from a random peer and download a random item (file or directory) in a random shared directory. |
||
35 | * Search some random words and download a random item in a random shared directory |
||
36 | * Remove complete download |
||
37 | * Remove a random download (it can be downloading or complete) |
||
38 | * Move on or more downloads in a random position |