From 8c0cadfd2b58b89cf4fda52c193bb20059e9c375 Mon Sep 17 00:00:00 2001 From: Norbel AMBANUMBEN Date: Wed, 28 Aug 2024 14:03:50 +0100 Subject: [PATCH] chore: add openvpn to experimental suite --- .../openobservatory/ooniprobe/activity/OverviewActivity.java | 2 +- .../ooniprobe/test/suite/ExperimentalSuite.java | 2 +- .../ooniprobe/test/suite/ExperimentalSuiteTest.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/openobservatory/ooniprobe/activity/OverviewActivity.java b/app/src/main/java/org/openobservatory/ooniprobe/activity/OverviewActivity.java index be3c4dead..9b63e1b2d 100644 --- a/app/src/main/java/org/openobservatory/ooniprobe/activity/OverviewActivity.java +++ b/app/src/main/java/org/openobservatory/ooniprobe/activity/OverviewActivity.java @@ -58,7 +58,7 @@ public static Intent newIntent(Context context, AbstractSuite testSuite) { if (testSuite.getName().equals(ExperimentalSuite.NAME)) { String experimentalLinks = "\n\n* [STUN Reachability](https://github.com/ooni/spec/blob/master/nettests/ts-025-stun-reachability.md)" + - "\n\n* [DNS Check](https://github.com/ooni/spec/blob/master/nettests/ts-028-dnscheck.md)" + + "\n\n* [OpenVPN](https://github.com/ooni/spec/blob/master/nettests/ts-040-openvpn.md)" + "\n\n* [RiseupVPN](https://ooni.org/nettest/riseupvpn/)" + "\n\n* [ECH Check](https://github.com/ooni/spec/blob/master/nettests/ts-039-echcheck.md)" + "\n\n* [Tor Snowflake](https://ooni.org/nettest/tor-snowflake/) "+ String.format(" ( %s )",getString(R.string.Settings_TestOptions_LongRunningTest))+ diff --git a/app/src/main/java/org/openobservatory/ooniprobe/test/suite/ExperimentalSuite.java b/app/src/main/java/org/openobservatory/ooniprobe/test/suite/ExperimentalSuite.java index 6f887bfe6..7b70011d2 100644 --- a/app/src/main/java/org/openobservatory/ooniprobe/test/suite/ExperimentalSuite.java +++ b/app/src/main/java/org/openobservatory/ooniprobe/test/suite/ExperimentalSuite.java @@ -41,7 +41,7 @@ public AbstractTest[] getTestList(@Nullable PreferenceManager pm) { ArrayList list = new ArrayList<>(); if (pm == null || pm.isExperimentalOn()){ list.add(new Experimental("stunreachability")); - list.add(new Experimental("dnscheck")); + list.add(new Experimental("openvpn")); list.add(new Experimental("echcheck")); if ((pm == null || pm.isLongRunningTestsInForeground()) || getAutoRun()){ list.add(new Experimental("torsf")); diff --git a/app/src/test/java/org/openobservatory/ooniprobe/test/suite/ExperimentalSuiteTest.java b/app/src/test/java/org/openobservatory/ooniprobe/test/suite/ExperimentalSuiteTest.java index 8b9fbd37d..2886ed698 100644 --- a/app/src/test/java/org/openobservatory/ooniprobe/test/suite/ExperimentalSuiteTest.java +++ b/app/src/test/java/org/openobservatory/ooniprobe/test/suite/ExperimentalSuiteTest.java @@ -39,7 +39,7 @@ public void getTestList_experimental_on() { 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()); } @@ -58,7 +58,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());