xubo245 commented on code in PR #4376:
URL: https://github.com/apache/carbondata/pull/4376#discussion_r2452310697


##########
core/src/test/java/org/apache/carbondata/core/cache/CarbonLRUCacheTest.java:
##########
@@ -34,11 +34,32 @@ public class CarbonLRUCacheTest {
 
   @BeforeClass public static void setUp() {
     carbonLRUCache = new CarbonLRUCache("prop1", "2");
-    cacheable = new MockUp<Cacheable>() {
-      @SuppressWarnings("unused") @Mock long getMemorySize() {
-        return 15L;
+     new MockUp<Cacheable>(Cacheable.class) {
+      @SuppressWarnings("unused")
+      @Mock
+      long getMemorySize() {
+        return 15L; // 模拟 getMemorySize 方法

Review Comment:
   please use english



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to