From c4d6651cae0fb1869ee65da0b66baae3828d73a2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 31 Dec 2024 16:16:38 +0900 Subject: update reverse-DNS style identifiers Signed-off-by: Ophestra --- dbus/samples_test.go | 24 ++++++++++++------------ dbus/testdata/moe.ophivana.CrashTestDummy.json | 21 --------------------- dbus/testdata/uk.gensokyo.CrashTestDummy.json | 21 +++++++++++++++++++++ 3 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 dbus/testdata/moe.ophivana.CrashTestDummy.json create mode 100644 dbus/testdata/uk.gensokyo.CrashTestDummy.json (limited to 'dbus') diff --git a/dbus/samples_test.go b/dbus/samples_test.go index a16d2c20..19d66b6a 100644 --- a/dbus/samples_test.go +++ b/dbus/samples_test.go @@ -82,10 +82,10 @@ var samples = []dbusTestCase{ }, { - "moe.ophivana.CrashTestDummy", &dbus.Config{ - See: []string{"moe.ophivana.CrashTestDummy1"}, + "uk.gensokyo.CrashTestDummy", &dbus.Config{ + See: []string{"uk.gensokyo.CrashTestDummy1"}, Talk: []string{"org.freedesktop.Notifications"}, - Own: []string{"moe.ophivana.CrashTestDummy.*", "org.mpris.MediaPlayer2.moe.ophivana.CrashTestDummy.*"}, + Own: []string{"uk.gensokyo.CrashTestDummy.*", "org.mpris.MediaPlayer2.uk.gensokyo.CrashTestDummy.*"}, Call: map[string]string{"org.freedesktop.portal.*": "*"}, Broadcast: map[string]string{"org.freedesktop.portal.*": "@/org/freedesktop/portal/*"}, Log: true, @@ -96,19 +96,19 @@ var samples = []dbusTestCase{ "unix:path=/run/user/1971/bus", "/tmp/fortify.1971/5da7845287a936efbc2fa75d7d81e501/bus", "--filter", - "--see=moe.ophivana.CrashTestDummy1", + "--see=uk.gensokyo.CrashTestDummy1", "--talk=org.freedesktop.Notifications", - "--own=moe.ophivana.CrashTestDummy.*", - "--own=org.mpris.MediaPlayer2.moe.ophivana.CrashTestDummy.*", + "--own=uk.gensokyo.CrashTestDummy.*", + "--own=org.mpris.MediaPlayer2.uk.gensokyo.CrashTestDummy.*", "--call=org.freedesktop.portal.*=*", "--broadcast=org.freedesktop.portal.*=@/org/freedesktop/portal/*", "--log"}, }, { - "moe.ophivana.CrashTestDummy1", &dbus.Config{ - See: []string{"moe.ophivana.CrashTestDummy"}, + "uk.gensokyo.CrashTestDummy1", &dbus.Config{ + See: []string{"uk.gensokyo.CrashTestDummy"}, Talk: []string{"org.freedesktop.Notifications"}, - Own: []string{"moe.ophivana.CrashTestDummy1.*", "org.mpris.MediaPlayer2.moe.ophivana.CrashTestDummy1.*"}, + Own: []string{"uk.gensokyo.CrashTestDummy1.*", "org.mpris.MediaPlayer2.uk.gensokyo.CrashTestDummy1.*"}, Call: map[string]string{"org.freedesktop.portal.*": "*"}, Broadcast: map[string]string{"org.freedesktop.portal.*": "@/org/freedesktop/portal/*"}, Log: true, @@ -119,10 +119,10 @@ var samples = []dbusTestCase{ "unix:path=/run/user/1971/bus", "/tmp/fortify.1971/5da7845287a936efbc2fa75d7d81e501/bus", "--filter", - "--see=moe.ophivana.CrashTestDummy", + "--see=uk.gensokyo.CrashTestDummy", "--talk=org.freedesktop.Notifications", - "--own=moe.ophivana.CrashTestDummy1.*", - "--own=org.mpris.MediaPlayer2.moe.ophivana.CrashTestDummy1.*", + "--own=uk.gensokyo.CrashTestDummy1.*", + "--own=org.mpris.MediaPlayer2.uk.gensokyo.CrashTestDummy1.*", "--call=org.freedesktop.portal.*=*", "--broadcast=org.freedesktop.portal.*=@/org/freedesktop/portal/*", "--log"}, diff --git a/dbus/testdata/moe.ophivana.CrashTestDummy.json b/dbus/testdata/moe.ophivana.CrashTestDummy.json deleted file mode 100644 index 4943be21..00000000 --- a/dbus/testdata/moe.ophivana.CrashTestDummy.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "see": [ - "moe.ophivana.CrashTestDummy1" - ], - "talk":[ - "org.freedesktop.Notifications" - ], - "own":[ - "moe.ophivana.CrashTestDummy.*", - "org.mpris.MediaPlayer2.moe.ophivana.CrashTestDummy.*" - ], - "call":{ - "org.freedesktop.portal.*":"*" - }, - "broadcast":{ - "org.freedesktop.portal.*":"@/org/freedesktop/portal/*" - }, - - "log": true, - "filter":true -} diff --git a/dbus/testdata/uk.gensokyo.CrashTestDummy.json b/dbus/testdata/uk.gensokyo.CrashTestDummy.json new file mode 100644 index 00000000..43272f67 --- /dev/null +++ b/dbus/testdata/uk.gensokyo.CrashTestDummy.json @@ -0,0 +1,21 @@ +{ + "see": [ + "uk.gensokyo.CrashTestDummy1" + ], + "talk":[ + "org.freedesktop.Notifications" + ], + "own":[ + "uk.gensokyo.CrashTestDummy.*", + "org.mpris.MediaPlayer2.uk.gensokyo.CrashTestDummy.*" + ], + "call":{ + "org.freedesktop.portal.*":"*" + }, + "broadcast":{ + "org.freedesktop.portal.*":"@/org/freedesktop/portal/*" + }, + + "log": true, + "filter":true +} -- cgit v1.3.1