2 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.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
8 // http://floralicense.org/license/
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.
20 #include <dali/dali.h>
21 #include <dali/integration-api/glyph-set.h>
23 #include <dali-test-suite-utils.h>
25 // Internal headers are allowed here
30 void utc_dali_internal_handles_startup()
32 test_return_value = TET_UNDEF;
35 void utc_dali_internal_handles_cleanup()
37 test_return_value = TET_PASS;
41 int UtcDaliCameraActorConstructorRefObject(void)
43 TestApplication application;
44 tet_infoline("Testing Dali::CameraActor::CameraActor(Internal::CameraActor*)");
46 CameraActor actor(NULL);
48 DALI_TEST_CHECK(!actor);
52 int UtcDaliImageActorConstructorRefObject(void)
54 TestApplication application;
55 tet_infoline("Testing Dali::ImageActor::ImageActor(Internal::ImageActor*)");
57 ImageActor actor(NULL);
59 DALI_TEST_CHECK(!actor);
63 int UtcDaliLightActorConstructorRefObject(void)
65 TestApplication application;
66 tet_infoline("Testing Dali::LightActor::LightActor(Internal::LightActor*) UtcDaliLightActorConstructorRefObject");
68 LightActor actor(NULL);
70 DALI_TEST_CHECK(!actor);
74 int UtcDaliMeshActorConstructorRefObject(void)
76 TestApplication application;
77 tet_infoline("Testing Dali::MeshActor::MeshActor(Internal::MeshActor*)");
79 MeshActor actor(NULL);
80 DALI_TEST_CHECK(!actor);
82 MeshActor* actorPtr = new MeshActor();
83 DALI_TEST_CHECK( ! *actorPtr );
88 int UtcDaliModelConstructorRefObject(void)
90 TestApplication application;
91 tet_infoline("Testing Dali::Model::Model(Internal::Model*)");
95 DALI_TEST_CHECK(!model);
99 int UtcDaliTextActorConstructorRefObject(void)
101 TestApplication application;
102 tet_infoline("Testing Dali::TextActor::TextActor(Internal::TextActor*)");
103 TextActor actor(NULL);
104 DALI_TEST_CHECK(!actor);