Skip to content

Commit

Permalink
chore: add openvpn experiment to experimental card. (#811)
Browse files Browse the repository at this point in the history
Fixes  ooni/probe#2795

## Proposed Changes

  - Add OpenVPN to experimental tests/
  - Update tests to reflect change in experimental test.

|.|.|
|-|-|
|
![Screenshot_20240827_154420](https://github.com/user-attachments/assets/6fc2ceae-6966-495e-aa7f-5932fed56a82)
|
![Screenshot_20240827_154432](https://github.com/user-attachments/assets/e43350e0-b25c-450e-afc5-c37bc6b97348)
|
  • Loading branch information
aanorbel authored Aug 27, 2024
1 parent a6c04ff commit b683b19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ enum class OONITests(
dataUsage = R.string.TestResults_NotAvailable,
nettests = listOf(
BaseNettest(name = "stunreachability"),
BaseNettest(name = "dnscheck"),
BaseNettest(name = "openvpn"),
BaseNettest(name = "echcheck"),
),
longRunningTests = listOf(
Expand Down Expand Up @@ -346,7 +346,7 @@ enum class OONITests(
return """
* [STUN Reachability](https://github.com/ooni/spec/blob/master/nettests/ts-025-stun-reachability.md)
* [DNS Check](https://github.com/ooni/spec/blob/master/nettests/ts-028-dnscheck.md)
* [OpenVPN](https://github.com/ooni/spec/blob/master/nettests/ts-040-openvpn.md)
* [RiseupVPN](https://ooni.org/nettest/riseupvpn/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void getTestList_experimental_foreground() {
assertEquals(Experimental.class, tests.get(1).getClass());
assertEquals(Experimental.class, tests.get(2).getClass());
assertEquals("stunreachability", tests.get(0).getName());
assertEquals("dnscheck", tests.get(1).getName());
assertEquals("openvpn", tests.get(1).getName());
assertEquals("echcheck", tests.get(2).getName());
}

Expand All @@ -68,7 +68,7 @@ public void getTestList_experimental_on_autorun_on() {
assertEquals(Experimental.class, tests.get(4).getClass());

assertEquals("stunreachability", tests.get(0).getName());
assertEquals("dnscheck", tests.get(1).getName());
assertEquals("openvpn", tests.get(1).getName());
assertEquals("echcheck", tests.get(2).getName());
assertEquals("torsf", tests.get(3).getName());
assertEquals("vanilla_tor", tests.get(4).getName());
Expand Down

0 comments on commit b683b19

Please sign in to comment.