2
* Copyright 2019 by its authors. See AUTHORS.
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.
20
#include "eina_cxx_suite.h"
21
#include "../efl_check.h"
23
static const Efl_Test_Case etc[] = {
24
{ "Ptr_List", eina_test_ptrlist },
25
{ "Ptr_Array", eina_test_ptrarray },
26
{ "Inlist", eina_test_inlist },
27
{ "Inarray", eina_test_inarray },
28
{ "Iterator", eina_test_iterator },
29
{ "Stringshare", eina_test_stringshare },
30
{ "Error", eina_test_error },
31
{ "Accessor", eina_test_accessor },
32
{ "Thread", eina_test_thread },
33
{ "Optional", eina_test_optional },
34
{ "Value", eina_test_value },
35
{ "Log", eina_test_log },
40
main(int argc, char* argv[])
44
if (!_efl_test_option_disp(argc, argv, etc))
47
putenv(const_cast<char*>("EFL_RUN_IN_TREE=1"));
49
failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
50
"Eina C++", etc, NULL, NULL);
52
return (failed_count == 0) ? 0 : 255;