Commit graph

580 commits

Author SHA1 Message Date
Alfredo Cardigliano
d6b28eb8a6 Restore unsorted test diff 2022-03-09 10:48:27 +01:00
Alfredo Cardigliano
abef3a1514 Tests update (l4proto filter) 2022-03-08 10:26:53 +01:00
Alfredo Cardigliano
ea380dfce3 Tests update (label) 2022-03-08 10:25:49 +01:00
Alfredo Cardigliano
bdbc9a8d9f Send sorted diff to reduce noise 2022-03-08 10:23:46 +01:00
Alfredo Cardigliano
e3e0a528c1 Tests update (labels and db sleep) 2022-03-07 10:16:24 +01:00
Alfredo Cardigliano
8d8358d220 Tests update 2022-03-01 09:50:15 +01:00
Alfredo Cardigliano
8a993ba737 Tests update (time label) 2022-02-28 15:54:27 +01:00
Alfredo Cardigliano
ca846f4015 Remove Interface pool (we have the host pool only now) 2022-02-25 18:04:46 +01:00
Alfredo Cardigliano
fb384dead0 Remove local networks pool 2022-02-25 16:05:46 +01:00
Alfredo Cardigliano
1e31c6bfd9 Remove SNMP pool 2022-02-25 15:55:22 +01:00
Alfredo Cardigliano
c430a58a62 Remove active monitoring pools 2022-02-25 11:59:06 +01:00
Alfredo Cardigliano
ae8bcd2535 Tests update (add vlan info) 2022-02-24 10:34:31 +01:00
Alfredo Cardigliano
dcd23241c7 Pools configuration in Recipients (WIP) 2022-02-22 18:33:09 +01:00
Alfredo Cardigliano
1772064ef6 Tests update (add scan detection and crawler) 2022-02-22 09:19:19 +01:00
Alfredo Cardigliano
92d8ac7a2e Tests update (GoogleCloud) 2022-02-22 09:18:30 +01:00
Alfredo Cardigliano
8ea74fc17a Tests update (GoogleCloud) 2022-02-21 16:42:08 +01:00
Alfredo Cardigliano
810230762a Tests update (GoogleCloud) 2022-02-21 16:41:44 +01:00
Alfredo Cardigliano
0afc9f127f Tests update (add scan detection) 2022-02-21 16:40:29 +01:00
Alfredo Cardigliano
9c556a5ee8 Tests update (add alerts url) 2022-02-21 16:39:29 +01:00
Alfredo Cardigliano
461047a633 Tests update (date label) 2022-02-14 09:20:53 +01:00
Alfredo Cardigliano
662ba2a4a3 Fix historical flows test (temporary sleep added) 2022-02-11 12:39:58 +01:00
Alfredo Cardigliano
ac7630e568 Tests update (AmazonAWS proto and Cybersec cat) 2022-02-11 09:42:57 +01:00
Alfredo Cardigliano
2de9f645f0 Cleanup old test log 2022-02-11 09:28:35 +01:00
Alfredo Cardigliano
796a034842 Tests update (HSRP) 2022-02-09 09:14:28 +01:00
Alfredo Cardigliano
ad371d4fbe Tests update (fix alert names) 2022-02-09 09:13:37 +01:00
Alfredo Cardigliano
3485160133 Test update (geoip) 2022-02-08 20:43:24 +01:00
Alfredo Cardigliano
bbef286ae3 Fix invalid dns tests 2022-02-08 20:41:02 +01:00
Alfredo Cardigliano
25ea562a59 Tests update (flow_alert_ndpi_punicody_idn) 2022-02-08 18:06:43 +01:00
Alfredo Cardigliano
b5a7b1a11e Add test pcap 2022-02-08 12:00:17 +01:00
Alfredo Cardigliano
82c992c409 Move new tests 2022-02-08 11:57:01 +01:00
Alfredo Cardigliano
f56e3ad7d3
Merge pull request #6283 from ntop/addressres_test
Addressres test
2022-02-08 10:18:07 +01:00
Giorgio Zoppi
0d19c08c1e Added destructor a la c++03
modified:   tests/include/NtopTestingBase.h
2022-02-07 15:22:26 +01:00
Giorgio Zoppi
7ff1c1b7a3 Removed smart pointers C++11, now it's pure C++0x
modified:   tests/include/NtopTestingBase.h
	modified:   tests/src/NtopTestingBase.cpp
