| 66 | } |
| 67 | |
| 68 | void |
| 69 | testChildPointer() |
| 70 | { |
| 71 | value const jv = testValue(); |
| 72 | BOOST_TEST(&jv.at_pointer("/foo")== &jv.at("foo")); |
| 73 | BOOST_TEST(&jv.at_pointer("/c%d")== &jv.at("c%d")); |
| 74 | BOOST_TEST(&jv.at_pointer("/e^f")== &jv.at("e^f")); |
| 75 | BOOST_TEST(&jv.at_pointer("/g|h")== &jv.at("g|h")); |
| 76 | BOOST_TEST(&jv.at_pointer("/")== &jv.at("")); |
| 77 | BOOST_TEST(&jv.at_pointer("/i\\j")== &jv.at("i\\j")); |
| 78 | BOOST_TEST(&jv.at_pointer("/k\"l")== &jv.at("k\"l")); |
| 79 | BOOST_TEST(&jv.at_pointer("/ ")== &jv.at(" ")); |
| 80 | } |
| 81 | |
| 82 | void |
| 83 | testEscaped() |
nothing calls this directly
no outgoing calls
no test coverage detected