failing tests

This commit is contained in:
Kyle Maxwell 2009-02-26 12:17:27 -08:00
parent b2baefcc14
commit dc5a3d0368
7 changed files with 1023 additions and 5 deletions

3
.gitignore vendored
View File

@ -20,4 +20,5 @@ ruby/ext/cdexter.bundle
ruby/ext/cdexter.so
ruby/ext/Makefile
ruby/ext/conftest.dSYM/
work
work
ruby/ext/mkmf.log

View File

@ -4,12 +4,16 @@ task :test => :build do
Dir["test/*test*.rb"].each {|f| load f }
end
task :build => :clean do
"cd ext && ruby extconf.rb && make"
task :build => :configure do
system "cd ext && make"
end
task :clean do
"cd ext && make clean"
task :clean => :configure do
system "cd ext && make clean"
end
task :configure do
system "cd ext && ruby extconf.rb" unless File.exists?("ext/Makefile")
end
task :install do

1
test/craigs-simple.json Normal file

File diff suppressed because one or more lines are too long

1
test/trivial.json Normal file
View File

@ -0,0 +1 @@
{ "title": "Nick's Crispy Tacos", "links": [ "Yelp", "Welcome", "\t\t\t\tAbout Me", "\t\t\t\tWrite a Review", "Find Reviews", "\t\t\t\tInvite Friends", "\t\t\t\tMessaging", "Talk", "Log In", "Account", "Member Search", "Try our mobile site, optimized for faster browsing.", "Mexican", "Edit", "Add Photos", "View All", "$", "First to Review", "Nish N.", "Edit Business Info", "Print version", "pescado", "carne asada", "fish tacos", "Recent + Votes", "Date", "Rating", "Elites'", "Elite '08", "kylie H.", "Bookmark", "Send to a Friend", "Link to This Review", "Betsy D.", "Bookmark", "Send to a Friend", "Link to This Review", "Elite '08", "May T.", "Bookmark", "Send to a Friend", "Link to This Review", "roger l.", "Bookmark", "Send to a Friend", "Link to This Review", "Dee Dee N.", "Bookmark", "Send to a Friend", "Link to This Review", "Olga P.", "Bookmark", "Send to a Friend", "Link to This Review", "July H.", "Bookmark", "Send to a Friend", "Link to This Review", "Hector a.", "Bookmark", "Send to a Friend", "Link to This Review", "Jane A.", "Bookmark", "Send to a Friend", "Link to This Review", "Caroline S.", "Bookmark", "Send to a Friend", "Link to This Review", "Dennis L.", "Bookmark", "Send to a Friend", "Link to This Review", "Elijah S.", "Bookmark", "Send to a Friend", "Link to This Review", "Janet H.", "Bookmark", "Send to a Friend", "Link to This Review", "Elite '08", "stella c.", "Bookmark", "Send to a Friend", "Link to This Review", "NiKKi N.", "Bookmark", "Send to a Friend", "Link to This Review", "Grace R.", "Bookmark", "Send to a Friend", "Link to This Review", "Tim B.", "Bookmark", "Send to a Friend", "Link to This Review", "Chris P.", "Bookmark", "Send to a Friend", "Link to This Review", "Jenny H.", "Bookmark", "Send to a Friend", "Link to This Review", "Garrett J.", "Bookmark", "Send to a Friend", "Link to This Review", "Kelly M.", "Bookmark", "Send to a Friend", "Link to This Review", "Steve S.", "Bookmark", "Send to a Friend", "Link to This Review", "Arceli A.", "Bookmark", "Send to a Friend", "Link to This Review", "Melissa G.", "Bookmark", "Send to a Friend", "Link to This Review", "Elite '08", "Julie F.", "Bookmark", "Send to a Friend", "Link to This Review", "Elite '08", "Gloria H.", "Bookmark", "Send to a Friend", "Link to This Review", "John G.", "Bookmark", "Send to a Friend", "Link to This Review", "t l.", "Bookmark", "Send to a Friend", "Link to This Review", "Eddy N.", "Bookmark", "Send to a Friend", "Link to This Review", "Dan Y.", "Bookmark", "Send to a Friend", "Link to This Review", "Annie B.", "Bookmark", "Send to a Friend", "Link to This Review", "Elite '08", "Steven R.", "Bookmark", "Send to a Friend", "Link to This Review", "Marie K.", "Bookmark", "Send to a Friend", "Link to This Review", "kristie l.", "Bookmark", "Send to a Friend", "Link to This Review", "Matthew G.", "Bookmark", "Send to a Friend", "Link to This Review", "Spencer T.", "Bookmark", "Send to a Friend", "Link to This Review", "Creamy A.", "Bookmark", "Send to a Friend", "Link to This Review", "Elite '08", "Cory G.", "Bookmark", "Send to a Friend", "Link to This Review", "Ralph C.", "Bookmark", "Send to a Friend", "Link to This Review", "Derrick C.", "Bookmark", "Send to a Friend", "Link to This Review", " 2", " 3", " 4", " 5", " 6", " 7", " 8", " 9", "View Larger Map\/Directions »", "Restaurants", "Nightlife", "Shopping", "Coffee", "All", "Pancho's Salsa Bar &…", "Olivo's", "Underdog's Sports Bar &…", "La Mexicana Taqueria", "Tortilla Heights", "My Favorite Places Within…", "Top Restaurants", "My New Hood!", "Kiko's Top Ten Places to…", "My Neighborhood", "Cheap and Easy Weeknight…", "Polk Me!", "Strong Recommendations", "San Francisco Mexican Restaurants", "Business Owners", "My Account", "About Yelp", "FAQ", "The Weekly Yelp", "Yelp Blog", "Yelp Mobile", "Yelp Canada", "RSS", "Developers", "Feedback", "Jobs", "#", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "Newly Added", "Terms of Service", "Privacy Policy", "Atlanta", "Austin", "Boston", "Chicago", "Dallas", "Denver", "Detroit", "Honolulu", "Houston", "Las Vegas", "Los Angeles", "Miami", "Minneapolis", "New York", "Philadelphia", "Phoenix", "Portland", "Sacramento", "San Diego", "San Francisco", "San Jose", "Seattle", "Washington, DC", "More Cities", "Atlanta", "Austin", "Boston", "Chicago", "Dallas", "Denver", "Honolulu", "Houston", "Las Vegas", "Los Angeles", "Miami", "New York", "Philadelphia", "Phoenix", "Portland", "Sacramento", "San Diego", "San Francisco", "San Jose", "Seattle", "Washington, DC", "Austin", "Boston", "Chicago", "Los Angeles", "New York", "San Diego", "San Francisco", "San Jose", "Seattle", "Washington, DC", "Austin", "Boston", "Chicago", "Los Angeles", "New York", "San Diego", "San Francisco", "San Jose", "Seattle", "Washington, DC" ] }

1
test/trivial2.json Normal file

File diff suppressed because one or more lines are too long

6
test/yelp-home.dex Normal file
View File

@ -0,0 +1,6 @@
{
"categories(#cat_list a)": [ {
"text": ".",
"href": "@href"
} ]
}

1004
test/yelp-home.html Normal file

File diff suppressed because it is too large Load Diff