7513141722bd230084c884e350e0c73288b463e7
[platform/core/uifw/dali-toolkit.git] / automated-tests / src / dali-toolkit-third-party / facebook-flexbox / layout-test-utils.h
1 /**
2  * Copyright (c) 2014, Facebook, Inc.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * LICENSE file in the root directory of this source tree. An additional grant
7  * of patent rights can be found in the PATENTS file in the same directory.
8  */
9
10 #include <stdio.h>
11 #include <string.h>
12
13 #include <dali-toolkit/third-party/facebook-flexbox/layout.h>
14
15 void test(const char *name, css_node_t *style, css_node_t *expected_layout);
16 bool tests_finished(void);
17 css_dim_t measure(void *context, float width, css_measure_mode_t widthMode, float height, css_measure_mode_t heightMode);
18 void init_css_node_children(css_node_t *node, int children_count);
19 css_node_t *new_test_css_node(void);
20 bool perform_layout_test(void);