]>
git.saurik.com Git - android/aapt.git/blob - tests/MockCacheUpdater.h
2 // Copyright 2011 The Android Open Source Project
4 #ifndef MOCKCACHEUPDATER_H
5 #define MOCKCACHEUPDATER_H
7 #include <utils/String8.h>
8 #include "CacheUpdater.h"
10 using namespace android
;
12 class MockCacheUpdater
: public CacheUpdater
{
16 : deleteCount(0), processCount(0) { };
18 // Make sure all the directories along this path exist
19 virtual void ensureDirectoriesExist(String8 path
)
25 virtual void deleteFile(String8 path
) {
29 // Process an image from source out to dest
30 virtual void processImage(String8 source
, String8 dest
) {
40 #endif // MOCKCACHEUPDATER_H