1. 05 8月, 2016 4 次提交
  2. 04 8月, 2016 2 次提交
  3. 31 7月, 2016 1 次提交
  4. 26 7月, 2016 1 次提交
  5. 25 7月, 2016 2 次提交
  6. 24 7月, 2016 2 次提交
  7. 23 7月, 2016 2 次提交
  8. 22 7月, 2016 1 次提交
    • N
      minor changes · 4e7501e5
      Niels 提交于
      - fixed a bug that did not discard strings with control characters
      between 0x10 and 0x1f
      - added termination proofs for two important loops
      - made get_ref() constexpr
      4e7501e5
  9. 21 7月, 2016 1 次提交
  10. 01 7月, 2016 1 次提交
  11. 29 6月, 2016 2 次提交
  12. 28 6月, 2016 1 次提交
  13. 24 6月, 2016 1 次提交
  14. 23 6月, 2016 2 次提交
  15. 20 6月, 2016 1 次提交
  16. 19 6月, 2016 2 次提交
  17. 18 5月, 2016 1 次提交
    • R
      Define CMake/CTest tests · 639d6321
      Robert Marki 提交于
      Instead of copying the test executable and the JSON files used by
      the tests at install time, define CMake/CTest tests for running
      the json_unit executable from any build directory with the project's
      source directory as its working directory.
      
      - call enable_testing in the main lists file to allow the definition
      of tests
      - remove install commands from the test directory's lists file
      - define two tests
        - json_unit_default for running the default tests by executing
      json_unit without any arguments
        - json_unit_all for running all the tests by executing json_unit
      with the "*" argument
      - update the AppVeyor configuration file to use the new testing method
      639d6321
  18. 11 5月, 2016 3 次提交
    • C
      Install the test binary and test data. Fixes #241 · 527a69bb
      Chris Kitching 提交于
      The resulting install tree, when tests are enabled, looks like this:
      
      ```
      .
      ├── cmake
      │   ├── nlohmann_jsonConfig.cmake
      │   ├── nlohmann_jsonConfigVersion.cmake
      │   └── nlohmann_jsonTargets.cmake
      ├── include
      │   └── nlohmann
      │       └── json.hpp
      └── test
          ├── bin
          │   └── json_unit
          └── data
              ├── json_nlohmann_tests
              │   ├── all_unicode.json
              │   └── bom.json
              ├── json.org
              │   ├── 1.json
              │   ├── ...
              ├── json_roundtrip
              │   ├── roundtrip01.json
              │   ├── roundtrip02.json
              │   └── ...
              ├── json_tests
              │   ├── fail10.json
              │   └── ...
              └── json_testsuite
                  └── sample.json
      ```
      
      It has the property that you can invoke the test binary from the
      root of the install tree and the tests work correctly (you no
      longer depend on the test binary being run inside the source
      tree).
      
      If tests are disabled, the entire `test/` subtree is omitted.
      Notice how that yields exactly what you want for using this
      library in other projects.
      
      I do not believe I need to update travis due to this change, as the
      evil Makefile continues to do in-tree builds. I expect I'll find
      out soon enough.
      527a69bb
    • C
      Introduce structure to the test/ directory · af76508f
      Chris Kitching 提交于
      This introduces a clear separation between test data and test
      binaries. Test data is moved into test/data, and the test binaries
      move into test/src. A new CMake script specific to building the
      tests is introduced in /test to slightly clean up the toplevel
      one.
      
      As well as tidying things up, this makes the next step trivial...
      af76508f
    • C
      Unset execute bit on sample.json · bf7b6d15
      Chris Kitching 提交于
      bf7b6d15
  19. 09 5月, 2016 1 次提交
  20. 08 5月, 2016 3 次提交
  21. 30 4月, 2016 2 次提交
  22. 26 4月, 2016 1 次提交
  23. 25 4月, 2016 1 次提交
  24. 24 4月, 2016 2 次提交