efl

Форк
0
/
eina_cxx_suite.cc 
53 строки · 1.5 Кб
1
/*
2
 * Copyright 2019 by its authors. See AUTHORS.
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
#ifdef HAVE_CONFIG_H
17
# include <config.h>
18
#endif
19

20
#include "eina_cxx_suite.h"
21
#include "../efl_check.h"
22

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 },
36
   { NULL, NULL }
37
};
38

39
int
40
main(int argc, char* argv[])
41
{
42
   int failed_count;
43

44
   if (!_efl_test_option_disp(argc, argv, etc))
45
     return 0;
46

47
   putenv(const_cast<char*>("EFL_RUN_IN_TREE=1"));
48

49
   failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
50
                                           "Eina C++", etc, NULL, NULL);
51

52
   return (failed_count == 0) ? 0 : 255;
53
}
54

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.