2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 #include <dali/public-api/dali-core.h>
22 #include <dali/integration-api/glyph-set.h>
24 #include <dali-test-suite-utils.h>
26 // Internal headers are allowed here
31 void utc_dali_internal_handles_startup()
33 test_return_value = TET_UNDEF;
36 void utc_dali_internal_handles_cleanup()
38 test_return_value = TET_PASS;
42 int UtcDaliCameraActorConstructorRefObject(void)
44 TestApplication application;
45 tet_infoline("Testing Dali::CameraActor::CameraActor(Internal::CameraActor*)");
47 CameraActor actor(NULL);
49 DALI_TEST_CHECK(!actor);
53 int UtcDaliImageActorConstructorRefObject(void)
55 TestApplication application;
56 tet_infoline("Testing Dali::ImageActor::ImageActor(Internal::ImageActor*)");
58 ImageActor actor(NULL);
60 DALI_TEST_CHECK(!actor);
64 int UtcDaliLightActorConstructorRefObject(void)
66 TestApplication application;
67 tet_infoline("Testing Dali::LightActor::LightActor(Internal::LightActor*) UtcDaliLightActorConstructorRefObject");
69 LightActor actor(NULL);
71 DALI_TEST_CHECK(!actor);
75 int UtcDaliMeshActorConstructorRefObject(void)
77 TestApplication application;
78 tet_infoline("Testing Dali::MeshActor::MeshActor(Internal::MeshActor*)");
80 MeshActor actor(NULL);
81 DALI_TEST_CHECK(!actor);
83 MeshActor* actorPtr = new MeshActor();
84 DALI_TEST_CHECK( ! *actorPtr );
89 int UtcDaliModelConstructorRefObject(void)
91 TestApplication application;
92 tet_infoline("Testing Dali::Model::Model(Internal::Model*)");
96 DALI_TEST_CHECK(!model);
100 int UtcDaliTextActorConstructorRefObject(void)
102 TestApplication application;
103 tet_infoline("Testing Dali::TextActor::TextActor(Internal::TextActor*)");
104 TextActor actor(NULL);
105 DALI_TEST_CHECK(!actor);