Updated test cases for increased coverage
[platform/core/uifw/dali-toolkit.git] / automated-tests / src / dali-toolkit / dali-toolkit-test-utils / toolkit-file-loader.cpp
1 /*
2  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #include <string>
18 #include <dali/public-api/common/dali-common.h>
19 #include <dali/public-api/object/base-handle.h>
20 #include <dali/devel-api/adaptor-framework/file-loader.h>
21
22 namespace Dali
23 {
24
25 namespace FileLoader
26 {
27
28 int ReadFile(
29   const std::string& filename,
30   Dali::Vector<char> & memblock,
31   FileLoader::FileType fileType)
32 {
33   return 0;
34 }
35
36 int ReadFile(
37   const std::string& filename,
38   std::streampos& fileSize,
39   Dali::Vector<char> & memblock,
40   FileLoader::FileType fileType)
41 {
42   return 0;
43 }
44
45 std::streampos GetFileSize(const std::string& filename)
46 {
47   return 0;
48 }
49
50 }
51 }