| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| | * | | | | | | Add the input of the Measurement to the ReportEntries | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Fix regexp for validating collector address | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Move the instancing of the t.i.w.Agent into createReport | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add XXX about possible cleaner solutions to the problem | |||
| | * | | | | | | Add missing import os | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Refactor NetTestLoader and add checkOptions, and add Tor support | aagbsn | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Handle errors when writing to the list of Reporters | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will try to write to a reporter the number of times the ReportManager is configured to do so. If no more reporters are available an exception will be raised and the test will stop running (XXX this needs to be tested properly) | |||
| | * | | | | | | Validate that the collector command line option | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Remove unused imports inside of ooni, oonicli and runner | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Remove now unused and dead code | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We no longer need inputunit. nettesttask was never needed | |||
| | * | | | | | | Add a shutdown hook for when everything is done | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Move startTor and startSniffing methods into Director | aagbsn | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes unused imports in runner and adds exceptions to errors | |||
| | * | | | | | | Remove unused imports inside of ooni, oonicli and runner | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Remove now unused and dead code | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We no longer need inputunit. nettesttask was never needed | |||
| | * | | | | | | Add a shutdown hook for when everything is done | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Start the reactor in the Director | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Refactoring of inputProcessor | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Nettests are now running properly with the TaskManager | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue retries, make tests timeout, etc. | |||
| | * | | | | | | Get test version from net_test_file and parse all options | aagbsn | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds helper method _parseNetTestOptions to NetTestLoader in order to assemble the various options and flags into a single object Also add functionality to read the test name and version from the NetTestCase Check that the required option is not None localOptions is a dict, and the required option may be None. This adds a test for this case. | |||
| | * | | | | | | Get Director, TaskManager's, NetTest and oonicli to talk | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests are scheduled through the MeasurementManager, Reports via the ReporterManager and the Director keeps track of everything that is going on. Configurable retries and timeouts are possible. As an example, example_simple.py is run and the reports are written. | |||
| | * | | | | | | Minor refactoring and debugging | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Further code cleaning and debugging of a non deterministic bug Refactoring and bugfixing of Director and NetTest | |||
| | * | | | | | | Refactoring of the architecture of the taskManager | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minimize coupling, make clearer the chain of responsibilities | |||
| | * | | | | | | tests needs to be a module for mocks to import | aagbsn | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Move Director Mocks into mocks.py | aagbsn | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Move Reporter Mocks into mocks.py | aagbsn | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Move Managers Mocks into mocks.py | aagbsn | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Move NetTest Mocks into mocks.py | aagbsn | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Basic testing and implementation of reporting task manager | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Import base test_reporter from aagbsn's repo | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Work in progress on Reporter and NetTest | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Start outlining unittests for director | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Test if the done callback will fire when all tasks have been completed | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Use a Mediator pattern to keep track of which tests have failed | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Prevent divide by zero bug | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Work on the Director | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide glue between Director, Tasks and Managers Director will keep track of the failure rate of measurements | |||
| | * | | | | | | Move setUpNetTestCases into start() and set up measurementManager | aagbsn | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also updates the test cases. | |||
| | * | | | | | | Add tests for missing required options and invalid options | aagbsn | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Add NetTestCase option validation | aagbsn | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Options that are passed to the NetTest constructor must be valid options defined in the NetTestCase UsageOptions with optParameters. Also handle the case where inputFile is *not* a required option and not supplied gracefully. | |||
| | * | | | | | | Move parseNetTestOptions to oonicli | aagbsn | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Load NetTests from strings | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is achieved by converting the string to a StringIO | |||
| | * | | | | | | Basic unittest for representing scapy packets | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 442a4a3aa716bfcc3f8f2cd2e249dc000f991950) | |||
| | * | | | | | | Unittesting for MeasurementManager | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Refactoring of NetTestCase and NetTest with partial unittesting | aagbsn | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Implement and unittest code for tasks that timeout | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Add tests for NetTest | aagbsn | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test loading NetTestCase with required options and verify that the appropriate exceptions are raised. | |||
| | * | | | | | | add processTest to NetTest class | aagbsn | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ripped out of runner.py and needs testing | |||
| | * | | | | | | Test and implement TasksWithTimeout | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do some refactoring of the unittesting logic | |||
| | * | | | | | | Import handleAllFailures and failureToString from ooni.errors | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Minor cleaning of Measurement Task | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Check to see if the test methods are callables | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
| | * | | | | | | Fix imports in nettest unittest | Arturo Filastò | 2013-02-27 | |
| | | | | | | | | ||||
