Skip to content

Test program to generate XHTML nested unordered list from JSON array.

Notifications You must be signed in to change notification settings

Chaircrusher/CXXTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To build you need CMake and git installed: http://www.cmake.org

Build instructions:

mkdir /kwscratch cd /kwscratch git clone https://github.com/Chaircrusher/CXXTest.git mkdir build cd build cmake ../CXXTest make

Running instructions

The easy way is via CTest:

cd /kwscratch/build/CxxTest-build ctest -V

This runs the program, displaying the output.

To run it directly

/kwscratch/build/CxxTest-build/CxxTest /kwscratch/CXXTest/catalog.js other

I've done this the way I customarily work -- I didn't really want to write a json parser, so I found an open source library jsoncpp to handle it.

I moved the javascript array to the catalog.js file. I had to change it slightly for jsoncpp to digest it; in particular, attribute names needed to be in quotes.

About

Test program to generate XHTML nested unordered list from JSON array.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages