ooni-probe-cli/internal/engine
Arturo Filastò 5e5cfa72e7
MVP of a signal messenger test (#230)
* MVP of a signal messenger test

* Add minimal signal test unit tests

* Add Signal test to the im nettest group

* Add test for https://sfu.voip.signal.org/

* Fix bug in client-side determination of blocking status

* Add uptime.signal.org to the test targets

* Add more tests

* Check for invalid CA being passed
* Check that the update function works as expected

* Update internal/engine/experiment/signal/signal_test.go

Co-authored-by: Simone Basso <bassosimone@gmail.com>

* fix: back out URL we shouldn't have changed

When merging probe-engine into probe-cli, we changed too many URLs
and some of them should not have been changed.

I noticed this during the review of Signal and I choose to add
this commit to revert such changes.

While there, make sure the URL of the experiment is OK.

* fix(signal): reach 100% of coverage

Just so that we can focus on areas of the codebase where we need
more coverage, let us avoid missing an easy line to test.

Co-authored-by: Simone Basso <bassosimone@gmail.com>
2021-02-26 10:16:34 +01:00
..
atomicx chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
experiment MVP of a signal messenger test (#230) 2021-02-26 10:16:34 +01:00
geolocate fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
httpheader refactor: move more commands to internal/cmd (#207) 2021-02-03 12:23:15 +01:00
httpx refactor: move more commands to internal/cmd (#207) 2021-02-03 12:23:15 +01:00
humanizex refactor: miniooni should be outside of the engine (#206) 2021-02-03 11:21:10 +01:00
internal fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
kvstore refactor: move more commands to internal/cmd (#207) 2021-02-03 12:23:15 +01:00
legacy fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
model chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
netx MVP of a signal messenger test (#230) 2021-02-26 10:16:34 +01:00
probeservices refactor: move more commands to internal/cmd (#207) 2021-02-03 12:23:15 +01:00
resources refactor: move more commands to internal/cmd (#207) 2021-02-03 12:23:15 +01:00
runtimex refactor: start building an Android package (#205) 2021-02-03 10:51:14 +01:00
shellx fix: use golang.org/x/sys/execabs (#224) 2021-02-10 07:40:48 +01:00
testdata fix: add missing files causing tests to fail (#202) 2021-02-02 14:18:22 +01:00
.gitignore refactor: move more commands to internal/cmd (#207) 2021-02-03 12:23:15 +01:00
allexperiments.go MVP of a signal messenger test (#230) 2021-02-26 10:16:34 +01:00
experiment_integration_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
experiment_internal_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
experiment_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
experiment.go fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
experimentbuilder_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
experimentbuilder.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
inputloader_integration_test.go refactor: move more commands to internal/cmd (#207) 2021-02-03 12:23:15 +01:00
inputloader_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
inputloader.go MVP of a signal messenger test (#230) 2021-02-26 10:16:34 +01:00
inputprocessor_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
inputprocessor.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
kvstore_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
kvstore.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
saver_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
saver.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
session_integration_test.go fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
session_internal_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
session.go fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
submitter_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
submitter.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00