Boost logo

Boost Users :

Subject: [Boost-users] [Test] Boost.Test for Property Tree Issue
From: Pritesh Acharya (priteshacharya_at_[hidden])
Date: 2014-04-10 04:29:50


Boost version: 1.55.0
OS: Windows 8
IDE: Visual Studio 2010
I have a small class which just parses a std::string
using boost::property_tree::read_json.
I'm trying to test my method with invalid input to make sure my method
handles the exception.
However, when I execute GetPropertyTreeFromJsonInValidInput2 (source code
 in attachment), I get exception
in the visual studio itself and I have to break the execution. (snapshot is
included in attachment).
I'm a new user of boost, so don't know where to look for the solution.





Boost_Test_Property_Tree_Issue.jpg

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net