diff options
| author | Ophestra <cat@gensokyo.uk> | 2024-12-31 16:16:38 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2024-12-31 16:16:38 +0900 |
| commit | c4d6651cae0fb1869ee65da0b66baae3828d73a2 (patch) | |
| tree | 82c7d05764e512608cc6c1c016ca7d9142f7928a /dbus | |
| parent | 22a4b996742a99515c2cdf50cbd92d86a8370c4f (diff) | |
update reverse-DNS style identifiers
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'dbus')
| -rw-r--r-- | dbus/samples_test.go | 24 | ||||
| -rw-r--r-- | dbus/testdata/uk.gensokyo.CrashTestDummy.json (renamed from dbus/testdata/moe.ophivana.CrashTestDummy.json) | 6 |
2 files changed, 15 insertions, 15 deletions
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/uk.gensokyo.CrashTestDummy.json index 4943be21..43272f67 100644 --- a/dbus/testdata/moe.ophivana.CrashTestDummy.json +++ b/dbus/testdata/uk.gensokyo.CrashTestDummy.json @@ -1,13 +1,13 @@ { "see": [ - "moe.ophivana.CrashTestDummy1" + "uk.gensokyo.CrashTestDummy1" ], "talk":[ "org.freedesktop.Notifications" ], "own":[ - "moe.ophivana.CrashTestDummy.*", - "org.mpris.MediaPlayer2.moe.ophivana.CrashTestDummy.*" + "uk.gensokyo.CrashTestDummy.*", + "org.mpris.MediaPlayer2.uk.gensokyo.CrashTestDummy.*" ], "call":{ "org.freedesktop.portal.*":"*" |
