package com.qiwu.chatbotbackend; import com.qiwu.chatbotbackend.db.SqlHelper; import com.qiwu.chatbotbackend.task.utils.FileFinder; import org.junit.Test; import static com.qiwu.chatbotbackend.processing.ChatCacheController.CHAT_CACHE_DIR; public class FileDeleteTests { @Test public void testQuery() throws Exception { FileFinder.deleteGameArchive(CHAT_CACHE_DIR, "1234567"); SqlHelper helper = new SqlHelper(); helper.deleteArchiveByBotAccount("12345678"); helper.destroy(); } }