2022-02-07 15:21:26 +01:00
Giorgio Zoppi
406bf371d6 Removed C++14 make_unique with clang9 should work now
modified:   tests/src/NtopTestingBase.cpp
2022-02-07 15:19:17 +01:00
Alfredo Cardigliano
5034b3f942 Remove extra header. Update producers test. 2022-02-07 12:55:23 +01:00
Giorgio Zoppi
b20a59f5c0 - Addede setter for the script dir since ntop has high coupling
- Added test base for all test classe
- Set all the tests for address resolution
	modified:   include/Prefs.h
	modified:   src/AddressResolution.cpp
	modified:   tests/include/NtopTestingBase.h
	modified:   tests/src/AddressResolutionTest.cpp
	modified:   tests/src/NtopTestingBase.cpp
2022-02-07 12:50:43 +01:00
Giorgio Zoppi
a561a5b9da Adding base class for testing
new file:   src/NtopTestingBase.cpp
2022-02-07 12:07:12 +01:00
Giorgio Zoppi
15e22f35ba new file: include/NtopTestingBase.h 2022-02-07 12:07:01 +01:00
Giorgio Zoppi
6615ec052e modified: ../include/Prefs.h
modified:   include/AddressResolutionTest.h
	modified:   src/AddressResolutionTest.cpp
	include/NtopTestingBase.h
	src/NtopTestingBase.cpp
2022-02-07 12:06:40 +01:00
Giorgio Zoppi
626312aa04 I took a conservative approach
- Made Redis optional for address resolution - if we don't have redis we don't use and cache it.
- Added test for address resolution tests positive case  and negative.
	modified:   src/AddressResolution.cpp
	modified:   tests/include/AddressResolutionTest.h
	modified:   tests/src/AddressResolutionTest.cpp
2022-02-07 11:24:33 +01:00
Alfredo Cardigliano
396cbd32fb Add more syslog tests 2022-02-07 11:06:52 +01:00
Giorgio Zoppi
7bcaf455f2
Merge pull request #6282 from ntop/dev
updating test
2022-02-07 10:33:02 +01:00
Alfredo Cardigliano
7b8796f96e Move syslog producer list to rest API 2022-02-07 09:32:02 +01:00
Alfredo Cardigliano
ebfd4457a4 Add test for syslog producers 2022-02-07 09:26:04 +01:00
Giorgio Zoppi
95458ec8ea Fixed address resolution test
modified:   src/AddressResolution.cpp
	modified:   tests/include/AddressResolutionTest.h
	modified:   tests/src/AddressResolutionTest.cpp
2022-02-05 20:43:13 +01:00
Giorgio Zoppi
5e66bc35dc Fixed the null pointer to the destruction when throwing an exception,
we should be sure that global is checked not null
	modified:   include/Ntop.h
	modified:   src/AddressResolution.cpp
	modified:   src/Ntop.cpp
	modified:   tests/include/AddressResolutionTest.h
	modified:   tests/src/AddressResolutionTest.cpp
2022-02-05 20:30:37 +01:00
Giorgio Zoppi
74545216d4 fix not null ntop
modified:   src/AddressResolution.cpp
	modified:   tests/src/AddressResolutionTest.cpp
2022-02-05 18:21:56 +01:00
Giorgio Zoppi
4b8c005abb adding address resolution test
modified:   Makefile.in
	modified:   include/AddressResolution.h
	modified:   include/Ntop.h
	modified:   src/AddressResolution.cpp
	modified:   tests/include/AddressResolutionTest.h
	modified:   tests/src/AddressResolutionTest.cpp
	modified:   tests/src/gtest.cpp
2022-02-05 18:11:46 +01:00
Giorgio Zoppi
c6515d7052 Adding new resolver test.
modified:   include/ntop_typedefs.h
	modified:   tests/include/AddressResolutionTest.h
	modified:   tests/src/AddressResolutionTest.cpp
2022-02-05 17:12:29 +01:00
Giorgio Zoppi
1af3ffcf43 new file: src/gtest.cpp 2022-02-05 01:57:50 +01:00