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/devel-api/actors/mesh-actor.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 UtcDaliMeshActorConstructorRefObject(void)
66 TestApplication application;
67 tet_infoline("Testing Dali::MeshActor::MeshActor(Internal::MeshActor*)");
69 MeshActor actor(NULL);
70 DALI_TEST_CHECK(!actor);
72 MeshActor* actorPtr = new MeshActor();
73 DALI_TEST_CHECK( ! *actorPtr );
78 int UtcDaliTextActorConstructorRefObject(void)
80 TestApplication application;
81 tet_infoline("Testing Dali::TextActor::TextActor(Internal::TextActor*)");
82 ImageActor actor(NULL);
83 DALI_TEST_CHECK(!actor);