more tests

This commit is contained in:
Kyle Maxwell 2009-02-26 12:19:39 -08:00
parent dc5a3d0368
commit 1281cf1d8d
3 changed files with 4 additions and 1 deletions

View File

@ -50,4 +50,5 @@ check-am:
@echo "trivial..."; ./dexter test/trivial.dex test/trivial.html | diff test/trivial.json - && echo " success."
@echo "trivial2..."; ./dexter test/trivial2.dex test/trivial2.html | diff test/trivial2.json - && echo " success."
@echo "craigs-simple..."; ./dexter test/craigs-simple.dex test/craigs-simple.html | diff test/craigs-simple.json - && echo " success."
@echo "hn..."; ./dexter test/hn.dex test/hn.html | diff test/hn.json - && echo " success."
@echo "hn..."; ./dexter test/hn.dex test/hn.html | diff test/hn.json - && echo " success."
@echo "yelp-home..."; ./dexter test/yelp-home.dex test/yelp-home.html | diff test/yelp-home.json - && echo " success."

View File

@ -754,6 +754,7 @@ check-am:
@echo "trivial2..."; ./dexter test/trivial2.dex test/trivial2.html | diff test/trivial2.json - && echo " success."
@echo "craigs-simple..."; ./dexter test/craigs-simple.dex test/craigs-simple.html | diff test/craigs-simple.json - && echo " success."
@echo "hn..."; ./dexter test/hn.dex test/hn.html | diff test/hn.json - && echo " success."
@echo "yelp-home..."; ./dexter test/yelp-home.dex test/yelp-home.html | diff test/yelp-home.json - && echo " success."
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

1
test/yelp-home.json Normal file
View File

@ -0,0 +1 @@
{ "categories": [ { "text": "Shopping", "href": "\/c\/sf\/shopping" }, { "text": "Restaurants", "href": "\/c\/sf\/restaurants" }, { "text": "Food", "href": "\/c\/sf\/food" }, { "text": "Health and Medical", "href": "\/c\/sf\/health" }, { "text": "Beauty and Spas", "href": "\/c\/sf\/beautysvc" }, { "text": "Home Services", "href": "\/c\/sf\/homeservices" }, { "text": "Local Services", "href": "\/c\/sf\/localservices" }, { "text": "Event Planning & Services", "href": "\/c\/sf\/eventservices" }, { "text": "Arts & Entertainment", "href": "\/c\/sf\/arts" }, { "text": "Active Life", "href": "\/c\/sf\/active" }, { "text": "Nightlife", "href": "\/c\/sf\/nightlife" }, { "text": "Automotive", "href": "\/c\/sf\/auto" }, { "text": "Hotels & Travel", "href": "\/c\/sf\/hotelstravel" }, { "text": "Professional Services", "href": "\/c\/sf\/professional" }, { "text": "Education", "href": "\/c\/sf\/education" }, { "text": "Real Estate", "href": "\/c\/sf\/realestate" }, { "text": "Pets", "href": "\/c\/sf\/pets" }, { "text": "Financial Services", "href": "\/c\/sf\/financialservices" }, { "text": "Public Services &…", "href": "\/c\/sf\/publicservicesgovt" }, { "text": "Local Flavor", "href": "\/c\/sf\/localflavor" }, { "text": "Mass Media", "href": "\/c\/sf\/massmedia" }, { "text": "Religious Organizations", "href": "\/c\/sf\/religiousorgs" } ] }