Lines Matching refs:test

278   call prop_type_add('test', {'highlight': 'ErrorMsg'})
280 call prop_add(1, 4, {'type': 'test'})
282 \ #{type_bufnr: 0, id: 0, lnum: 1, col: 4, type: 'test', length: 0, start: 1, end: 1},
283 \ prop_find({'type': 'test', 'lnum': 2, 'col': 1}, 'b'))
285 call prop_type_delete('test')
1033 " screenshot test with textprop highlighting
1134 " screenshot test with Visual block mode operations
1312 call prop_type_add("test", {"highlight": "Search"})
1313 call prop_add(1, 2, {"end_lnum": 2, "end_col": 2, "type": "test"})
1317 call prop_type_delete('test')
1348 call prop_type_add('test', {'highlight': 'ErrorMsg'})
1349 call prop_add(1, 1, {'end_col': 2, 'type': 'test'})
1351 call prop_remove({'type': 'test'})
1352 call prop_add(1, 2, {'end_col': 3, 'type': 'test'})
1354 call prop_remove({'type': 'test'})
1357 call prop_add(1, 6, {'end_col': 7, 'type': 'test'})
1362 call prop_remove({'type': 'test'})
1363 call prop_type_delete('test')
1380 call prop_type_add('test', {'highlight': 'ErrorMsg'})
1381 call prop_add(1, 1, {'end_col': 2, 'type': 'test'})
1387 call prop_add(1, 1, {'end_col': 2, 'type': 'test'})
1388 call prop_remove({'type': 'test', 'all': v:true})
1389 call prop_type_delete('test')
1390 call prop_type_delete('test')
1399 call prop_type_add('test', {'highlight': 'ErrorMsg'})
1400 call prop_add(1, 1, {'end_col': 2, 'type': 'test'})
1401 …call assert_equal([#{type_bufnr: 0, id: 0, col: 1, end: 1, type: 'test', length: 1, start: 1}], pr…
1405 …call assert_equal([#{type_bufnr: 0, id: 0, col: 1, end: 1, type: 'test', length: 1, start: 1}], pr…
1408 call prop_remove({'type': 'test'})
1409 call prop_type_delete('test')
1414 call prop_type_add('test', {'highlight': 'ErrorMsg'})
1416 call prop_add(1, 1, {'length': 4, 'type': 'test'})
1417 call prop_add(1, 10, {'length': 3, 'type': 'test'})
1420 \ #{type_bufnr: 0, id: 0, lnum: 1, col: 10, end: 1, type: 'test', length: 3, start: 1},
1421 \ prop_find(#{type: 'test', lnum: 1, col: 6}))
1424 call prop_type_delete('test')
1429 call prop_type_add('test', {'highlight': 'ErrorMsg'})
1431 call prop_add(1, 1, {'length': 0, 'type': 'test'})
1434 \ #{type_bufnr: 0, id: 0, lnum: 1, col: 1, end: 1, type: 'test', length: 0, start: 1},
1435 \ prop_find(#{type: 'test', lnum: 1}))
1438 call prop_type_delete('test')
1485 call prop_type_add('test', {'highlight': 'ErrorMsg'})
1487 call prop_add(1, 6, {'length': 4, 'type': 'test'})
1492 \ [#{type_bufnr: 0, id: 0, col: 6, end: 0, type: 'test', length: 2, start: 1}],
1495 \ [#{type_bufnr: 0, id: 0, col: 1, end: 1, type: 'test', length: 2, start: 0}],
1500 …call assert_equal([#{type_bufnr: 0, id: 0, col: 6, end: 1, type: 'test', length: 5, start: 1}], pr…
1503 call prop_type_delete('test')
1508 call prop_type_add('test', {'highlight': 'ErrorMsg'})
1510 call prop_add(1, 5, {'length': 3, 'type': 'test'})
1515 \ #{type_bufnr: 0, id: 0, col: 5, end: 1, type: 'test', length: 3, start: 1}])
1520 \ #{type_bufnr: 0, id: 0, col: 5, end: 1, type: 'test', length: 4, start: 1}])
1523 call prop_type_delete('test')
1528 call prop_type_add('test', {'highlight': 'ErrorMsg'})
1530 call prop_add(1, 1, {'length': 3, 'type': 'test'})
1531 call prop_add(2, 1, {'length': 3, 'type': 'test'})
1536 let expected = [#{type_bufnr: 0, id: 0, col: 3, end: 1, type: 'test', length: 3, start: 1}]
1554 call prop_type_delete('test')