Class ChatLogTypeTest

java.lang.Object
server.chat.ChatLogTypeTest

public class ChatLogTypeTest extends Object
Pure-function tests for the chat-log ChatLogType enum and the stateless ChatLogService.isCommand(String) predicate (offline, no DB/Timer/單例). Only the pure mappings are exercised; the ChatLogService singleton's queue/flush/purge plumbing is intentionally left untouched.
  • Constructor Details

    • ChatLogTypeTest

      public ChatLogTypeTest()
  • Method Details

    • ChatLogType_fromOthersType

      public void ChatLogType_fromOthersType()
    • ChatLogType_code

      public void ChatLogType_code()
    • ChatLogType_fromCode

      public void ChatLogType_fromCode()
    • ChatLogService_isCommand

      public void ChatLogService_isCommand()
    • ChatLogType_label

      public void ChatLogType_label()