Dali 3D User Interface Engine
utc-Dali-GifLoader.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 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 
18 #include <iostream>
19 #include <stdlib.h>
20 #include <dali-test-suite-utils.h>
21 
23 #include "image-loaders.h"
24 
25 using namespace Dali;
26 
27 namespace {
29 }
30 
31 
33 {
34 }
35 
37 {
38 }
39 
41 {
42  ImageDetails interlaced( TEST_IMAGE_DIR "/interlaced.gif", 365u, 227u );
43  TestImageLoading( interlaced, GifLoaders );
44  END_TEST;
45 }
46 
48 {
49  ImageDetails errorBits( TEST_IMAGE_DIR "/error-bits.gif", 534u, 749u, 1280u, 1024u );
50  TestImageLoading( errorBits, GifLoaders );
51  END_TEST;
52 }
53 
55 {
56  ImageDetails pattern( TEST_IMAGE_DIR "/pattern.gif", 600u, 600u );
57  TestImageLoading( pattern, GifLoaders );
58  END_TEST;
59 }
60 
62 {
63  ImageDetails transparency( TEST_IMAGE_DIR "/transparency.gif", 320u, 280u );
64  TestImageLoading( transparency, GifLoaders );
65  END_TEST;
66 }
Dali Docs Home
Read more about Dali