Orbit brand packs for your channels: Orbit Mistletoe and Orbit Sakura
A channel named Mistletoe or Sakura (or given the Look on Review) wears the pack: logo, guide card, bug, background and its Blender ident. Packs are Orbit's own; a channel's file can only name one that exists. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -85,4 +85,13 @@ class SmartSetupTest {
|
||||
val before = YourBriefs
|
||||
try { YourBriefs = listOf(brief); assertTrue(Briefs.any { it.number == 701 }); assertTrue(Briefs.any { it.number == 101 }) } finally { YourBriefs = before }
|
||||
}
|
||||
|
||||
@Test fun yourChannelsCanWearAnOrbitBrandPack() {
|
||||
assertEquals("orbit-sakura", brandPackFor("Sakura")); assertEquals("orbit-mistletoe", brandPackFor("orbit mistletoe")); assertNull(brandPackFor("The Unknown"))
|
||||
val c = CustomChannel(702, "Sakura", PlayStyle.Shaped, brand = "orbit-sakura")
|
||||
assertEquals("orbit-sakura", CustomChannel.fromJson(JSONObject(c.toJson().toString())).brand)
|
||||
assertNull(CustomChannel.fromJson(JSONObject(c.copy(brand = null).toJson().toString())).brand)
|
||||
assertNull(CustomChannel.fromJson(JSONObject(c.toJson().put("brand", "not-a-pack").toString())).brand) // only Orbit's own packs
|
||||
CustomChannels.clear()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user