Lines Matching full:test
29 cmake_parse_arguments(TA_ARG "" "COMMENT" "TEST" ${ARGN})
35 "Test: ${TA_ARG_TEST}\n"
43 yaml_get(actual NAME yaml-test KEY cmake test key-string)
45 test_assert(TEST ${expected} STREQUAL ${actual}
52 yaml_length(actual NAME yaml-test KEY cmake test key-list-string)
53 test_assert(TEST ${expected} EQUAL ${actual}
58 yaml_get(actual NAME yaml-test KEY cmake test key-list-string)
61 test_assert(TEST "${e}" STREQUAL "${a}"
69 yaml_get(actual NAME yaml-test KEY cmake test key-int)
71 test_assert(TEST ${expected} EQUAL ${actual}
78 yaml_length(actual NAME yaml-test KEY cmake test key-list-int)
79 test_assert(TEST ${expected} EQUAL ${actual}
84 yaml_get(actual NAME yaml-test KEY cmake test key-list-int)
87 test_assert(TEST "${e}" STREQUAL "${a}"
95 yaml_get(actual NAME yaml-test KEY cmake test key-int)
97 test_assert(TEST ${expected} EQUAL ${actual}
104 yaml_get(actual NAME yaml-test KEY cmake missing test key)
106 test_assert(TEST ${expected} STREQUAL ${actual}
113 yaml_length(actual NAME yaml-test KEY cmake missing test array list)
115 test_assert(TEST ${expected} STREQUAL ${actual}
122 yaml_length(actual NAME yaml-test KEY cmake test key-int)
124 test_assert(TEST ${expected} STREQUAL ${actual}
130 yaml_save(NAME yaml-test FILE ${CMAKE_BINARY_DIR}/${CMAKE_CURRENT_FUNCTION}_test_save.yaml)
137 yaml_get(actual NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test key-string)
139 test_assert(TEST ${expected} STREQUAL ${actual}
144 yaml_get(actual NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test key-int)
146 test_assert(TEST ${expected} EQUAL ${actual}
158 KEY cmake test set key-string VALUE ${new_value}
168 yaml_get(readback NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test set key-string)
170 test_assert(TEST ${new_value} STREQUAL ${readback}
182 KEY cmake test set key-list-string LIST ${new_value}
192 yaml_length(readback NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test set key-list-string)
194 test_assert(TEST 5 EQUAL ${readback}
198 yaml_get(readback NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test set key-list-string)
201 test_assert(TEST "${e}" STREQUAL "${a}"
214 KEY cmake test set key-int VALUE ${new_value}
224 yaml_get(readback NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test set key-int)
226 test_assert(TEST ${new_value} STREQUAL ${readback}
238 KEY cmake test set key-list-int LIST ${new_value}
248 yaml_length(readback NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test set key-list-int)
250 test_assert(TEST 5 EQUAL ${readback}
254 yaml_get(readback NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test set key-list-int)
257 test_assert(TEST "${e}" STREQUAL "${a}"
270 KEY cmake test set key-int VALUE ${new_value}
280 yaml_get(readback NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test set key-int)
298 KEY cmake test set key-list-int LIST ${new_value}
308 yaml_length(readback NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test set key-list-int)
310 test_assert(TEST 0 EQUAL ${readback}
314 yaml_get(readback NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test set key-list-int)
317 test_assert(TEST "${e}" STREQUAL "${a}"
330 KEY cmake test set key-int VALUE ${new_value}
340 yaml_get(readback NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test set key-int)
342 test_assert(TEST ${new_value} STREQUAL ${readback}
347 yaml_remove(NAME ${CMAKE_CURRENT_FUNCTION}_readback KEY cmake test set key-int)
355 yaml_get(readback NAME ${CMAKE_CURRENT_FUNCTION}_readback_removed KEY cmake test set key-int)
357 set(expected cmake-test-set-key-int-NOTFOUND)
359 test_assert(TEST ${expected} STREQUAL ${readback}
369 KEY cmake test set key-int VALUE ${new_value}
376 test_assert(TEST 1 EQUAL ${errors}
382 yaml_load(FILE ${CMAKE_CURRENT_LIST_DIR}/test.yaml NAME yaml-test)