path: root/unit
AgeCommit message (Collapse)AuthorFilesLines
2014-10-29Imported Upstream version 1.26upstream/1.26Zhang zhengguang1-1/+1
2014-07-17Imported Upstream version 1.24upstream/1.24Zhang zhengguang3-14/+10
2013-06-12unit: Multiple collisions with different poolsJukka Rissanen1-0/+97
Existing tests did not test this scenario: * new address is registered to * new address is registered to * ippool is created to (no collision) * ippool is created to (no collision) * new address is registered to (collision detected)
2013-06-12unit: Test ippool collision differentlyJukka Rissanen1-0/+87
Existing tests did not test this scenario: * new address is registered to * ippool is created to (no collision) * ippool is created to (there is a collision and the code should skip the range)
2013-05-29test-ippool: Shortcut exhausting allocation testDaniel Wagner1-3/+9
Instead really trying to allocate all possible 69888 blocks, let's reserve the first two IP pools and then we only need to allocate 255 blocks. That should bring down the runtime considerable.
2013-03-19test-ippool: Update unit test printoutsDaniel Wagner1-8/+8
2013-03-18test-session: Move file to tools and rename it to session-testDaniel Wagner5-1586/+0
These tests depens on ConnMan running and therefore not really a unit tests. Let's move it to tools.
2013-03-18test-iptables: Move file to tools and rename it to iptables-unitDaniel Wagner1-327/+0
Unit tests are suppessed to be run during 'make distcheck' but iptables-unit needs to be run with root rights.
2013-02-22test-iptables: Fix memory leakDaniel Wagner1-0/+2
2013-02-22test-iptables: Delete all rules in target0Daniel Wagner1-0/+14
2013-02-14unit: Fix wrong format identifier for size_tMarcel Holtmann1-1/+1
2013-02-14unit: Add test cases for SHA-1 based PBKDF2 and PRFMarcel Holtmann2-0/+444
2013-02-12test-iptables: Add chain add remove testsDaniel Wagner1-0/+30
2013-02-12test-iptables: Add fallthrough unit testDaniel Wagner1-0/+19
A fallthrough rule is a one which does not have a verdict, e.g. ACCEPT, DROP etc.
2013-02-12iptables: Remove unused __connman_iptables_command()Daniel Wagner1-76/+0
2013-02-12test-nat: Move tests to test-iptablesDaniel Wagner2-165/+77
These are iptables related tests. So let's move them over.
2013-02-12test-iptables: Add unit test for the new APIDaniel Wagner1-0/+139
2013-02-12test-iptables: Add unit test for iptablesDaniel Wagner1-0/+122
2012-12-11unit: Fix differences with including gdbus.h headerMarcel Holtmann3-3/+3
2012-11-23log: Give program name and version in log initJukka Rissanen1-1/+1
This allows the correct output when the log functions are used from separate vpn daemon.
2012-10-08unit: Wrong enum type used in session codeJukka Rissanen1-1/+1
2012-09-28log: Disable stack trace from command linePatrik Flykt1-2/+2
Add a '--nobacktrace' command line switch to let the system handle stack traces. The default is to let ConnMan handle them as before
2012-09-27unit: Do not append empty AllowedBearers dictionaryDaniel Wagner1-0/+3
An empty AllowedBearers means do not match anything.
2012-09-27unit: Support ConnectionType unknownDaniel Wagner1-1/+3
2012-09-27session: Move configuration bits to a public structDaniel Wagner1-15/+0
Instead of passing basic datatypes between the session core and the policy plugin, provide a complex data structure which holds the session configuration.
2012-09-27unit: Update session unit test to API changesDaniel Wagner2-124/+3
2012-07-15unit: Avoid shadowing session info variableMarcel Holtmann1-2/+2
2012-06-30unit: Watch for signals only on CONNMAN_SERVICELucas De Marchi1-1/+1
2012-05-18Do not set signature and reply in GDBus tablesHenrique Dante de Almeida1-2/+2
Use GDBUS_* macros, so signature and reply fields are not set in each method/signal.
2012-05-18Convert GDBus methods and signals to use macro helpersHenrique Dante de Almeida1-2/+4
With these macro helpers we can separate in/out arguments and use their own vector.
2012-05-18Constify GDBus method tablesHenrique Dante de Almeida1-1/+1
2012-04-29core: Update copyright informationMarcel Holtmann1-1/+1
2012-02-28unit: handling type of connection into session apiTomasz Bursztyka2-0/+23
2012-02-28unit: switching from online to state property into test-sessionTomasz Bursztyka3-23/+44
2012-02-13test-ippool: Test overlapping rangesDaniel Wagner1-1/+29
2012-02-13test-ippool: Rename basic2 to exhaust0Daniel Wagner1-2/+2
2012-02-13test-ippool: Reinit ippool for each testDaniel Wagner1-9/+19
2012-02-13test-ippool: Split basic0 testDaniel Wagner1-5/+15
Do not test two things in the same function.
2012-02-13ippool: Add prefixlen argument to __connman_ippool_new/deladdr()Daniel Wagner1-2/+2
2012-02-13test-nat: Add main table testsDaniel Wagner1-2/+34
This test makes use of the iptables check command.
2012-02-13test-nat: Commit table changesDaniel Wagner1-0/+7
2012-02-13test-nat: Add nat unit testDaniel Wagner1-0/+126
2012-02-01tethering: Add notification callback implementationGuillaume Zajac1-1/+1
2012-02-01test-ippool: Add collision unit testDaniel Wagner1-0/+56
2012-02-01ippool: Add API to notify when IP is externally assignedDaniel Wagner1-3/+3
2012-02-01test-ippool: Add unit test for ippoolDaniel Wagner1-0/+154
2011-08-11unit: Fix connect disconnect testDaniel Wagner1-13/+62
2011-08-11unit: Add manager state callbackDaniel Wagner3-3/+34
2011-08-11unit: Add PropertyChanged watch for ManagerDaniel Wagner3-1/+144
2011-08-11unit: Use D-Bus watch for testing ConnMan runningDaniel Wagner3-30/+12