From 08b12a0e5cc8cf6e400f9352e3bfcd5439d2a8b4 Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Wed, 9 Mar 2016 13:04:05 -0800 Subject: [PATCH] *: move ./Godeps/_workspace/src/ to ./vendor/ --- Godeps/_workspace/.gitignore | 2 - .../PuerkitoBio/goquery/array_test.go | 180 - .../PuerkitoBio/goquery/bench_array_test.go | 112 - .../PuerkitoBio/goquery/bench_example_test.go | 42 - .../PuerkitoBio/goquery/bench_expand_test.go | 72 - .../PuerkitoBio/goquery/bench_filter_test.go | 212 - .../goquery/bench_iteration_test.go | 62 - .../goquery/bench_property_test.go | 47 - .../PuerkitoBio/goquery/bench_query_test.go | 97 - .../goquery/bench_traversal_test.go | 716 --- .../PuerkitoBio/goquery/example_test.go | 32 - .../PuerkitoBio/goquery/expand_test.go | 68 - .../PuerkitoBio/goquery/filter_test.go | 191 - .../PuerkitoBio/goquery/iteration_test.go | 88 - .../PuerkitoBio/goquery/manipulation_test.go | 453 -- .../PuerkitoBio/goquery/property_test.go | 252 - .../PuerkitoBio/goquery/query_test.go | 96 - .../goquery/testdata/gotesting.html | 855 ---- .../PuerkitoBio/goquery/testdata/gowiki.html | 1214 ----- .../goquery/testdata/metalreview.html | 413 -- .../PuerkitoBio/goquery/testdata/page.html | 102 - .../PuerkitoBio/goquery/testdata/page2.html | 24 - .../PuerkitoBio/goquery/testdata/page3.html | 24 - .../PuerkitoBio/goquery/traversal_test.go | 697 --- .../PuerkitoBio/goquery/type_test.go | 192 - .../andybalholm/cascadia/benchmark_test.go | 53 - .../andybalholm/cascadia/parser_test.go | 86 - .../andybalholm/cascadia/selector_test.go | 559 --- .../coreos/pkg/flagutil/env_test.go | 64 - .../coreos/pkg/flagutil/types_test.go | 57 - .../coreos/pkg/health/health_test.go | 198 - .../coreos/pkg/httputil/json_test.go | 56 - .../coreos/pkg/timeutil/backoff_test.go | 52 - .../src/github.com/go-gorp/gorp/gorp_test.go | 2340 --------- .../gorilla/handlers/canonical_test.go | 73 - .../gorilla/handlers/compress_test.go | 65 - .../gorilla/handlers/handlers_test.go | 305 -- .../gorilla/handlers/proxy_headers_test.go | 100 - .../jonboulle/clockwork/clockwork_test.go | 120 - .../jonboulle/clockwork/example_test.go | 49 - .../julienschmidt/httprouter/path_test.go | 92 - .../julienschmidt/httprouter/router_test.go | 378 -- .../julienschmidt/httprouter/tree_test.go | 611 --- .../kylelemons/godebug/diff/diff_test.go | 120 - .../godebug/pretty/examples_test.go | 158 - .../kylelemons/godebug/pretty/public_test.go | 72 - .../kylelemons/godebug/pretty/reflect_test.go | 143 - .../godebug/pretty/structure_test.go | 262 - .../src/github.com/lib/pq/bench_test.go | 436 -- .../src/github.com/lib/pq/conn_test.go | 1244 ----- .../src/github.com/lib/pq/conn_xact_test.go | 61 - .../src/github.com/lib/pq/copy_test.go | 324 -- .../src/github.com/lib/pq/encode_test.go | 427 -- .../github.com/lib/pq/hstore/hstore_test.go | 148 - .../src/github.com/lib/pq/notify_test.go | 507 -- .../src/github.com/lib/pq/ssl_test.go | 244 - .../src/github.com/lib/pq/url_test.go | 54 - .../mailgun-go/acceptance/bounces_test.go | 119 - .../mailgun-go/acceptance/credentials_test.go | 53 - .../mailgun-go/acceptance/domains_test.go | 96 - .../acceptance/email_validation_test.go | 52 - .../mailgun-go/acceptance/events_test.go | 41 - .../acceptance/mailing_lists_test.go | 205 - .../mailgun-go/acceptance/messages_test.go | 329 -- .../mailgun-go/acceptance/routes_test.go | 87 - .../acceptance/spam_complaints_test.go | 71 - .../mailgun-go/acceptance/stats_test.go | 40 - .../acceptance/unsubscribes_test.go | 71 - .../mailgun-go/acceptance/webhooks_test.go | 66 - .../mailgun/mailgun-go/examples_test.go | 117 - .../mailgun/mailgun-go/mailgun_test.go | 68 - .../mbanzon/simplehttp/helpers_test.go | 133 - .../mbanzon/simplehttp/payload_test.go | 38 - .../mbanzon/simplehttp/shorthand_test.go | 104 - .../mbanzon/simplehttp/simplehttp_test.go | 37 - .../rubenv/sql-migrate/bindata_test.go | 136 - .../rubenv/sql-migrate/init_test.go | 9 - .../rubenv/sql-migrate/migrate_test.go | 357 -- .../rubenv/sql-migrate/sort_test.go | 34 - .../sql-migrate/sql-migrate/main_test.go | 1 - .../sql-migrate/sqlparse/sqlparse_test.go | 151 - .../rubenv/sql-migrate/toapply_test.go | 101 - .../golang.org/x/crypto/bcrypt/bcrypt_test.go | 226 - .../x/crypto/blowfish/blowfish_test.go | 274 -- .../golang.org/x/net/html/atom/atom_test.go | 109 - .../golang.org/x/net/html/atom/table_test.go | 351 -- .../x/net/html/charset/charset_test.go | 236 - .../html/charset/testdata/HTTP-charset.html | 48 - .../charset/testdata/HTTP-vs-UTF-8-BOM.html | 48 - .../testdata/HTTP-vs-meta-charset.html | 49 - .../testdata/HTTP-vs-meta-content.html | 49 - .../testdata/No-encoding-declaration.html | 47 - .../x/net/html/charset/testdata/README | 9 - .../html/charset/testdata/UTF-16BE-BOM.html | Bin 2670 -> 0 bytes .../html/charset/testdata/UTF-16LE-BOM.html | Bin 2682 -> 0 bytes .../testdata/UTF-8-BOM-vs-meta-charset.html | 49 - .../testdata/UTF-8-BOM-vs-meta-content.html | 48 - .../testdata/meta-charset-attribute.html | 48 - .../testdata/meta-content-attribute.html | 48 - .../src/golang.org/x/net/html/entity_test.go | 29 - .../src/golang.org/x/net/html/escape_test.go | 97 - .../src/golang.org/x/net/html/example_test.go | 40 - .../src/golang.org/x/net/html/node_test.go | 146 - .../src/golang.org/x/net/html/parse_test.go | 388 -- .../src/golang.org/x/net/html/render_test.go | 156 - .../golang.org/x/net/html/testdata/go1.html | 2237 --------- .../x/net/html/testdata/webkit/README | 28 - .../x/net/html/testdata/webkit/adoption01.dat | 194 - .../x/net/html/testdata/webkit/adoption02.dat | 31 - .../x/net/html/testdata/webkit/comments01.dat | 135 - .../x/net/html/testdata/webkit/doctype01.dat | 370 -- .../x/net/html/testdata/webkit/entities01.dat | 603 --- .../x/net/html/testdata/webkit/entities02.dat | 249 - .../html/testdata/webkit/html5test-com.dat | 246 - .../x/net/html/testdata/webkit/inbody01.dat | 43 - .../x/net/html/testdata/webkit/isindex.dat | 40 - ...pending-spec-changes-plain-text-unsafe.dat | Bin 115 -> 0 bytes .../testdata/webkit/pending-spec-changes.dat | 52 - .../testdata/webkit/plain-text-unsafe.dat | Bin 4166 -> 0 bytes .../net/html/testdata/webkit/scriptdata01.dat | 308 -- .../testdata/webkit/scripted/adoption01.dat | 15 - .../testdata/webkit/scripted/webkit01.dat | 28 - .../x/net/html/testdata/webkit/tables01.dat | 212 - .../x/net/html/testdata/webkit/tests1.dat | 1952 -------- .../x/net/html/testdata/webkit/tests10.dat | 799 ---- .../x/net/html/testdata/webkit/tests11.dat | 482 -- .../x/net/html/testdata/webkit/tests12.dat | 62 - .../x/net/html/testdata/webkit/tests14.dat | 74 - .../x/net/html/testdata/webkit/tests15.dat | 208 - .../x/net/html/testdata/webkit/tests16.dat | 2299 --------- .../x/net/html/testdata/webkit/tests17.dat | 153 - .../x/net/html/testdata/webkit/tests18.dat | 269 -- .../x/net/html/testdata/webkit/tests19.dat | 1237 ----- .../x/net/html/testdata/webkit/tests2.dat | 763 --- .../x/net/html/testdata/webkit/tests20.dat | 455 -- .../x/net/html/testdata/webkit/tests21.dat | 221 - .../x/net/html/testdata/webkit/tests22.dat | 157 - .../x/net/html/testdata/webkit/tests23.dat | 155 - .../x/net/html/testdata/webkit/tests24.dat | 79 - .../x/net/html/testdata/webkit/tests25.dat | 219 - .../x/net/html/testdata/webkit/tests26.dat | 313 -- .../x/net/html/testdata/webkit/tests3.dat | 305 -- .../x/net/html/testdata/webkit/tests4.dat | 59 - .../x/net/html/testdata/webkit/tests5.dat | 191 - .../x/net/html/testdata/webkit/tests6.dat | 663 --- .../x/net/html/testdata/webkit/tests7.dat | 390 -- .../x/net/html/testdata/webkit/tests8.dat | 148 - .../x/net/html/testdata/webkit/tests9.dat | 457 -- .../testdata/webkit/tests_innerHTML_1.dat | 741 --- .../x/net/html/testdata/webkit/tricky01.dat | 261 - .../x/net/html/testdata/webkit/webkit01.dat | 610 --- .../x/net/html/testdata/webkit/webkit02.dat | 159 - .../src/golang.org/x/net/html/token_test.go | 748 --- .../api/google-api-go-generator/gen_test.go | 79 - .../testdata/arrayofarray-1.json | 49 - .../testdata/arrayofarray-1.want | 59 - .../testdata/arrayofmapofobjects.json | 32 - .../testdata/arrayofmapofobjects.want | 56 - .../testdata/arrayofmapofstrings.json | 32 - .../testdata/arrayofmapofstrings.want | 56 - .../testdata/blogger-3.json | 2199 --------- .../testdata/blogger-3.want | 4231 ----------------- .../testdata/getwithoutbody.json | 89 - .../testdata/getwithoutbody.want | 202 - .../testdata/mapofany.json | 51 - .../testdata/mapofany.want | 68 - .../testdata/mapofarrayofobjects.json | 72 - .../testdata/mapofarrayofobjects.want | 136 - .../testdata/mapofobjects.json | 30 - .../testdata/mapofobjects.want | 56 - .../testdata/mapofstrings-1.json | 72 - .../testdata/mapofstrings-1.want | 136 - .../testdata/quotednum.json | 94 - .../testdata/quotednum.want | 65 - .../testdata/resource-named-service.json | 2199 --------- .../testdata/resource-named-service.want | 4231 ----------------- .../testdata/variants.json | 418 -- .../testdata/variants.want | 278 -- .../api/googleapi/googleapi_test.go | 361 -- .../api/googleapi/types_test.go | 44 - .../quotedprintable.v3/encodedword_test.go | 281 -- .../quotedprintable.v3/reader_test.go | 200 - .../quotedprintable.v3/writer_test.go | 154 - .../src/gopkg.in/gomail.v2/auth_test.go | 156 - .../src/gopkg.in/gomail.v2/example_test.go | 215 - .../src/gopkg.in/gomail.v2/message_test.go | 630 --- .../src/gopkg.in/gomail.v2/send_test.go | 80 - .../src/gopkg.in/gomail.v2/smtp_test.go | 254 - .../src/gopkg.in/gorp.v1/gorp_test.go | 2083 -------- .../github.com/PuerkitoBio/goquery/.gitignore | 0 .../PuerkitoBio/goquery/.travis.yml | 0 .../github.com/PuerkitoBio/goquery/LICENSE | 0 .../github.com/PuerkitoBio/goquery/README.md | 0 .../github.com/PuerkitoBio/goquery/array.go | 0 .../PuerkitoBio/goquery/bench/v0.1.0 | 0 .../PuerkitoBio/goquery/bench/v0.1.1 | 0 .../goquery/bench/v0.1.1-v0.2.1-go1.1rc1.svg | 0 .../PuerkitoBio/goquery/bench/v0.2.0 | 0 .../goquery/bench/v0.2.0-v0.2.1-go1.1rc1.svg | 0 .../PuerkitoBio/goquery/bench/v0.2.1-go1.1rc1 | 0 .../PuerkitoBio/goquery/bench/v0.3.0 | 0 .../PuerkitoBio/goquery/bench/v0.3.2-go1.2 | 0 .../goquery/bench/v0.3.2-go1.2-take2 | 0 .../PuerkitoBio/goquery/bench/v0.3.2-go1.2rc1 | 0 .../github.com/PuerkitoBio/goquery/doc.go | 0 .../PuerkitoBio/goquery/doc/tips.md | 0 .../github.com/PuerkitoBio/goquery/expand.go | 0 .../github.com/PuerkitoBio/goquery/filter.go | 0 .../PuerkitoBio/goquery/iteration.go | 0 .../PuerkitoBio/goquery/manipulation.go | 0 .../PuerkitoBio/goquery/misc/git/pre-commit | 0 .../PuerkitoBio/goquery/property.go | 0 .../github.com/PuerkitoBio/goquery/query.go | 0 .../PuerkitoBio/goquery/traversal.go | 0 .../github.com/PuerkitoBio/goquery/type.go | 0 .../PuerkitoBio/goquery/utilities.go | 0 .../andybalholm/cascadia/.travis.yml | 0 .../github.com/andybalholm/cascadia/LICENSE | 0 .../github.com/andybalholm/cascadia/README.md | 0 .../github.com/andybalholm/cascadia/parser.go | 0 .../andybalholm/cascadia/selector.go | 0 .../github.com/coreos/go-oidc/LICENSE | 0 .../github.com/coreos/go-oidc/NOTICE | 0 .../github.com/coreos/go-oidc/http/client.go | 0 .../github.com/coreos/go-oidc/http/http.go | 0 .../coreos/go-oidc/http/middleware.go | 0 .../github.com/coreos/go-oidc/http/url.go | 0 .../github.com/coreos/go-oidc/jose/claims.go | 0 .../github.com/coreos/go-oidc/jose/jose.go | 0 .../github.com/coreos/go-oidc/jose/jwk.go | 0 .../github.com/coreos/go-oidc/jose/jws.go | 0 .../github.com/coreos/go-oidc/jose/jwt.go | 0 .../github.com/coreos/go-oidc/jose/sig.go | 0 .../coreos/go-oidc/jose/sig_hmac.go | 0 .../github.com/coreos/go-oidc/jose/sig_rsa.go | 0 .../github.com/coreos/go-oidc/key/key.go | 0 .../github.com/coreos/go-oidc/key/manager.go | 0 .../github.com/coreos/go-oidc/key/repo.go | 0 .../github.com/coreos/go-oidc/key/rotate.go | 0 .../github.com/coreos/go-oidc/key/sync.go | 0 .../github.com/coreos/go-oidc/oauth2/error.go | 0 .../coreos/go-oidc/oauth2/oauth2.go | 0 .../github.com/coreos/go-oidc/oidc/client.go | 0 .../coreos/go-oidc/oidc/identity.go | 0 .../coreos/go-oidc/oidc/interface.go | 0 .../github.com/coreos/go-oidc/oidc/key.go | 0 .../coreos/go-oidc/oidc/provider.go | 0 .../coreos/go-oidc/oidc/transport.go | 0 .../github.com/coreos/go-oidc/oidc/util.go | 0 .../coreos/go-oidc/oidc/verification.go | 0 vendor/github.com/coreos/pkg/LICENSE | 202 + vendor/github.com/coreos/pkg/NOTICE | 5 + .../github.com/coreos/pkg/capnslog/README.md | 0 .../pkg/capnslog/example/hello_dolly.go | 0 .../coreos/pkg/capnslog/formatters.go | 0 .../coreos/pkg/capnslog/glog_formatter.go | 0 .../coreos/pkg/capnslog/log_hijack.go | 0 .../github.com/coreos/pkg/capnslog/logmap.go | 0 .../coreos/pkg/capnslog/pkg_logger.go | 0 .../coreos/pkg/capnslog/syslog_formatter.go | 0 .../github.com/coreos/pkg/flagutil/env.go | 0 .../github.com/coreos/pkg/flagutil/types.go | 0 .../github.com/coreos/pkg/health/README.md | 0 .../github.com/coreos/pkg/health/health.go | 0 .../github.com/coreos/pkg/httputil/README.md | 0 .../github.com/coreos/pkg/httputil/json.go | 0 .../github.com/coreos/pkg/timeutil/backoff.go | 0 .../github.com/go-gorp/gorp/.gitignore | 0 .../github.com/go-gorp/gorp/.travis.yml | 0 .../github.com/go-gorp/gorp/LICENSE | 0 .../github.com/go-gorp/gorp/README.md | 0 .../github.com/go-gorp/gorp/column.go | 0 .../github.com/go-gorp/gorp/db.go | 0 .../github.com/go-gorp/gorp/dialect.go | 0 .../github.com/go-gorp/gorp/dialect_mysql.go | 0 .../github.com/go-gorp/gorp/dialect_oracle.go | 0 .../go-gorp/gorp/dialect_postgres.go | 0 .../github.com/go-gorp/gorp/dialect_sqlite.go | 0 .../go-gorp/gorp/dialect_sqlserver.go | 0 .../github.com/go-gorp/gorp/errors.go | 0 .../github.com/go-gorp/gorp/gorp.go | 0 .../github.com/go-gorp/gorp/hooks.go | 0 .../github.com/go-gorp/gorp/index.go | 0 .../github.com/go-gorp/gorp/lockerror.go | 0 .../github.com/go-gorp/gorp/logging.go | 0 .../github.com/go-gorp/gorp/nulltypes.go | 0 .../github.com/go-gorp/gorp/select.go | 0 .../github.com/go-gorp/gorp/table.go | 0 .../github.com/go-gorp/gorp/table_bindings.go | 0 .../github.com/go-gorp/gorp/test_all.sh | 0 .../github.com/go-gorp/gorp/transaction.go | 0 .../github.com/gorilla/handlers/.travis.yml | 0 .../github.com/gorilla/handlers/LICENSE | 0 .../github.com/gorilla/handlers/README.md | 0 .../github.com/gorilla/handlers/canonical.go | 0 .../github.com/gorilla/handlers/compress.go | 0 .../github.com/gorilla/handlers/doc.go | 0 .../github.com/gorilla/handlers/handlers.go | 0 .../gorilla/handlers/proxy_headers.go | 0 .../inconshreveable/mousetrap/LICENSE | 0 .../inconshreveable/mousetrap/README.md | 0 .../inconshreveable/mousetrap/trap_others.go | 0 .../inconshreveable/mousetrap/trap_windows.go | 0 .../mousetrap/trap_windows_1.4.go | 0 .../github.com/jonboulle/clockwork/.gitignore | 0 .../jonboulle/clockwork/.travis.yml | 0 .../github.com/jonboulle/clockwork/LICENSE | 0 .../github.com/jonboulle/clockwork/README.md | 0 .../jonboulle/clockwork/clockwork.go | 0 .../julienschmidt/httprouter/.travis.yml | 0 .../julienschmidt/httprouter/LICENSE | 0 .../julienschmidt/httprouter/README.md | 0 .../julienschmidt/httprouter/path.go | 0 .../julienschmidt/httprouter/router.go | 0 .../julienschmidt/httprouter/tree.go | 0 vendor/github.com/kylelemons/godebug/LICENSE | 202 + .../kylelemons/godebug/diff/diff.go | 0 .../kylelemons/godebug/pretty/.gitignore | 0 .../kylelemons/godebug/pretty/doc.go | 0 .../kylelemons/godebug/pretty/public.go | 0 .../kylelemons/godebug/pretty/reflect.go | 0 .../kylelemons/godebug/pretty/structure.go | 0 .../github.com/lib/pq/.gitignore | 0 .../github.com/lib/pq/.travis.yml | 0 .../github.com/lib/pq/CONTRIBUTING.md | 0 .../github.com/lib/pq/LICENSE.md | 0 .../github.com/lib/pq/README.md | 0 .../src => vendor}/github.com/lib/pq/buf.go | 0 .../github.com/lib/pq/certs/README | 0 .../github.com/lib/pq/certs/postgresql.crt | 0 .../github.com/lib/pq/certs/postgresql.key | 0 .../github.com/lib/pq/certs/root.crt | 0 .../github.com/lib/pq/certs/server.crt | 0 .../github.com/lib/pq/certs/server.key | 0 .../src => vendor}/github.com/lib/pq/conn.go | 5 +- .../src => vendor}/github.com/lib/pq/copy.go | 0 .../src => vendor}/github.com/lib/pq/doc.go | 0 .../github.com/lib/pq/encode.go | 0 .../src => vendor}/github.com/lib/pq/error.go | 0 .../github.com/lib/pq/hstore/hstore.go | 0 .../github.com/lib/pq/listen_example/doc.go | 0 .../github.com/lib/pq/notify.go | 0 .../github.com/lib/pq/oid/doc.go | 0 .../github.com/lib/pq/oid/gen.go | 0 .../github.com/lib/pq/oid/types.go | 0 .../src => vendor}/github.com/lib/pq/url.go | 0 .../github.com/lib/pq/user_posix.go | 0 .../github.com/lib/pq/user_windows.go | 0 .../github.com/mailgun/mailgun-go/.travis.yml | 0 .../github.com/mailgun/mailgun-go/LICENSE | 0 .../github.com/mailgun/mailgun-go/README.md | 0 .../mailgun-go/acceptance/acceptance.go | 0 .../github.com/mailgun/mailgun-go/bounces.go | 0 .../mailgun/mailgun-go/campaigns.go | 0 .../mailgun/mailgun-go/credentials.go | 0 .../github.com/mailgun/mailgun-go/domains.go | 0 .../mailgun/mailgun-go/email_validation.go | 0 .../github.com/mailgun/mailgun-go/events.go | 0 .../github.com/mailgun/mailgun-go/mailgun.go | 0 .../mailgun/mailgun-go/mailing_lists.go | 0 .../github.com/mailgun/mailgun-go/messages.go | 0 .../mailgun/mailgun-go/rest_shim.go | 0 .../github.com/mailgun/mailgun-go/routes.go | 0 .../mailgun/mailgun-go/spam_complaints.go | 0 .../github.com/mailgun/mailgun-go/stats.go | 0 .../mailgun/mailgun-go/unsubscribes.go | 0 .../github.com/mailgun/mailgun-go/webhooks.go | 0 .../github.com/mattn/go-sqlite3/.gitignore | 0 .../github.com/mattn/go-sqlite3/.travis.yml | 0 .../github.com/mattn/go-sqlite3/LICENSE | 0 .../github.com/mattn/go-sqlite3/README.md | 0 .../github.com/mattn/go-sqlite3/backup.go | 0 .../github.com/mattn/go-sqlite3/callback.go | 0 .../mattn/go-sqlite3/code/sqlite3-binding.c | 0 .../mattn/go-sqlite3/code/sqlite3-binding.h | 0 .../mattn/go-sqlite3/code/sqlite3ext.h | 0 .../github.com/mattn/go-sqlite3/doc.go | 0 .../github.com/mattn/go-sqlite3/error.go | 0 .../mattn/go-sqlite3/sqlite3-binding.c | 0 .../mattn/go-sqlite3/sqlite3-binding.h | 0 .../github.com/mattn/go-sqlite3/sqlite3.go | 0 .../mattn/go-sqlite3/sqlite3_icu.go | 0 .../mattn/go-sqlite3/sqlite3_libsqlite3.go | 0 .../go-sqlite3/sqlite3_load_extension.go | 0 .../go-sqlite3/sqlite3_omit_load_extension.go | 0 .../mattn/go-sqlite3/sqlite3_other.go | 0 .../mattn/go-sqlite3/sqlite3_test/sqltest.go | 0 .../mattn/go-sqlite3/sqlite3_windows.go | 0 .../github.com/mbanzon/simplehttp/.gitignore | 0 .../github.com/mbanzon/simplehttp/.travis.yml | 0 .../github.com/mbanzon/simplehttp/LICENSE | 0 .../github.com/mbanzon/simplehttp/README.md | 0 .../github.com/mbanzon/simplehttp/helpers.go | 0 .../mbanzon/simplehttp/json_utils.go | 0 .../github.com/mbanzon/simplehttp/parsing.go | 0 .../github.com/mbanzon/simplehttp/payloads.go | 0 .../mbanzon/simplehttp/shorthand.go | 0 .../mbanzon/simplehttp/simplehttp.go | 0 .../github.com/pborman/uuid/CONTRIBUTORS | 0 .../github.com/pborman/uuid/LICENSE | 0 .../github.com/pborman/uuid/dce.go | 0 .../github.com/pborman/uuid/doc.go | 0 .../github.com/pborman/uuid/hash.go | 0 .../github.com/pborman/uuid/json.go | 0 .../github.com/pborman/uuid/node.go | 0 .../github.com/pborman/uuid/time.go | 0 .../github.com/pborman/uuid/util.go | 0 .../github.com/pborman/uuid/uuid.go | 0 .../github.com/pborman/uuid/version1.go | 0 .../github.com/pborman/uuid/version4.go | 0 .../github.com/rubenv/sql-migrate/.gitignore | 0 .../github.com/rubenv/sql-migrate/.travis.yml | 0 .../github.com/rubenv/sql-migrate/README.md | 0 .../github.com/rubenv/sql-migrate/doc.go | 0 .../github.com/rubenv/sql-migrate/migrate.go | 0 .../sql-migrate/sql-migrate/command_common.go | 0 .../sql-migrate/sql-migrate/command_down.go | 0 .../sql-migrate/sql-migrate/command_redo.go | 0 .../sql-migrate/sql-migrate/command_status.go | 0 .../sql-migrate/sql-migrate/command_up.go | 0 .../rubenv/sql-migrate/sql-migrate/config.go | 0 .../rubenv/sql-migrate/sql-migrate/main.go | 0 .../rubenv/sql-migrate/sql-migrate/mssql.go | 0 .../rubenv/sql-migrate/sqlparse/README.md | 0 .../rubenv/sql-migrate/sqlparse/sqlparse.go | 0 .../sql-migrate/test-integration/dbconfig.yml | 0 .../test-integration/mysql-flag.sh | 0 .../sql-migrate/test-integration/mysql.sh | 0 .../sql-migrate/test-integration/postgres.sh | 0 .../sql-migrate/test-integration/sqlite.sh | 0 .../sql-migrate/test-migrations/1_initial.sql | 0 .../sql-migrate/test-migrations/2_record.sql | 0 .../github.com/spf13/cobra/.gitignore | 0 .../github.com/spf13/cobra/.mailmap | 0 .../github.com/spf13/cobra/.travis.yml | 0 .../github.com/spf13/cobra/LICENSE.txt | 0 .../github.com/spf13/cobra/README.md | 0 .../spf13/cobra/bash_completions.go | 0 .../spf13/cobra/bash_completions.md | 0 .../github.com/spf13/cobra/cobra.go | 0 .../github.com/spf13/cobra/cobra/cmd/add.go | 0 .../spf13/cobra/cobra/cmd/helpers.go | 0 .../github.com/spf13/cobra/cobra/cmd/init.go | 0 .../spf13/cobra/cobra/cmd/licenses.go | 0 .../github.com/spf13/cobra/cobra/cmd/root.go | 0 .../github.com/spf13/cobra/cobra/main.go | 0 .../github.com/spf13/cobra/command.go | 0 .../github.com/spf13/cobra/command_notwin.go | 0 .../github.com/spf13/cobra/command_win.go | 0 .../github.com/spf13/cobra/doc/man_docs.go | 0 .../github.com/spf13/cobra/doc/man_docs.md | 0 .../github.com/spf13/cobra/doc/md_docs.go | 0 .../github.com/spf13/cobra/doc/md_docs.md | 0 .../github.com/spf13/cobra/doc/util.go | 0 .../github.com/spf13/pflag/.travis.yml | 0 .../github.com/spf13/pflag/LICENSE | 0 .../github.com/spf13/pflag/README.md | 0 .../github.com/spf13/pflag/bool.go | 0 .../github.com/spf13/pflag/count.go | 0 .../github.com/spf13/pflag/duration.go | 0 .../github.com/spf13/pflag/flag.go | 0 .../github.com/spf13/pflag/float32.go | 0 .../github.com/spf13/pflag/float64.go | 0 .../github.com/spf13/pflag/golangflag.go | 0 .../github.com/spf13/pflag/int.go | 0 .../github.com/spf13/pflag/int32.go | 0 .../github.com/spf13/pflag/int64.go | 0 .../github.com/spf13/pflag/int8.go | 0 .../github.com/spf13/pflag/int_slice.go | 0 .../github.com/spf13/pflag/ip.go | 0 .../github.com/spf13/pflag/ipmask.go | 0 .../github.com/spf13/pflag/ipnet.go | 0 .../github.com/spf13/pflag/string.go | 0 .../github.com/spf13/pflag/string_slice.go | 0 .../github.com/spf13/pflag/uint.go | 0 .../github.com/spf13/pflag/uint16.go | 0 .../github.com/spf13/pflag/uint32.go | 0 .../github.com/spf13/pflag/uint64.go | 0 .../github.com/spf13/pflag/uint8.go | 0 .../github.com/spf13/pflag/verify/all.sh | 0 .../github.com/spf13/pflag/verify/gofmt.sh | 0 .../github.com/spf13/pflag/verify/golint.sh | 0 vendor/golang.org/x/crypto/LICENSE | 27 + vendor/golang.org/x/crypto/PATENTS | 22 + .../golang.org/x/crypto/bcrypt/base64.go | 0 .../golang.org/x/crypto/bcrypt/bcrypt.go | 2 +- .../golang.org/x/crypto/blowfish/block.go | 0 .../golang.org/x/crypto/blowfish/cipher.go | 2 +- .../golang.org/x/crypto/blowfish/const.go | 0 vendor/golang.org/x/net/LICENSE | 27 + vendor/golang.org/x/net/PATENTS | 22 + .../golang.org/x/net/html/atom/atom.go | 0 .../golang.org/x/net/html/atom/gen.go | 0 .../golang.org/x/net/html/atom/table.go | 0 .../golang.org/x/net/html/charset/charset.go | 0 .../golang.org/x/net/html/charset/gen.go | 0 .../golang.org/x/net/html/charset/table.go | 0 .../golang.org/x/net/html/const.go | 0 .../golang.org/x/net/html/doc.go | 0 .../golang.org/x/net/html/doctype.go | 0 .../golang.org/x/net/html/entity.go | 0 .../golang.org/x/net/html/escape.go | 0 .../golang.org/x/net/html/foreign.go | 0 .../golang.org/x/net/html/node.go | 0 .../golang.org/x/net/html/parse.go | 0 .../golang.org/x/net/html/render.go | 0 .../golang.org/x/net/html/token.go | 0 .../google.golang.org/api/LICENSE | 0 .../api/google-api-go-generator/gen.go | 0 .../api/googleapi/googleapi.go | 0 .../googleapi/internal/uritemplates/LICENSE | 0 .../internal/uritemplates/uritemplates.go | 0 .../googleapi/internal/uritemplates/utils.go | 0 .../api/googleapi/transport/apikey.go | 0 .../google.golang.org/api/googleapi/types.go | 0 .../alexcesaro/quotedprintable.v3/LICENSE | 0 .../alexcesaro/quotedprintable.v3/README.md | 0 .../quotedprintable.v3/encodedword.go | 0 .../alexcesaro/quotedprintable.v3/pool.go | 0 .../quotedprintable.v3/pool_go12.go | 0 .../alexcesaro/quotedprintable.v3/reader.go | 0 .../alexcesaro/quotedprintable.v3/writer.go | 0 .../gopkg.in/asn1-ber.v1/.travis.yml | 0 .../gopkg.in/asn1-ber.v1/LICENSE | 0 .../gopkg.in/asn1-ber.v1/README.md | 0 .../gopkg.in/asn1-ber.v1/ber.go | 0 .../gopkg.in/asn1-ber.v1/content_int.go | 0 .../gopkg.in/asn1-ber.v1/header.go | 0 .../gopkg.in/asn1-ber.v1/identifier.go | 0 .../gopkg.in/asn1-ber.v1/length.go | 0 .../gopkg.in/asn1-ber.v1/tests/tc1.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc10.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc11.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc12.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc13.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc14.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc15.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc16.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc17.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc18.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc19.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc2.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc20.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc21.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc22.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc23.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc24.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc25.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc26.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc27.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc28.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc29.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc3.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc30.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc31.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc32.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc33.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc34.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc35.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc36.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc37.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc38.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc39.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc4.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc40.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc41.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc42.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc43.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc44.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc45.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc46.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc47.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc48.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc5.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc6.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc7.ber | 0 .../gopkg.in/asn1-ber.v1/tests/tc8.ber | Bin .../gopkg.in/asn1-ber.v1/tests/tc9.ber | 0 .../gopkg.in/asn1-ber.v1/util.go | 0 .../gopkg.in/gomail.v2/.travis.yml | 0 .../gopkg.in/gomail.v2/CHANGELOG.md | 0 .../gopkg.in/gomail.v2/CONTRIBUTING.md | 0 .../src => vendor}/gopkg.in/gomail.v2/LICENSE | 0 .../gopkg.in/gomail.v2/README.md | 0 .../src => vendor}/gopkg.in/gomail.v2/auth.go | 0 .../src => vendor}/gopkg.in/gomail.v2/doc.go | 0 .../gopkg.in/gomail.v2/message.go | 0 .../src => vendor}/gopkg.in/gomail.v2/mime.go | 0 .../gopkg.in/gomail.v2/mime_go14.go | 0 .../src => vendor}/gopkg.in/gomail.v2/send.go | 0 .../src => vendor}/gopkg.in/gomail.v2/smtp.go | 0 .../gopkg.in/gomail.v2/writeto.go | 0 .../gopkg.in/gorp.v1/.gitignore | 0 .../gopkg.in/gorp.v1/.travis.yml | 0 .../src => vendor}/gopkg.in/gorp.v1/LICENSE | 0 .../src => vendor}/gopkg.in/gorp.v1/Makefile | 0 .../src => vendor}/gopkg.in/gorp.v1/README.md | 0 .../gopkg.in/gorp.v1/dialect.go | 0 .../src => vendor}/gopkg.in/gorp.v1/errors.go | 0 .../src => vendor}/gopkg.in/gorp.v1/gorp.go | 0 .../gopkg.in/gorp.v1/test_all.sh | 0 .../gopkg.in/ldap.v2/.gitignore | 0 .../gopkg.in/ldap.v2/.travis.yml | 0 .../src => vendor}/gopkg.in/ldap.v2/LICENSE | 0 .../src => vendor}/gopkg.in/ldap.v2/README.md | 0 .../src => vendor}/gopkg.in/ldap.v2/add.go | 0 .../src => vendor}/gopkg.in/ldap.v2/bind.go | 0 .../src => vendor}/gopkg.in/ldap.v2/client.go | 0 .../gopkg.in/ldap.v2/compare.go | 0 .../src => vendor}/gopkg.in/ldap.v2/conn.go | 0 .../gopkg.in/ldap.v2/control.go | 0 .../src => vendor}/gopkg.in/ldap.v2/debug.go | 0 .../src => vendor}/gopkg.in/ldap.v2/del.go | 0 .../src => vendor}/gopkg.in/ldap.v2/dn.go | 0 .../src => vendor}/gopkg.in/ldap.v2/doc.go | 0 .../src => vendor}/gopkg.in/ldap.v2/error.go | 0 .../src => vendor}/gopkg.in/ldap.v2/filter.go | 0 .../src => vendor}/gopkg.in/ldap.v2/ldap.go | 0 .../src => vendor}/gopkg.in/ldap.v2/modify.go | 0 .../gopkg.in/ldap.v2/passwdmodify.go | 0 .../src => vendor}/gopkg.in/ldap.v2/search.go | 0 621 files changed, 512 insertions(+), 59584 deletions(-) delete mode 100644 Godeps/_workspace/.gitignore delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/array_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_array_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_example_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_expand_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_filter_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_iteration_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_property_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_query_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_traversal_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/example_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/expand_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/filter_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/iteration_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/manipulation_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/property_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/query_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/gotesting.html delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/gowiki.html delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/metalreview.html delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/page.html delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/page2.html delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/page3.html delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/traversal_test.go delete mode 100644 Godeps/_workspace/src/github.com/PuerkitoBio/goquery/type_test.go delete mode 100644 Godeps/_workspace/src/github.com/andybalholm/cascadia/benchmark_test.go delete mode 100644 Godeps/_workspace/src/github.com/andybalholm/cascadia/parser_test.go delete mode 100644 Godeps/_workspace/src/github.com/andybalholm/cascadia/selector_test.go delete mode 100644 Godeps/_workspace/src/github.com/coreos/pkg/flagutil/env_test.go delete mode 100644 Godeps/_workspace/src/github.com/coreos/pkg/flagutil/types_test.go delete mode 100644 Godeps/_workspace/src/github.com/coreos/pkg/health/health_test.go delete mode 100644 Godeps/_workspace/src/github.com/coreos/pkg/httputil/json_test.go delete mode 100644 Godeps/_workspace/src/github.com/coreos/pkg/timeutil/backoff_test.go delete mode 100644 Godeps/_workspace/src/github.com/go-gorp/gorp/gorp_test.go delete mode 100644 Godeps/_workspace/src/github.com/gorilla/handlers/canonical_test.go delete mode 100644 Godeps/_workspace/src/github.com/gorilla/handlers/compress_test.go delete mode 100644 Godeps/_workspace/src/github.com/gorilla/handlers/handlers_test.go delete mode 100644 Godeps/_workspace/src/github.com/gorilla/handlers/proxy_headers_test.go delete mode 100644 Godeps/_workspace/src/github.com/jonboulle/clockwork/clockwork_test.go delete mode 100644 Godeps/_workspace/src/github.com/jonboulle/clockwork/example_test.go delete mode 100644 Godeps/_workspace/src/github.com/julienschmidt/httprouter/path_test.go delete mode 100644 Godeps/_workspace/src/github.com/julienschmidt/httprouter/router_test.go delete mode 100644 Godeps/_workspace/src/github.com/julienschmidt/httprouter/tree_test.go delete mode 100644 Godeps/_workspace/src/github.com/kylelemons/godebug/diff/diff_test.go delete mode 100644 Godeps/_workspace/src/github.com/kylelemons/godebug/pretty/examples_test.go delete mode 100644 Godeps/_workspace/src/github.com/kylelemons/godebug/pretty/public_test.go delete mode 100644 Godeps/_workspace/src/github.com/kylelemons/godebug/pretty/reflect_test.go delete mode 100644 Godeps/_workspace/src/github.com/kylelemons/godebug/pretty/structure_test.go delete mode 100644 Godeps/_workspace/src/github.com/lib/pq/bench_test.go delete mode 100644 Godeps/_workspace/src/github.com/lib/pq/conn_test.go delete mode 100644 Godeps/_workspace/src/github.com/lib/pq/conn_xact_test.go delete mode 100644 Godeps/_workspace/src/github.com/lib/pq/copy_test.go delete mode 100644 Godeps/_workspace/src/github.com/lib/pq/encode_test.go delete mode 100644 Godeps/_workspace/src/github.com/lib/pq/hstore/hstore_test.go delete mode 100644 Godeps/_workspace/src/github.com/lib/pq/notify_test.go delete mode 100644 Godeps/_workspace/src/github.com/lib/pq/ssl_test.go delete mode 100644 Godeps/_workspace/src/github.com/lib/pq/url_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/acceptance/bounces_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/acceptance/credentials_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/acceptance/domains_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/acceptance/email_validation_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/acceptance/events_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/acceptance/mailing_lists_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/acceptance/messages_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/acceptance/routes_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/acceptance/spam_complaints_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/acceptance/stats_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/acceptance/unsubscribes_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/acceptance/webhooks_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/examples_test.go delete mode 100644 Godeps/_workspace/src/github.com/mailgun/mailgun-go/mailgun_test.go delete mode 100644 Godeps/_workspace/src/github.com/mbanzon/simplehttp/helpers_test.go delete mode 100644 Godeps/_workspace/src/github.com/mbanzon/simplehttp/payload_test.go delete mode 100644 Godeps/_workspace/src/github.com/mbanzon/simplehttp/shorthand_test.go delete mode 100644 Godeps/_workspace/src/github.com/mbanzon/simplehttp/simplehttp_test.go delete mode 100644 Godeps/_workspace/src/github.com/rubenv/sql-migrate/bindata_test.go delete mode 100644 Godeps/_workspace/src/github.com/rubenv/sql-migrate/init_test.go delete mode 100644 Godeps/_workspace/src/github.com/rubenv/sql-migrate/migrate_test.go delete mode 100644 Godeps/_workspace/src/github.com/rubenv/sql-migrate/sort_test.go delete mode 100644 Godeps/_workspace/src/github.com/rubenv/sql-migrate/sql-migrate/main_test.go delete mode 100644 Godeps/_workspace/src/github.com/rubenv/sql-migrate/sqlparse/sqlparse_test.go delete mode 100644 Godeps/_workspace/src/github.com/rubenv/sql-migrate/toapply_test.go delete mode 100644 Godeps/_workspace/src/golang.org/x/crypto/bcrypt/bcrypt_test.go delete mode 100644 Godeps/_workspace/src/golang.org/x/crypto/blowfish/blowfish_test.go delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/atom/atom_test.go delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/atom/table_test.go delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/charset_test.go delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/testdata/HTTP-charset.html delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/testdata/HTTP-vs-UTF-8-BOM.html delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/testdata/HTTP-vs-meta-charset.html delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/testdata/HTTP-vs-meta-content.html delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/testdata/No-encoding-declaration.html delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/testdata/README delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/testdata/UTF-8-BOM-vs-meta-charset.html delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/testdata/UTF-8-BOM-vs-meta-content.html delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/testdata/meta-charset-attribute.html delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/charset/testdata/meta-content-attribute.html delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/entity_test.go delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/escape_test.go delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/example_test.go delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/node_test.go delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/parse_test.go delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/render_test.go delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/go1.html delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/README delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/adoption01.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/adoption02.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/comments01.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/doctype01.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/entities01.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/entities02.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/html5test-com.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/inbody01.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/isindex.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/pending-spec-changes.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/plain-text-unsafe.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/scriptdata01.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/scripted/adoption01.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/scripted/webkit01.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tables01.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests1.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests10.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests11.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests12.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests14.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests15.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests16.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests17.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests18.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests19.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests2.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests20.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests21.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests22.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests23.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests24.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests25.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests26.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests3.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests4.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests5.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests6.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests7.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests8.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests9.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests_innerHTML_1.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tricky01.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/webkit01.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/webkit02.dat delete mode 100644 Godeps/_workspace/src/golang.org/x/net/html/token_test.go delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/gen_test.go delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/arrayofarray-1.json delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/arrayofarray-1.want delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/arrayofmapofobjects.json delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/arrayofmapofobjects.want delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/arrayofmapofstrings.json delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/arrayofmapofstrings.want delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/blogger-3.json delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/blogger-3.want delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/getwithoutbody.json delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/getwithoutbody.want delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/mapofany.json delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/mapofany.want delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/mapofarrayofobjects.json delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/mapofarrayofobjects.want delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/mapofobjects.json delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/mapofobjects.want delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/mapofstrings-1.json delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/mapofstrings-1.want delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/quotednum.json delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/quotednum.want delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/resource-named-service.json delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/resource-named-service.want delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/variants.json delete mode 100644 Godeps/_workspace/src/google.golang.org/api/google-api-go-generator/testdata/variants.want delete mode 100644 Godeps/_workspace/src/google.golang.org/api/googleapi/googleapi_test.go delete mode 100644 Godeps/_workspace/src/google.golang.org/api/googleapi/types_test.go delete mode 100644 Godeps/_workspace/src/gopkg.in/alexcesaro/quotedprintable.v3/encodedword_test.go delete mode 100644 Godeps/_workspace/src/gopkg.in/alexcesaro/quotedprintable.v3/reader_test.go delete mode 100644 Godeps/_workspace/src/gopkg.in/alexcesaro/quotedprintable.v3/writer_test.go delete mode 100644 Godeps/_workspace/src/gopkg.in/gomail.v2/auth_test.go delete mode 100644 Godeps/_workspace/src/gopkg.in/gomail.v2/example_test.go delete mode 100644 Godeps/_workspace/src/gopkg.in/gomail.v2/message_test.go delete mode 100644 Godeps/_workspace/src/gopkg.in/gomail.v2/send_test.go delete mode 100644 Godeps/_workspace/src/gopkg.in/gomail.v2/smtp_test.go delete mode 100644 Godeps/_workspace/src/gopkg.in/gorp.v1/gorp_test.go rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/array.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/bench/v0.1.0 (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/bench/v0.1.1 (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/bench/v0.1.1-v0.2.1-go1.1rc1.svg (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/bench/v0.2.0 (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/bench/v0.2.0-v0.2.1-go1.1rc1.svg (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/bench/v0.2.1-go1.1rc1 (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/bench/v0.3.0 (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2 (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2-take2 (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/bench/v0.3.2-go1.2rc1 (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/doc.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/doc/tips.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/expand.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/filter.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/iteration.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/manipulation.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/misc/git/pre-commit (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/property.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/query.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/traversal.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/type.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/PuerkitoBio/goquery/utilities.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/andybalholm/cascadia/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/andybalholm/cascadia/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/andybalholm/cascadia/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/andybalholm/cascadia/parser.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/andybalholm/cascadia/selector.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/NOTICE (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/http/client.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/http/http.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/http/middleware.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/http/url.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/jose/claims.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/jose/jose.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/jose/jwk.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/jose/jws.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/jose/jwt.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/jose/sig.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/jose/sig_hmac.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/jose/sig_rsa.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/key/key.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/key/manager.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/key/repo.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/key/rotate.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/key/sync.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/oauth2/error.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/oauth2/oauth2.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/oidc/client.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/oidc/identity.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/oidc/interface.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/oidc/key.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/oidc/provider.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/oidc/transport.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/oidc/util.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/go-oidc/oidc/verification.go (100%) create mode 100644 vendor/github.com/coreos/pkg/LICENSE create mode 100644 vendor/github.com/coreos/pkg/NOTICE rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/capnslog/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/capnslog/example/hello_dolly.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/capnslog/formatters.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/capnslog/glog_formatter.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/capnslog/log_hijack.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/capnslog/logmap.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/capnslog/pkg_logger.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/capnslog/syslog_formatter.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/flagutil/env.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/flagutil/types.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/health/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/health/health.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/httputil/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/httputil/json.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/coreos/pkg/timeutil/backoff.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/column.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/db.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/dialect.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/dialect_mysql.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/dialect_oracle.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/dialect_postgres.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/dialect_sqlite.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/dialect_sqlserver.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/errors.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/gorp.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/hooks.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/index.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/lockerror.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/logging.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/nulltypes.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/select.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/table.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/table_bindings.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/test_all.sh (100%) rename {Godeps/_workspace/src => vendor}/github.com/go-gorp/gorp/transaction.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/handlers/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/handlers/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/handlers/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/handlers/canonical.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/handlers/compress.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/handlers/doc.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/handlers/handlers.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/handlers/proxy_headers.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/inconshreveable/mousetrap/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/inconshreveable/mousetrap/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/inconshreveable/mousetrap/trap_others.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/inconshreveable/mousetrap/trap_windows.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/inconshreveable/mousetrap/trap_windows_1.4.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/jonboulle/clockwork/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/jonboulle/clockwork/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/jonboulle/clockwork/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/jonboulle/clockwork/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/jonboulle/clockwork/clockwork.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/julienschmidt/httprouter/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/julienschmidt/httprouter/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/julienschmidt/httprouter/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/julienschmidt/httprouter/path.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/julienschmidt/httprouter/router.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/julienschmidt/httprouter/tree.go (100%) create mode 100644 vendor/github.com/kylelemons/godebug/LICENSE rename {Godeps/_workspace/src => vendor}/github.com/kylelemons/godebug/diff/diff.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kylelemons/godebug/pretty/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/kylelemons/godebug/pretty/doc.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kylelemons/godebug/pretty/public.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kylelemons/godebug/pretty/reflect.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kylelemons/godebug/pretty/structure.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/CONTRIBUTING.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/LICENSE.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/buf.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/certs/README (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/certs/postgresql.crt (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/certs/postgresql.key (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/certs/root.crt (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/certs/server.crt (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/certs/server.key (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/conn.go (99%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/copy.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/doc.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/encode.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/error.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/hstore/hstore.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/listen_example/doc.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/notify.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/oid/doc.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/oid/gen.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/oid/types.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/url.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/user_posix.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/lib/pq/user_windows.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/acceptance/acceptance.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/bounces.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/campaigns.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/credentials.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/domains.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/email_validation.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/events.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/mailgun.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/mailing_lists.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/messages.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/rest_shim.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/routes.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/spam_complaints.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/stats.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/unsubscribes.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mailgun/mailgun-go/webhooks.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/backup.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/callback.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/code/sqlite3-binding.c (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/code/sqlite3-binding.h (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/code/sqlite3ext.h (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/doc.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/error.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/sqlite3-binding.c (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/sqlite3-binding.h (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/sqlite3.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/sqlite3_icu.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/sqlite3_libsqlite3.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/sqlite3_load_extension.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/sqlite3_omit_load_extension.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/sqlite3_other.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/sqlite3_test/sqltest.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mattn/go-sqlite3/sqlite3_windows.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mbanzon/simplehttp/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/mbanzon/simplehttp/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/mbanzon/simplehttp/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/mbanzon/simplehttp/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/mbanzon/simplehttp/helpers.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mbanzon/simplehttp/json_utils.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mbanzon/simplehttp/parsing.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mbanzon/simplehttp/payloads.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mbanzon/simplehttp/shorthand.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/mbanzon/simplehttp/simplehttp.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/pborman/uuid/CONTRIBUTORS (100%) rename {Godeps/_workspace/src => vendor}/github.com/pborman/uuid/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/pborman/uuid/dce.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/pborman/uuid/doc.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/pborman/uuid/hash.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/pborman/uuid/json.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/pborman/uuid/node.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/pborman/uuid/time.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/pborman/uuid/util.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/pborman/uuid/uuid.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/pborman/uuid/version1.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/pborman/uuid/version4.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/doc.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/migrate.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/sql-migrate/command_common.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/sql-migrate/command_down.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/sql-migrate/command_redo.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/sql-migrate/command_status.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/sql-migrate/command_up.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/sql-migrate/config.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/sql-migrate/main.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/sql-migrate/mssql.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/sqlparse/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/sqlparse/sqlparse.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/test-integration/dbconfig.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/test-integration/mysql-flag.sh (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/test-integration/mysql.sh (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/test-integration/postgres.sh (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/test-integration/sqlite.sh (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/test-migrations/1_initial.sql (100%) rename {Godeps/_workspace/src => vendor}/github.com/rubenv/sql-migrate/test-migrations/2_record.sql (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/.mailmap (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/LICENSE.txt (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/bash_completions.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/bash_completions.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/cobra.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/cobra/cmd/add.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/cobra/cmd/helpers.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/cobra/cmd/init.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/cobra/cmd/licenses.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/cobra/cmd/root.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/cobra/main.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/command.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/command_notwin.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/command_win.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/doc/man_docs.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/doc/man_docs.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/doc/md_docs.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/doc/md_docs.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/cobra/doc/util.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/bool.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/count.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/duration.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/flag.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/float32.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/float64.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/golangflag.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/int.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/int32.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/int64.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/int8.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/int_slice.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/ip.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/ipmask.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/ipnet.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/string.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/string_slice.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/uint.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/uint16.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/uint32.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/uint64.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/uint8.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/verify/all.sh (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/verify/gofmt.sh (100%) rename {Godeps/_workspace/src => vendor}/github.com/spf13/pflag/verify/golint.sh (100%) create mode 100644 vendor/golang.org/x/crypto/LICENSE create mode 100644 vendor/golang.org/x/crypto/PATENTS rename {Godeps/_workspace/src => vendor}/golang.org/x/crypto/bcrypt/base64.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/crypto/bcrypt/bcrypt.go (99%) rename {Godeps/_workspace/src => vendor}/golang.org/x/crypto/blowfish/block.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/crypto/blowfish/cipher.go (98%) rename {Godeps/_workspace/src => vendor}/golang.org/x/crypto/blowfish/const.go (100%) create mode 100644 vendor/golang.org/x/net/LICENSE create mode 100644 vendor/golang.org/x/net/PATENTS rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/atom/atom.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/atom/gen.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/atom/table.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/charset/charset.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/charset/gen.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/charset/table.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/const.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/doc.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/doctype.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/entity.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/escape.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/foreign.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/node.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/parse.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/render.go (100%) rename {Godeps/_workspace/src => vendor}/golang.org/x/net/html/token.go (100%) rename {Godeps/_workspace/src => vendor}/google.golang.org/api/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/google.golang.org/api/google-api-go-generator/gen.go (100%) rename {Godeps/_workspace/src => vendor}/google.golang.org/api/googleapi/googleapi.go (100%) rename {Godeps/_workspace/src => vendor}/google.golang.org/api/googleapi/internal/uritemplates/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/google.golang.org/api/googleapi/internal/uritemplates/uritemplates.go (100%) rename {Godeps/_workspace/src => vendor}/google.golang.org/api/googleapi/internal/uritemplates/utils.go (100%) rename {Godeps/_workspace/src => vendor}/google.golang.org/api/googleapi/transport/apikey.go (100%) rename {Godeps/_workspace/src => vendor}/google.golang.org/api/googleapi/types.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/alexcesaro/quotedprintable.v3/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/alexcesaro/quotedprintable.v3/README.md (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/alexcesaro/quotedprintable.v3/encodedword.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/alexcesaro/quotedprintable.v3/pool.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/alexcesaro/quotedprintable.v3/pool_go12.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/alexcesaro/quotedprintable.v3/reader.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/alexcesaro/quotedprintable.v3/writer.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/README.md (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/ber.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/content_int.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/header.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/identifier.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/length.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc1.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc10.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc11.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc12.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc13.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc14.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc15.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc16.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc17.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc18.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc19.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc2.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc20.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc21.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc22.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc23.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc24.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc25.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc26.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc27.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc28.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc29.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc3.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc30.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc31.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc32.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc33.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc34.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc35.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc36.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc37.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc38.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc39.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc4.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc40.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc41.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc42.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc43.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc44.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc45.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc46.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc47.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc48.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc5.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc6.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc7.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc8.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/tests/tc9.ber (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/asn1-ber.v1/util.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/CHANGELOG.md (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/CONTRIBUTING.md (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/README.md (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/auth.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/doc.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/message.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/mime.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/mime_go14.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/send.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/smtp.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gomail.v2/writeto.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gorp.v1/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gorp.v1/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gorp.v1/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gorp.v1/Makefile (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gorp.v1/README.md (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gorp.v1/dialect.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gorp.v1/errors.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gorp.v1/gorp.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/gorp.v1/test_all.sh (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/README.md (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/add.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/bind.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/client.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/compare.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/conn.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/control.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/debug.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/del.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/dn.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/doc.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/error.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/filter.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/ldap.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/modify.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/passwdmodify.go (100%) rename {Godeps/_workspace/src => vendor}/gopkg.in/ldap.v2/search.go (100%) diff --git a/Godeps/_workspace/.gitignore b/Godeps/_workspace/.gitignore deleted file mode 100644 index f037d684..00000000 --- a/Godeps/_workspace/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/pkg -/bin diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/array_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/array_test.go deleted file mode 100644 index 1dda5256..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/array_test.go +++ /dev/null @@ -1,180 +0,0 @@ -package goquery - -import ( - "testing" -) - -func TestFirst(t *testing.T) { - sel := Doc().Find(".pvk-content").First() - assertLength(t, sel.Nodes, 1) -} - -func TestFirstEmpty(t *testing.T) { - sel := Doc().Find(".pvk-zzcontentzz").First() - assertLength(t, sel.Nodes, 0) -} - -func TestFirstRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.First().End() - assertEqual(t, sel, sel2) -} - -func TestLast(t *testing.T) { - sel := Doc().Find(".pvk-content").Last() - assertLength(t, sel.Nodes, 1) - - // Should contain Footer - foot := Doc().Find(".footer") - if !sel.Contains(foot.Nodes[0]) { - t.Error("Last .pvk-content should contain .footer.") - } -} - -func TestLastEmpty(t *testing.T) { - sel := Doc().Find(".pvk-zzcontentzz").Last() - assertLength(t, sel.Nodes, 0) -} - -func TestLastRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Last().End() - assertEqual(t, sel, sel2) -} - -func TestEq(t *testing.T) { - sel := Doc().Find(".pvk-content").Eq(1) - assertLength(t, sel.Nodes, 1) -} - -func TestEqNegative(t *testing.T) { - sel := Doc().Find(".pvk-content").Eq(-1) - assertLength(t, sel.Nodes, 1) - - // Should contain Footer - foot := Doc().Find(".footer") - if !sel.Contains(foot.Nodes[0]) { - t.Error("Index -1 of .pvk-content should contain .footer.") - } -} - -func TestEqEmpty(t *testing.T) { - sel := Doc().Find("something_random_that_does_not_exists").Eq(0) - assertLength(t, sel.Nodes, 0) -} - -func TestEqInvalidPositive(t *testing.T) { - sel := Doc().Find(".pvk-content").Eq(3) - assertLength(t, sel.Nodes, 0) -} - -func TestEqInvalidNegative(t *testing.T) { - sel := Doc().Find(".pvk-content").Eq(-4) - assertLength(t, sel.Nodes, 0) -} - -func TestEqRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Eq(1).End() - assertEqual(t, sel, sel2) -} - -func TestSlice(t *testing.T) { - sel := Doc().Find(".pvk-content").Slice(0, 2) - - assertLength(t, sel.Nodes, 2) -} - -func TestSliceOutOfBounds(t *testing.T) { - defer assertPanic(t) - Doc().Find(".pvk-content").Slice(2, 12) -} - -func TestNegativeSliceStart(t *testing.T) { - sel := Doc().Find(".container-fluid").Slice(-2, 3) - assertLength(t, sel.Nodes, 1) - assertSelectionIs(t, sel.Eq(0), "#cf3") -} - -func TestNegativeSliceEnd(t *testing.T) { - sel := Doc().Find(".container-fluid").Slice(1, -1) - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel.Eq(0), "#cf2") - assertSelectionIs(t, sel.Eq(1), "#cf3") -} - -func TestNegativeSliceBoth(t *testing.T) { - sel := Doc().Find(".container-fluid").Slice(-3, -1) - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel.Eq(0), "#cf2") - assertSelectionIs(t, sel.Eq(1), "#cf3") -} - -func TestNegativeSliceOutOfBounds(t *testing.T) { - defer assertPanic(t) - Doc().Find(".container-fluid").Slice(-12, -7) -} - -func TestSliceRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Slice(0, 2).End() - assertEqual(t, sel, sel2) -} - -func TestGet(t *testing.T) { - sel := Doc().Find(".pvk-content") - node := sel.Get(1) - if sel.Nodes[1] != node { - t.Errorf("Expected node %v to be %v.", node, sel.Nodes[1]) - } -} - -func TestGetNegative(t *testing.T) { - sel := Doc().Find(".pvk-content") - node := sel.Get(-3) - if sel.Nodes[0] != node { - t.Errorf("Expected node %v to be %v.", node, sel.Nodes[0]) - } -} - -func TestGetInvalid(t *testing.T) { - defer assertPanic(t) - sel := Doc().Find(".pvk-content") - sel.Get(129) -} - -func TestIndex(t *testing.T) { - sel := Doc().Find(".pvk-content") - if i := sel.Index(); i != 1 { - t.Errorf("Expected index of 1, got %v.", i) - } -} - -func TestIndexSelector(t *testing.T) { - sel := Doc().Find(".hero-unit") - if i := sel.IndexSelector("div"); i != 4 { - t.Errorf("Expected index of 4, got %v.", i) - } -} - -func TestIndexOfNode(t *testing.T) { - sel := Doc().Find("div.pvk-gutter") - if i := sel.IndexOfNode(sel.Nodes[1]); i != 1 { - t.Errorf("Expected index of 1, got %v.", i) - } -} - -func TestIndexOfNilNode(t *testing.T) { - sel := Doc().Find("div.pvk-gutter") - if i := sel.IndexOfNode(nil); i != -1 { - t.Errorf("Expected index of -1, got %v.", i) - } -} - -func TestIndexOfSelection(t *testing.T) { - sel := Doc().Find("div") - sel2 := Doc().Find(".hero-unit") - if i := sel.IndexOfSelection(sel2); i != 4 { - t.Errorf("Expected index of 4, got %v.", i) - } -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_array_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_array_test.go deleted file mode 100644 index 6d5581eb..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_array_test.go +++ /dev/null @@ -1,112 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkFirst(b *testing.B) { - b.StopTimer() - sel := DocB().Find("dd") - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.First() - } -} - -func BenchmarkLast(b *testing.B) { - b.StopTimer() - sel := DocB().Find("dd") - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Last() - } -} - -func BenchmarkEq(b *testing.B) { - b.StopTimer() - sel := DocB().Find("dd") - j := 0 - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Eq(j) - if j++; j >= sel.Length() { - j = 0 - } - } -} - -func BenchmarkSlice(b *testing.B) { - b.StopTimer() - sel := DocB().Find("dd") - j := 0 - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Slice(j, j+4) - if j++; j >= (sel.Length() - 4) { - j = 0 - } - } -} - -func BenchmarkGet(b *testing.B) { - b.StopTimer() - sel := DocB().Find("dd") - j := 0 - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Get(j) - if j++; j >= sel.Length() { - j = 0 - } - } -} - -func BenchmarkIndex(b *testing.B) { - var j int - - b.StopTimer() - sel := DocB().Find("#Main") - b.StartTimer() - for i := 0; i < b.N; i++ { - j = sel.Index() - } - b.Logf("Index=%d", j) -} - -func BenchmarkIndexSelector(b *testing.B) { - var j int - - b.StopTimer() - sel := DocB().Find("#manual-nav dl dd:nth-child(1)") - b.StartTimer() - for i := 0; i < b.N; i++ { - j = sel.IndexSelector("dd") - } - b.Logf("IndexSelector=%d", j) -} - -func BenchmarkIndexOfNode(b *testing.B) { - var j int - - b.StopTimer() - sel := DocB().Find("span a") - sel2 := DocB().Find("span a:nth-child(3)") - n := sel2.Get(0) - b.StartTimer() - for i := 0; i < b.N; i++ { - j = sel.IndexOfNode(n) - } - b.Logf("IndexOfNode=%d", j) -} - -func BenchmarkIndexOfSelection(b *testing.B) { - var j int - b.StopTimer() - sel := DocB().Find("span a") - sel2 := DocB().Find("span a:nth-child(3)") - b.StartTimer() - for i := 0; i < b.N; i++ { - j = sel.IndexOfSelection(sel2) - } - b.Logf("IndexOfSelection=%d", j) -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_example_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_example_test.go deleted file mode 100644 index a5474310..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_example_test.go +++ /dev/null @@ -1,42 +0,0 @@ -package goquery - -import ( - "bytes" - "fmt" - "strconv" - "testing" -) - -func BenchmarkMetalReviewExample(b *testing.B) { - var n int - var buf bytes.Buffer - - b.StopTimer() - doc := loadDoc("metalreview.html") - b.StartTimer() - for i := 0; i < b.N; i++ { - doc.Find(".slider-row:nth-child(1) .slider-item").Each(func(i int, s *Selection) { - var band, title string - var score float64 - var e error - - n++ - // For each item found, get the band, title and score, and print it - band = s.Find("strong").Text() - title = s.Find("em").Text() - if score, e = strconv.ParseFloat(s.Find(".score").Text(), 64); e != nil { - // Not a valid float, ignore score - if n <= 4 { - buf.WriteString(fmt.Sprintf("Review %d: %s - %s.\n", i, band, title)) - } - } else { - // Print all, including score - if n <= 4 { - buf.WriteString(fmt.Sprintf("Review %d: %s - %s (%2.1f).\n", i, band, title, score)) - } - } - }) - } - b.Log(buf.String()) - b.Logf("MetalReviewExample=%d", n) -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_expand_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_expand_test.go deleted file mode 100644 index aee7d81d..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_expand_test.go +++ /dev/null @@ -1,72 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkAdd(b *testing.B) { - var n int - - b.StopTimer() - sel := DocB().Find("dd") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Add("h2[title]").Length() - } else { - sel.Add("h2[title]") - } - } - b.Logf("Add=%d", n) -} - -func BenchmarkAddSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocB().Find("dd") - sel2 := DocB().Find("h2[title]") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.AddSelection(sel2).Length() - } else { - sel.AddSelection(sel2) - } - } - b.Logf("AddSelection=%d", n) -} - -func BenchmarkAddNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocB().Find("dd") - sel2 := DocB().Find("h2[title]") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.AddNodes(nodes...).Length() - } else { - sel.AddNodes(nodes...) - } - } - b.Logf("AddNodes=%d", n) -} - -func BenchmarkAndSelf(b *testing.B) { - var n int - - b.StopTimer() - sel := DocB().Find("dd").Parent() - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.AndSelf().Length() - } else { - sel.AndSelf() - } - } - b.Logf("AndSelf=%d", n) -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_filter_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_filter_test.go deleted file mode 100644 index 05ffaaa3..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_filter_test.go +++ /dev/null @@ -1,212 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkFilter(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Filter(".toclevel-1").Length() - } else { - sel.Filter(".toclevel-1") - } - } - b.Logf("Filter=%d", n) -} - -func BenchmarkNot(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Not(".toclevel-2").Length() - } else { - sel.Filter(".toclevel-2") - } - } - b.Logf("Not=%d", n) -} - -func BenchmarkFilterFunction(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - f := func(i int, s *Selection) bool { - return len(s.Get(0).Attr) > 0 - } - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.FilterFunction(f).Length() - } else { - sel.FilterFunction(f) - } - } - b.Logf("FilterFunction=%d", n) -} - -func BenchmarkNotFunction(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - f := func(i int, s *Selection) bool { - return len(s.Get(0).Attr) > 0 - } - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NotFunction(f).Length() - } else { - sel.NotFunction(f) - } - } - b.Logf("NotFunction=%d", n) -} - -func BenchmarkFilterNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".toclevel-2") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.FilterNodes(nodes...).Length() - } else { - sel.FilterNodes(nodes...) - } - } - b.Logf("FilterNodes=%d", n) -} - -func BenchmarkNotNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".toclevel-1") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NotNodes(nodes...).Length() - } else { - sel.NotNodes(nodes...) - } - } - b.Logf("NotNodes=%d", n) -} - -func BenchmarkFilterSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".toclevel-2") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.FilterSelection(sel2).Length() - } else { - sel.FilterSelection(sel2) - } - } - b.Logf("FilterSelection=%d", n) -} - -func BenchmarkNotSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".toclevel-1") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NotSelection(sel2).Length() - } else { - sel.NotSelection(sel2) - } - } - b.Logf("NotSelection=%d", n) -} - -func BenchmarkHas(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Has(".editsection").Length() - } else { - sel.Has(".editsection") - } - } - b.Logf("Has=%d", n) -} - -func BenchmarkHasNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".tocnumber") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.HasNodes(nodes...).Length() - } else { - sel.HasNodes(nodes...) - } - } - b.Logf("HasNodes=%d", n) -} - -func BenchmarkHasSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".tocnumber") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.HasSelection(sel2).Length() - } else { - sel.HasSelection(sel2) - } - } - b.Logf("HasSelection=%d", n) -} - -func BenchmarkEnd(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li").Has(".tocnumber") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.End().Length() - } else { - sel.End() - } - } - b.Logf("End=%d", n) -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_iteration_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_iteration_test.go deleted file mode 100644 index f1b55308..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_iteration_test.go +++ /dev/null @@ -1,62 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkEach(b *testing.B) { - var tmp, n int - - b.StopTimer() - sel := DocW().Find("td") - f := func(i int, s *Selection) { - tmp++ - } - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Each(f) - if n == 0 { - n = tmp - } - } - b.Logf("Each=%d", n) -} - -func BenchmarkMap(b *testing.B) { - var tmp, n int - - b.StopTimer() - sel := DocW().Find("td") - f := func(i int, s *Selection) string { - tmp++ - return string(tmp) - } - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Map(f) - if n == 0 { - n = tmp - } - } - b.Logf("Map=%d", n) -} - -func BenchmarkEachWithBreak(b *testing.B) { - var tmp, n int - - b.StopTimer() - sel := DocW().Find("td") - f := func(i int, s *Selection) bool { - tmp++ - return tmp < 10 - } - b.StartTimer() - for i := 0; i < b.N; i++ { - tmp = 0 - sel.EachWithBreak(f) - if n == 0 { - n = tmp - } - } - b.Logf("Each=%d", n) -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_property_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_property_test.go deleted file mode 100644 index 0e616036..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_property_test.go +++ /dev/null @@ -1,47 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkAttr(b *testing.B) { - var s string - - b.StopTimer() - sel := DocW().Find("h1") - b.StartTimer() - for i := 0; i < b.N; i++ { - s, _ = sel.Attr("id") - } - b.Logf("Attr=%s", s) -} - -func BenchmarkText(b *testing.B) { - b.StopTimer() - sel := DocW().Find("h2") - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Text() - } -} - -func BenchmarkLength(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - b.StartTimer() - for i := 0; i < b.N; i++ { - n = sel.Length() - } - b.Logf("Length=%d", n) -} - -func BenchmarkHtml(b *testing.B) { - b.StopTimer() - sel := DocW().Find("h2") - b.StartTimer() - for i := 0; i < b.N; i++ { - sel.Html() - } -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_query_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_query_test.go deleted file mode 100644 index 3d3a98f8..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_query_test.go +++ /dev/null @@ -1,97 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkIs(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find("li") - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.Is(".toclevel-2") - } - b.Logf("Is=%v", y) -} - -func BenchmarkIsPositional(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find("li") - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.Is("li:nth-child(2)") - } - b.Logf("IsPositional=%v", y) -} - -func BenchmarkIsFunction(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find(".toclevel-1") - f := func(i int, s *Selection) bool { - return i == 8 - } - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.IsFunction(f) - } - b.Logf("IsFunction=%v", y) -} - -func BenchmarkIsSelection(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".toclevel-2") - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.IsSelection(sel2) - } - b.Logf("IsSelection=%v", y) -} - -func BenchmarkIsNodes(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find("li") - sel2 := DocW().Find(".toclevel-2") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.IsNodes(nodes...) - } - b.Logf("IsNodes=%v", y) -} - -func BenchmarkHasClass(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find("span") - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.HasClass("official") - } - b.Logf("HasClass=%v", y) -} - -func BenchmarkContains(b *testing.B) { - var y bool - - b.StopTimer() - sel := DocW().Find("span.url") - sel2 := DocW().Find("a[rel=\"nofollow\"]") - node := sel2.Nodes[0] - b.StartTimer() - for i := 0; i < b.N; i++ { - y = sel.Contains(node) - } - b.Logf("Contains=%v", y) -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_traversal_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_traversal_test.go deleted file mode 100644 index 43610f6f..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/bench_traversal_test.go +++ /dev/null @@ -1,716 +0,0 @@ -package goquery - -import ( - "testing" -) - -func BenchmarkFind(b *testing.B) { - var n int - - for i := 0; i < b.N; i++ { - if n == 0 { - n = DocB().Find("dd").Length() - - } else { - DocB().Find("dd") - } - } - b.Logf("Find=%d", n) -} - -func BenchmarkFindWithinSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("ul") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Find("a[class]").Length() - } else { - sel.Find("a[class]") - } - } - b.Logf("FindWithinSelection=%d", n) -} - -func BenchmarkFindSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("ul") - sel2 := DocW().Find("span") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.FindSelection(sel2).Length() - } else { - sel.FindSelection(sel2) - } - } - b.Logf("FindSelection=%d", n) -} - -func BenchmarkFindNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("ul") - sel2 := DocW().Find("span") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.FindNodes(nodes...).Length() - } else { - sel.FindNodes(nodes...) - } - } - b.Logf("FindNodes=%d", n) -} - -func BenchmarkContents(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find(".toclevel-1") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Contents().Length() - } else { - sel.Contents() - } - } - b.Logf("Contents=%d", n) -} - -func BenchmarkContentsFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find(".toclevel-1") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ContentsFiltered("a[href=\"#Examples\"]").Length() - } else { - sel.ContentsFiltered("a[href=\"#Examples\"]") - } - } - b.Logf("ContentsFiltered=%d", n) -} - -func BenchmarkChildren(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find(".toclevel-2") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Children().Length() - } else { - sel.Children() - } - } - b.Logf("Children=%d", n) -} - -func BenchmarkChildrenFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h3") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ChildrenFiltered(".editsection").Length() - } else { - sel.ChildrenFiltered(".editsection") - } - } - b.Logf("ChildrenFiltered=%d", n) -} - -func BenchmarkParent(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Parent().Length() - } else { - sel.Parent() - } - } - b.Logf("Parent=%d", n) -} - -func BenchmarkParentFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentFiltered("ul[id]").Length() - } else { - sel.ParentFiltered("ul[id]") - } - } - b.Logf("ParentFiltered=%d", n) -} - -func BenchmarkParents(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("th a") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Parents().Length() - } else { - sel.Parents() - } - } - b.Logf("Parents=%d", n) -} - -func BenchmarkParentsFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("th a") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsFiltered("tr").Length() - } else { - sel.ParentsFiltered("tr") - } - } - b.Logf("ParentsFiltered=%d", n) -} - -func BenchmarkParentsUntil(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("th a") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsUntil("table").Length() - } else { - sel.ParentsUntil("table") - } - } - b.Logf("ParentsUntil=%d", n) -} - -func BenchmarkParentsUntilSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("th a") - sel2 := DocW().Find("#content") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsUntilSelection(sel2).Length() - } else { - sel.ParentsUntilSelection(sel2) - } - } - b.Logf("ParentsUntilSelection=%d", n) -} - -func BenchmarkParentsUntilNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("th a") - sel2 := DocW().Find("#content") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsUntilNodes(nodes...).Length() - } else { - sel.ParentsUntilNodes(nodes...) - } - } - b.Logf("ParentsUntilNodes=%d", n) -} - -func BenchmarkParentsFilteredUntil(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find(".toclevel-1 a") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsFilteredUntil(":nth-child(1)", "ul").Length() - } else { - sel.ParentsFilteredUntil(":nth-child(1)", "ul") - } - } - b.Logf("ParentsFilteredUntil=%d", n) -} - -func BenchmarkParentsFilteredUntilSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find(".toclevel-1 a") - sel2 := DocW().Find("ul") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsFilteredUntilSelection(":nth-child(1)", sel2).Length() - } else { - sel.ParentsFilteredUntilSelection(":nth-child(1)", sel2) - } - } - b.Logf("ParentsFilteredUntilSelection=%d", n) -} - -func BenchmarkParentsFilteredUntilNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find(".toclevel-1 a") - sel2 := DocW().Find("ul") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ParentsFilteredUntilNodes(":nth-child(1)", nodes...).Length() - } else { - sel.ParentsFilteredUntilNodes(":nth-child(1)", nodes...) - } - } - b.Logf("ParentsFilteredUntilNodes=%d", n) -} - -func BenchmarkSiblings(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("ul li:nth-child(1)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Siblings().Length() - } else { - sel.Siblings() - } - } - b.Logf("Siblings=%d", n) -} - -func BenchmarkSiblingsFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("ul li:nth-child(1)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.SiblingsFiltered("[class]").Length() - } else { - sel.SiblingsFiltered("[class]") - } - } - b.Logf("SiblingsFiltered=%d", n) -} - -func BenchmarkNext(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:nth-child(1)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Next().Length() - } else { - sel.Next() - } - } - b.Logf("Next=%d", n) -} - -func BenchmarkNextFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:nth-child(1)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextFiltered("[class]").Length() - } else { - sel.NextFiltered("[class]") - } - } - b.Logf("NextFiltered=%d", n) -} - -func BenchmarkNextAll(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:nth-child(3)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextAll().Length() - } else { - sel.NextAll() - } - } - b.Logf("NextAll=%d", n) -} - -func BenchmarkNextAllFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:nth-child(3)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextAllFiltered("[class]").Length() - } else { - sel.NextAllFiltered("[class]") - } - } - b.Logf("NextAllFiltered=%d", n) -} - -func BenchmarkPrev(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:last-child") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Prev().Length() - } else { - sel.Prev() - } - } - b.Logf("Prev=%d", n) -} - -func BenchmarkPrevFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:last-child") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevFiltered("[class]").Length() - } else { - sel.PrevFiltered("[class]") - } - } - // There is one more Prev li with a class, compared to Next li with a class - // (confirmed by looking at the HTML, this is ok) - b.Logf("PrevFiltered=%d", n) -} - -func BenchmarkPrevAll(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:nth-child(4)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevAll().Length() - } else { - sel.PrevAll() - } - } - b.Logf("PrevAll=%d", n) -} - -func BenchmarkPrevAllFiltered(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:nth-child(4)") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevAllFiltered("[class]").Length() - } else { - sel.PrevAllFiltered("[class]") - } - } - b.Logf("PrevAllFiltered=%d", n) -} - -func BenchmarkNextUntil(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:first-child") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextUntil(":nth-child(4)").Length() - } else { - sel.NextUntil(":nth-child(4)") - } - } - b.Logf("NextUntil=%d", n) -} - -func BenchmarkNextUntilSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("ul") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextUntilSelection(sel2).Length() - } else { - sel.NextUntilSelection(sel2) - } - } - b.Logf("NextUntilSelection=%d", n) -} - -func BenchmarkNextUntilNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("p") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextUntilNodes(nodes...).Length() - } else { - sel.NextUntilNodes(nodes...) - } - } - b.Logf("NextUntilNodes=%d", n) -} - -func BenchmarkPrevUntil(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("li:last-child") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevUntil(":nth-child(4)").Length() - } else { - sel.PrevUntil(":nth-child(4)") - } - } - b.Logf("PrevUntil=%d", n) -} - -func BenchmarkPrevUntilSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("ul") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevUntilSelection(sel2).Length() - } else { - sel.PrevUntilSelection(sel2) - } - } - b.Logf("PrevUntilSelection=%d", n) -} - -func BenchmarkPrevUntilNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("p") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevUntilNodes(nodes...).Length() - } else { - sel.PrevUntilNodes(nodes...) - } - } - b.Logf("PrevUntilNodes=%d", n) -} - -func BenchmarkNextFilteredUntil(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextFilteredUntil("p", "div").Length() - } else { - sel.NextFilteredUntil("p", "div") - } - } - b.Logf("NextFilteredUntil=%d", n) -} - -func BenchmarkNextFilteredUntilSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("div") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextFilteredUntilSelection("p", sel2).Length() - } else { - sel.NextFilteredUntilSelection("p", sel2) - } - } - b.Logf("NextFilteredUntilSelection=%d", n) -} - -func BenchmarkNextFilteredUntilNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("div") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.NextFilteredUntilNodes("p", nodes...).Length() - } else { - sel.NextFilteredUntilNodes("p", nodes...) - } - } - b.Logf("NextFilteredUntilNodes=%d", n) -} - -func BenchmarkPrevFilteredUntil(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevFilteredUntil("p", "div").Length() - } else { - sel.PrevFilteredUntil("p", "div") - } - } - b.Logf("PrevFilteredUntil=%d", n) -} - -func BenchmarkPrevFilteredUntilSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("div") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevFilteredUntilSelection("p", sel2).Length() - } else { - sel.PrevFilteredUntilSelection("p", sel2) - } - } - b.Logf("PrevFilteredUntilSelection=%d", n) -} - -func BenchmarkPrevFilteredUntilNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := DocW().Find("h2") - sel2 := DocW().Find("div") - nodes := sel2.Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.PrevFilteredUntilNodes("p", nodes...).Length() - } else { - sel.PrevFilteredUntilNodes("p", nodes...) - } - } - b.Logf("PrevFilteredUntilNodes=%d", n) -} - -func BenchmarkClosest(b *testing.B) { - var n int - - b.StopTimer() - sel := Doc().Find(".container-fluid") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.Closest(".pvk-content").Length() - } else { - sel.Closest(".pvk-content") - } - } - b.Logf("Closest=%d", n) -} - -func BenchmarkClosestSelection(b *testing.B) { - var n int - - b.StopTimer() - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".pvk-content") - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ClosestSelection(sel2).Length() - } else { - sel.ClosestSelection(sel2) - } - } - b.Logf("ClosestSelection=%d", n) -} - -func BenchmarkClosestNodes(b *testing.B) { - var n int - - b.StopTimer() - sel := Doc().Find(".container-fluid") - nodes := Doc().Find(".pvk-content").Nodes - b.StartTimer() - for i := 0; i < b.N; i++ { - if n == 0 { - n = sel.ClosestNodes(nodes...).Length() - } else { - sel.ClosestNodes(nodes...) - } - } - b.Logf("ClosestNodes=%d", n) -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/example_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/example_test.go deleted file mode 100644 index 9e8c3c54..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/example_test.go +++ /dev/null @@ -1,32 +0,0 @@ -package goquery - -import ( - "fmt" - "log" - - // In real use, this import would be required (not in this example, since it - // is part of the goquery package) - //"github.com/PuerkitoBio/goquery" -) - -// This example scrapes the reviews shown on the home page of metalsucks.net. -func ExampleScrape_MetalSucks() { - // Load the HTML document (in real use, the type would be *goquery.Document) - doc, err := NewDocument("http://metalsucks.net") - if err != nil { - log.Fatal(err) - } - - // Find the review items (the type of the Selection would be *goquery.Selection) - doc.Find(".reviews-wrap article .review-rhs").Each(func(i int, s *Selection) { - // For each item found, get the band and title - band := s.Find("h3").Text() - title := s.Find("i").Text() - fmt.Printf("Review %d: %s - %s\n", i, band, title) - }) - // To see the output of the Example while running the test suite (go test), simply - // remove the leading "x" before Output on the next line. This will cause the - // example to fail (all the "real" tests should pass). - - // xOutput: voluntarily fail the Example output. -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/expand_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/expand_test.go deleted file mode 100644 index cff69968..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/expand_test.go +++ /dev/null @@ -1,68 +0,0 @@ -package goquery - -import ( - "testing" -) - -func TestAdd(t *testing.T) { - sel := Doc().Find("div.row-fluid").Add("a") - assertLength(t, sel.Nodes, 19) -} - -func TestAddRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Add("a").End() - assertEqual(t, sel, sel2) -} - -func TestAddSelection(t *testing.T) { - sel := Doc().Find("div.row-fluid") - sel2 := Doc().Find("a") - sel = sel.AddSelection(sel2) - assertLength(t, sel.Nodes, 19) -} - -func TestAddSelectionNil(t *testing.T) { - sel := Doc().Find("div.row-fluid") - assertLength(t, sel.Nodes, 9) - - sel = sel.AddSelection(nil) - assertLength(t, sel.Nodes, 9) -} - -func TestAddSelectionRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Find("a") - sel2 = sel.AddSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestAddNodes(t *testing.T) { - sel := Doc().Find("div.pvk-gutter") - sel2 := Doc().Find(".pvk-content") - sel = sel.AddNodes(sel2.Nodes...) - assertLength(t, sel.Nodes, 9) -} - -func TestAddNodesNone(t *testing.T) { - sel := Doc().Find("div.pvk-gutter").AddNodes() - assertLength(t, sel.Nodes, 6) -} - -func TestAddNodesRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Find("a") - sel2 = sel.AddNodes(sel2.Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestAndSelf(t *testing.T) { - sel := Doc().Find(".span12").Last().AndSelf() - assertLength(t, sel.Nodes, 2) -} - -func TestAndSelfRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Find("a").AndSelf().End().End() - assertEqual(t, sel, sel2) -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/filter_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/filter_test.go deleted file mode 100644 index d5978b5c..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/filter_test.go +++ /dev/null @@ -1,191 +0,0 @@ -package goquery - -import ( - "testing" -) - -func TestFilter(t *testing.T) { - sel := Doc().Find(".span12").Filter(".alert") - assertLength(t, sel.Nodes, 1) -} - -func TestFilterNone(t *testing.T) { - sel := Doc().Find(".span12").Filter(".zzalert") - assertLength(t, sel.Nodes, 0) -} - -func TestFilterRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Filter(".alert").End() - assertEqual(t, sel, sel2) -} - -func TestFilterFunction(t *testing.T) { - sel := Doc().Find(".pvk-content").FilterFunction(func(i int, s *Selection) bool { - return i > 0 - }) - assertLength(t, sel.Nodes, 2) -} - -func TestFilterFunctionRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.FilterFunction(func(i int, s *Selection) bool { - return i > 0 - }).End() - assertEqual(t, sel, sel2) -} - -func TestFilterNode(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.FilterNodes(sel.Nodes[2]) - assertLength(t, sel2.Nodes, 1) -} - -func TestFilterNodeRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.FilterNodes(sel.Nodes[2]).End() - assertEqual(t, sel, sel2) -} - -func TestFilterSelection(t *testing.T) { - sel := Doc().Find(".link") - sel2 := Doc().Find("a[ng-click]") - sel3 := sel.FilterSelection(sel2) - assertLength(t, sel3.Nodes, 1) -} - -func TestFilterSelectionRollback(t *testing.T) { - sel := Doc().Find(".link") - sel2 := Doc().Find("a[ng-click]") - sel2 = sel.FilterSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestFilterSelectionNil(t *testing.T) { - var sel2 *Selection - - sel := Doc().Find(".link") - sel3 := sel.FilterSelection(sel2) - assertLength(t, sel3.Nodes, 0) -} - -func TestNot(t *testing.T) { - sel := Doc().Find(".span12").Not(".alert") - assertLength(t, sel.Nodes, 1) -} - -func TestNotRollback(t *testing.T) { - sel := Doc().Find(".span12") - sel2 := sel.Not(".alert").End() - assertEqual(t, sel, sel2) -} - -func TestNotNone(t *testing.T) { - sel := Doc().Find(".span12").Not(".zzalert") - assertLength(t, sel.Nodes, 2) -} - -func TestNotFunction(t *testing.T) { - sel := Doc().Find(".pvk-content").NotFunction(func(i int, s *Selection) bool { - return i > 0 - }) - assertLength(t, sel.Nodes, 1) -} - -func TestNotFunctionRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.NotFunction(func(i int, s *Selection) bool { - return i > 0 - }).End() - assertEqual(t, sel, sel2) -} - -func TestNotNode(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.NotNodes(sel.Nodes[2]) - assertLength(t, sel2.Nodes, 2) -} - -func TestNotNodeRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.NotNodes(sel.Nodes[2]).End() - assertEqual(t, sel, sel2) -} - -func TestNotSelection(t *testing.T) { - sel := Doc().Find(".link") - sel2 := Doc().Find("a[ng-click]") - sel3 := sel.NotSelection(sel2) - assertLength(t, sel3.Nodes, 6) -} - -func TestNotSelectionRollback(t *testing.T) { - sel := Doc().Find(".link") - sel2 := Doc().Find("a[ng-click]") - sel2 = sel.NotSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestIntersection(t *testing.T) { - sel := Doc().Find(".pvk-gutter") - sel2 := Doc().Find("div").Intersection(sel) - assertLength(t, sel2.Nodes, 6) -} - -func TestIntersectionRollback(t *testing.T) { - sel := Doc().Find(".pvk-gutter") - sel2 := Doc().Find("div") - sel2 = sel.Intersection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestHas(t *testing.T) { - sel := Doc().Find(".container-fluid").Has(".center-content") - assertLength(t, sel.Nodes, 2) - // Has() returns the high-level .container-fluid div, and the one that is the immediate parent of center-content -} - -func TestHasRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.Has(".center-content").End() - assertEqual(t, sel, sel2) -} - -func TestHasNodes(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".center-content") - sel = sel.HasNodes(sel2.Nodes...) - assertLength(t, sel.Nodes, 2) - // Has() returns the high-level .container-fluid div, and the one that is the immediate parent of center-content -} - -func TestHasNodesRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".center-content") - sel2 = sel.HasNodes(sel2.Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestHasSelection(t *testing.T) { - sel := Doc().Find("p") - sel2 := Doc().Find("small") - sel = sel.HasSelection(sel2) - assertLength(t, sel.Nodes, 1) -} - -func TestHasSelectionRollback(t *testing.T) { - sel := Doc().Find("p") - sel2 := Doc().Find("small") - sel2 = sel.HasSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestEnd(t *testing.T) { - sel := Doc().Find("p").Has("small").End() - assertLength(t, sel.Nodes, 4) -} - -func TestEndToTop(t *testing.T) { - sel := Doc().Find("p").Has("small").End().End().End() - assertLength(t, sel.Nodes, 0) -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/iteration_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/iteration_test.go deleted file mode 100644 index 9b6aafb7..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/iteration_test.go +++ /dev/null @@ -1,88 +0,0 @@ -package goquery - -import ( - "testing" - - "golang.org/x/net/html" -) - -func TestEach(t *testing.T) { - var cnt int - - sel := Doc().Find(".hero-unit .row-fluid").Each(func(i int, n *Selection) { - cnt++ - t.Logf("At index %v, node %v", i, n.Nodes[0].Data) - }).Find("a") - - if cnt != 4 { - t.Errorf("Expected Each() to call function 4 times, got %v times.", cnt) - } - assertLength(t, sel.Nodes, 6) -} - -func TestEachWithBreak(t *testing.T) { - var cnt int - - sel := Doc().Find(".hero-unit .row-fluid").EachWithBreak(func(i int, n *Selection) bool { - cnt++ - t.Logf("At index %v, node %v", i, n.Nodes[0].Data) - return false - }).Find("a") - - if cnt != 1 { - t.Errorf("Expected Each() to call function 1 time, got %v times.", cnt) - } - assertLength(t, sel.Nodes, 6) -} - -func TestEachEmptySelection(t *testing.T) { - var cnt int - - sel := Doc().Find("zzzz") - sel.Each(func(i int, n *Selection) { - cnt++ - }) - if cnt > 0 { - t.Error("Expected Each() to not be called on empty Selection.") - } - sel2 := sel.Find("div") - assertLength(t, sel2.Nodes, 0) -} - -func TestMap(t *testing.T) { - sel := Doc().Find(".pvk-content") - vals := sel.Map(func(i int, s *Selection) string { - n := s.Get(0) - if n.Type == html.ElementNode { - return n.Data - } - return "" - }) - for _, v := range vals { - if v != "div" { - t.Error("Expected Map array result to be all 'div's.") - } - } - if len(vals) != 3 { - t.Errorf("Expected Map array result to have a length of 3, found %v.", len(vals)) - } -} - -func TestForRange(t *testing.T) { - sel := Doc().Find(".pvk-content") - initLen := sel.Length() - for i := range sel.Nodes { - single := sel.Eq(i) - //h, err := single.Html() - //if err != nil { - // t.Fatal(err) - //} - //fmt.Println(i, h) - if single.Length() != 1 { - t.Errorf("%d: expected length of 1, got %d", i, single.Length()) - } - } - if sel.Length() != initLen { - t.Errorf("expected initial selection to still have length %d, got %d", initLen, sel.Length()) - } -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/manipulation_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/manipulation_test.go deleted file mode 100644 index f1c6e3ef..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/manipulation_test.go +++ /dev/null @@ -1,453 +0,0 @@ -package goquery - -import ( - "testing" -) - -const ( - wrapHtml = "
test string

" -) - -func TestAfter(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").After("#nf6") - - assertLength(t, doc.Find("#main #nf6").Nodes, 0) - assertLength(t, doc.Find("#foot #nf6").Nodes, 0) - assertLength(t, doc.Find("#main + #nf6").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestAfterMany(t *testing.T) { - doc := Doc2Clone() - doc.Find(".one").After("#nf6") - - assertLength(t, doc.Find("#foot #nf6").Nodes, 1) - assertLength(t, doc.Find("#main #nf6").Nodes, 1) - assertLength(t, doc.Find(".one + #nf6").Nodes, 2) - printSel(t, doc.Selection) -} - -func TestAfterWithRemoved(t *testing.T) { - doc := Doc2Clone() - s := doc.Find("#main").Remove() - s.After("#nf6") - - assertLength(t, s.Find("#nf6").Nodes, 0) - assertLength(t, doc.Find("#nf6").Nodes, 0) - printSel(t, doc.Selection) -} - -func TestAfterSelection(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").AfterSelection(doc.Find("#nf1, #nf2")) - - assertLength(t, doc.Find("#main #nf1, #main #nf2").Nodes, 0) - assertLength(t, doc.Find("#foot #nf1, #foot #nf2").Nodes, 0) - assertLength(t, doc.Find("#main + #nf1, #nf1 + #nf2").Nodes, 2) - printSel(t, doc.Selection) -} - -func TestAfterHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").AfterHtml("new node") - - assertLength(t, doc.Find("#main + strong").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestAppend(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").Append("#nf6") - - assertLength(t, doc.Find("#foot #nf6").Nodes, 0) - assertLength(t, doc.Find("#main #nf6").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestAppendBody(t *testing.T) { - doc := Doc2Clone() - doc.Find("body").Append("#nf6") - - assertLength(t, doc.Find("#foot #nf6").Nodes, 0) - assertLength(t, doc.Find("#main #nf6").Nodes, 0) - assertLength(t, doc.Find("body > #nf6").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestAppendSelection(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").AppendSelection(doc.Find("#nf1, #nf2")) - - assertLength(t, doc.Find("#foot #nf1").Nodes, 0) - assertLength(t, doc.Find("#foot #nf2").Nodes, 0) - assertLength(t, doc.Find("#main #nf1").Nodes, 1) - assertLength(t, doc.Find("#main #nf2").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestAppendSelectionExisting(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").AppendSelection(doc.Find("#n1, #n2")) - - assertClass(t, doc.Find("#main :nth-child(1)"), "three") - assertClass(t, doc.Find("#main :nth-child(5)"), "one") - assertClass(t, doc.Find("#main :nth-child(6)"), "two") - printSel(t, doc.Selection) -} - -func TestAppendClone(t *testing.T) { - doc := Doc2Clone() - doc.Find("#n1").AppendSelection(doc.Find("#nf1").Clone()) - - assertLength(t, doc.Find("#foot #nf1").Nodes, 1) - assertLength(t, doc.Find("#main #nf1").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestAppendHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find("div").AppendHtml("new node") - - assertLength(t, doc.Find("strong").Nodes, 14) - printSel(t, doc.Selection) -} - -func TestBefore(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").Before("#nf6") - - assertLength(t, doc.Find("#main #nf6").Nodes, 0) - assertLength(t, doc.Find("#foot #nf6").Nodes, 0) - assertLength(t, doc.Find("body > #nf6:first-child").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestBeforeWithRemoved(t *testing.T) { - doc := Doc2Clone() - s := doc.Find("#main").Remove() - s.Before("#nf6") - - assertLength(t, s.Find("#nf6").Nodes, 0) - assertLength(t, doc.Find("#nf6").Nodes, 0) - printSel(t, doc.Selection) -} - -func TestBeforeSelection(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").BeforeSelection(doc.Find("#nf1, #nf2")) - - assertLength(t, doc.Find("#main #nf1, #main #nf2").Nodes, 0) - assertLength(t, doc.Find("#foot #nf1, #foot #nf2").Nodes, 0) - assertLength(t, doc.Find("body > #nf1:first-child, #nf1 + #nf2").Nodes, 2) - printSel(t, doc.Selection) -} - -func TestBeforeHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").BeforeHtml("new node") - - assertLength(t, doc.Find("body > strong:first-child").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestEmpty(t *testing.T) { - doc := Doc2Clone() - s := doc.Find("#main").Empty() - - assertLength(t, doc.Find("#main").Children().Nodes, 0) - assertLength(t, s.Filter("div").Nodes, 6) - printSel(t, doc.Selection) -} - -func TestPrepend(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").Prepend("#nf6") - - assertLength(t, doc.Find("#foot #nf6").Nodes, 0) - assertLength(t, doc.Find("#main #nf6:first-child").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestPrependBody(t *testing.T) { - doc := Doc2Clone() - doc.Find("body").Prepend("#nf6") - - assertLength(t, doc.Find("#foot #nf6").Nodes, 0) - assertLength(t, doc.Find("#main #nf6").Nodes, 0) - assertLength(t, doc.Find("body > #nf6:first-child").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestPrependSelection(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").PrependSelection(doc.Find("#nf1, #nf2")) - - assertLength(t, doc.Find("#foot #nf1").Nodes, 0) - assertLength(t, doc.Find("#foot #nf2").Nodes, 0) - assertLength(t, doc.Find("#main #nf1:first-child").Nodes, 1) - assertLength(t, doc.Find("#main #nf2:nth-child(2)").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestPrependSelectionExisting(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main").PrependSelection(doc.Find("#n5, #n6")) - - assertClass(t, doc.Find("#main :nth-child(1)"), "five") - assertClass(t, doc.Find("#main :nth-child(2)"), "six") - assertClass(t, doc.Find("#main :nth-child(5)"), "three") - assertClass(t, doc.Find("#main :nth-child(6)"), "four") - printSel(t, doc.Selection) -} - -func TestPrependClone(t *testing.T) { - doc := Doc2Clone() - doc.Find("#n1").PrependSelection(doc.Find("#nf1").Clone()) - - assertLength(t, doc.Find("#foot #nf1:first-child").Nodes, 1) - assertLength(t, doc.Find("#main #nf1:first-child").Nodes, 1) - printSel(t, doc.Selection) -} - -func TestPrependHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find("div").PrependHtml("new node") - - assertLength(t, doc.Find("strong:first-child").Nodes, 14) - printSel(t, doc.Selection) -} - -func TestRemove(t *testing.T) { - doc := Doc2Clone() - doc.Find("#nf1").Remove() - - assertLength(t, doc.Find("#foot #nf1").Nodes, 0) - printSel(t, doc.Selection) -} - -func TestRemoveAll(t *testing.T) { - doc := Doc2Clone() - doc.Find("*").Remove() - - assertLength(t, doc.Find("*").Nodes, 0) - printSel(t, doc.Selection) -} - -func TestRemoveRoot(t *testing.T) { - doc := Doc2Clone() - doc.Find("html").Remove() - - assertLength(t, doc.Find("html").Nodes, 0) - printSel(t, doc.Selection) -} - -func TestRemoveFiltered(t *testing.T) { - doc := Doc2Clone() - nf6 := doc.Find("#nf6") - s := doc.Find("div").RemoveFiltered("#nf6") - - assertLength(t, doc.Find("#nf6").Nodes, 0) - assertLength(t, s.Nodes, 1) - if nf6.Nodes[0] != s.Nodes[0] { - t.Error("Removed node does not match original") - } - printSel(t, doc.Selection) -} - -func TestReplaceWith(t *testing.T) { - doc := Doc2Clone() - - doc.Find("#nf6").ReplaceWith("#main") - assertLength(t, doc.Find("#foot #main:last-child").Nodes, 1) - printSel(t, doc.Selection) - - doc.Find("#foot").ReplaceWith("#main") - assertLength(t, doc.Find("#foot").Nodes, 0) - assertLength(t, doc.Find("#main").Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestReplaceWithHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find("#main, #foot").ReplaceWithHtml("
") - - assertLength(t, doc.Find("#replace").Nodes, 2) - - printSel(t, doc.Selection) -} - -func TestReplaceWithSelection(t *testing.T) { - doc := Doc2Clone() - sel := doc.Find("#nf6").ReplaceWithSelection(doc.Find("#nf5")) - - assertSelectionIs(t, sel, "#nf6") - assertLength(t, doc.Find("#nf6").Nodes, 0) - assertLength(t, doc.Find("#nf5").Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestUnwrap(t *testing.T) { - doc := Doc2Clone() - - doc.Find("#nf5").Unwrap() - assertLength(t, doc.Find("#foot").Nodes, 0) - assertLength(t, doc.Find("body > #nf1").Nodes, 1) - assertLength(t, doc.Find("body > #nf5").Nodes, 1) - - printSel(t, doc.Selection) - - doc = Doc2Clone() - - doc.Find("#nf5, #n1").Unwrap() - assertLength(t, doc.Find("#foot").Nodes, 0) - assertLength(t, doc.Find("#main").Nodes, 0) - assertLength(t, doc.Find("body > #n1").Nodes, 1) - assertLength(t, doc.Find("body > #nf5").Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestUnwrapBody(t *testing.T) { - doc := Doc2Clone() - - doc.Find("#main").Unwrap() - assertLength(t, doc.Find("body").Nodes, 1) - assertLength(t, doc.Find("body > #main").Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestUnwrapHead(t *testing.T) { - doc := Doc2Clone() - - doc.Find("title").Unwrap() - assertLength(t, doc.Find("head").Nodes, 0) - assertLength(t, doc.Find("head > title").Nodes, 0) - assertLength(t, doc.Find("title").Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestUnwrapHtml(t *testing.T) { - doc := Doc2Clone() - - doc.Find("head").Unwrap() - assertLength(t, doc.Find("html").Nodes, 0) - assertLength(t, doc.Find("html head").Nodes, 0) - assertLength(t, doc.Find("head").Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestWrap(t *testing.T) { - doc := Doc2Clone() - doc.Find("#nf1").Wrap("#nf2") - nf1 := doc.Find("#foot #nf2 #nf1") - assertLength(t, nf1.Nodes, 1) - - nf2 := doc.Find("#nf2") - assertLength(t, nf2.Nodes, 2) - - printSel(t, doc.Selection) -} - -func TestWrapEmpty(t *testing.T) { - doc := Doc2Clone() - doc.Find("#nf1").Wrap("#doesnt-exist") - - origHtml, _ := Doc2().Html() - newHtml, _ := doc.Html() - - if origHtml != newHtml { - t.Error("Expected the two documents to be identical.") - } - - printSel(t, doc.Selection) -} - -func TestWrapHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find(".odd").WrapHtml(wrapHtml) - nf2 := doc.Find("#ins #nf2") - assertLength(t, nf2.Nodes, 1) - printSel(t, doc.Selection) -} - -func TestWrapSelection(t *testing.T) { - doc := Doc2Clone() - doc.Find("#nf1").WrapSelection(doc.Find("#nf2")) - nf1 := doc.Find("#foot #nf2 #nf1") - assertLength(t, nf1.Nodes, 1) - - nf2 := doc.Find("#nf2") - assertLength(t, nf2.Nodes, 2) - - printSel(t, doc.Selection) -} - -func TestWrapAll(t *testing.T) { - doc := Doc2Clone() - doc.Find(".odd").WrapAll("#nf1") - nf1 := doc.Find("#main #nf1") - assertLength(t, nf1.Nodes, 1) - - sel := nf1.Find("#n2 ~ #n4 ~ #n6 ~ #nf2 ~ #nf4 ~ #nf6") - assertLength(t, sel.Nodes, 1) - - printSel(t, doc.Selection) -} - -func TestWrapAllHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find(".odd").WrapAllHtml(wrapHtml) - nf1 := doc.Find("#main div#ins div p em b #n2 ~ #n4 ~ #n6 ~ #nf2 ~ #nf4 ~ #nf6") - assertLength(t, nf1.Nodes, 1) - printSel(t, doc.Selection) -} - -func TestWrapInnerNoContent(t *testing.T) { - doc := Doc2Clone() - doc.Find(".one").WrapInner(".two") - - twos := doc.Find(".two") - assertLength(t, twos.Nodes, 4) - assertLength(t, doc.Find(".one .two").Nodes, 2) - - printSel(t, doc.Selection) -} - -func TestWrapInnerWithContent(t *testing.T) { - doc := Doc3Clone() - doc.Find(".one").WrapInner(".two") - - twos := doc.Find(".two") - assertLength(t, twos.Nodes, 4) - assertLength(t, doc.Find(".one .two").Nodes, 2) - - printSel(t, doc.Selection) -} - -func TestWrapInnerNoWrapper(t *testing.T) { - doc := Doc2Clone() - doc.Find(".one").WrapInner(".not-exist") - - twos := doc.Find(".two") - assertLength(t, twos.Nodes, 2) - assertLength(t, doc.Find(".one").Nodes, 2) - assertLength(t, doc.Find(".one .two").Nodes, 0) - - printSel(t, doc.Selection) -} - -func TestWrapInnerHtml(t *testing.T) { - doc := Doc2Clone() - doc.Find("#foot").WrapInnerHtml(wrapHtml) - - foot := doc.Find("#foot div#ins div p em b #nf1 ~ #nf2 ~ #nf3") - assertLength(t, foot.Nodes, 1) - - printSel(t, doc.Selection) -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/property_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/property_test.go deleted file mode 100644 index 1095dcc8..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/property_test.go +++ /dev/null @@ -1,252 +0,0 @@ -package goquery - -import ( - "regexp" - "strings" - "testing" -) - -func TestAttrExists(t *testing.T) { - if val, ok := Doc().Find("a").Attr("href"); !ok { - t.Error("Expected a value for the href attribute.") - } else { - t.Logf("Href of first anchor: %v.", val) - } -} - -func TestAttrOr(t *testing.T) { - if val := Doc().Find("a").AttrOr("fake-attribute", "alternative"); val != "alternative" { - t.Error("Expected an alternative value for 'fake-attribute' attribute.") - } else { - t.Logf("Value returned for not existing attribute: %v.", val) - } - if val := Doc().Find("zz").AttrOr("fake-attribute", "alternative"); val != "alternative" { - t.Error("Expected an alternative value for 'fake-attribute' on an empty selection.") - } else { - t.Logf("Value returned for empty selection: %v.", val) - } -} - -func TestAttrNotExist(t *testing.T) { - if val, ok := Doc().Find("div.row-fluid").Attr("href"); ok { - t.Errorf("Expected no value for the href attribute, got %v.", val) - } -} - -func TestRemoveAttr(t *testing.T) { - sel := Doc2Clone().Find("div") - - sel.RemoveAttr("id") - - _, ok := sel.Attr("id") - if ok { - t.Error("Expected there to be no id attributes set") - } -} - -func TestSetAttr(t *testing.T) { - sel := Doc2Clone().Find("#main") - - sel.SetAttr("id", "not-main") - - val, ok := sel.Attr("id") - if !ok { - t.Error("Expected an id attribute on main") - } - - if val != "not-main" { - t.Errorf("Expected an attribute id to be not-main, got %s", val) - } -} - -func TestSetAttr2(t *testing.T) { - sel := Doc2Clone().Find("#main") - - sel.SetAttr("foo", "bar") - - val, ok := sel.Attr("foo") - if !ok { - t.Error("Expected an 'foo' attribute on main") - } - - if val != "bar" { - t.Errorf("Expected an attribute 'foo' to be 'bar', got '%s'", val) - } -} - -func TestText(t *testing.T) { - txt := Doc().Find("h1").Text() - if strings.Trim(txt, " \n\r\t") != "Provok.in" { - t.Errorf("Expected text to be Provok.in, found %s.", txt) - } -} - -func TestText2(t *testing.T) { - txt := Doc().Find(".hero-unit .container-fluid .row-fluid:nth-child(1)").Text() - if ok, e := regexp.MatchString(`^\s+Provok\.in\s+Prove your point.\s+$`, txt); !ok || e != nil { - t.Errorf("Expected text to be Provok.in Prove your point., found %s.", txt) - if e != nil { - t.Logf("Error: %s.", e.Error()) - } - } -} - -func TestText3(t *testing.T) { - txt := Doc().Find(".pvk-gutter").First().Text() - // There's an   character in there... - if ok, e := regexp.MatchString(`^[\s\x{00A0}]+$`, txt); !ok || e != nil { - t.Errorf("Expected spaces, found <%v>.", txt) - if e != nil { - t.Logf("Error: %s.", e.Error()) - } - } -} - -func TestHtml(t *testing.T) { - txt, e := Doc().Find("h1").Html() - if e != nil { - t.Errorf("Error: %s.", e) - } - - if ok, e := regexp.MatchString(`^\s*Provok\.in\s*$`, txt); !ok || e != nil { - t.Errorf("Unexpected HTML content, found %s.", txt) - if e != nil { - t.Logf("Error: %s.", e.Error()) - } - } -} - -func TestNbsp(t *testing.T) { - src := `

Some text

` - d, err := NewDocumentFromReader(strings.NewReader(src)) - if err != nil { - t.Fatal(err) - } - txt := d.Find("p").Text() - ix := strings.Index(txt, "\u00a0") - if ix != 4 { - t.Errorf("Text: expected a non-breaking space at index 4, got %d", ix) - } - - h, err := d.Find("p").Html() - if err != nil { - t.Fatal(err) - } - ix = strings.Index(h, "\u00a0") - if ix != 4 { - t.Errorf("Html: expected a non-breaking space at index 4, got %d", ix) - } -} - -func TestAddClass(t *testing.T) { - sel := Doc2Clone().Find("#main") - sel.AddClass("main main main") - - // Make sure that class was only added once - if a, ok := sel.Attr("class"); !ok || a != "main" { - t.Error("Expected #main to have class main") - } -} - -func TestAddClassSimilar(t *testing.T) { - sel := Doc2Clone().Find("#nf5") - sel.AddClass("odd") - - assertClass(t, sel, "odd") - assertClass(t, sel, "odder") - printSel(t, sel.Parent()) -} - -func TestAddEmptyClass(t *testing.T) { - sel := Doc2Clone().Find("#main") - sel.AddClass("") - - // Make sure that class was only added once - if a, ok := sel.Attr("class"); ok { - t.Errorf("Expected #main to not to have a class, have: %s", a) - } -} - -func TestAddClasses(t *testing.T) { - sel := Doc2Clone().Find("#main") - sel.AddClass("a b") - - // Make sure that class was only added once - if !sel.HasClass("a") || !sel.HasClass("b") { - t.Errorf("#main does not have classes") - } -} - -func TestHasClass(t *testing.T) { - sel := Doc().Find("div") - if !sel.HasClass("span12") { - t.Error("Expected at least one div to have class span12.") - } -} - -func TestHasClassNone(t *testing.T) { - sel := Doc().Find("h2") - if sel.HasClass("toto") { - t.Error("Expected h1 to have no class.") - } -} - -func TestHasClassNotFirst(t *testing.T) { - sel := Doc().Find(".alert") - if !sel.HasClass("alert-error") { - t.Error("Expected .alert to also have class .alert-error.") - } -} - -func TestRemoveClass(t *testing.T) { - sel := Doc2Clone().Find("#nf1") - sel.RemoveClass("one row") - - if !sel.HasClass("even") || sel.HasClass("one") || sel.HasClass("row") { - classes, _ := sel.Attr("class") - t.Error("Expected #nf1 to have class even, has ", classes) - } -} - -func TestRemoveClassSimilar(t *testing.T) { - sel := Doc2Clone().Find("#nf5, #nf6") - assertLength(t, sel.Nodes, 2) - - sel.RemoveClass("odd") - assertClass(t, sel.Eq(0), "odder") - printSel(t, sel) -} - -func TestRemoveAllClasses(t *testing.T) { - sel := Doc2Clone().Find("#nf1") - sel.RemoveClass() - - if a, ok := sel.Attr("class"); ok { - t.Error("All classes were not removed, has ", a) - } - - sel = Doc2Clone().Find("#main") - sel.RemoveClass() - if a, ok := sel.Attr("class"); ok { - t.Error("All classes were not removed, has ", a) - } -} - -func TestToggleClass(t *testing.T) { - sel := Doc2Clone().Find("#nf1") - - sel.ToggleClass("one") - if sel.HasClass("one") { - t.Error("Expected #nf1 to not have class one") - } - - sel.ToggleClass("one") - if !sel.HasClass("one") { - t.Error("Expected #nf1 to have class one") - } - - sel.ToggleClass("one even row") - if a, ok := sel.Attr("class"); ok { - t.Errorf("Expected #nf1 to have no classes, have %q", a) - } -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/query_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/query_test.go deleted file mode 100644 index 2f40f424..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/query_test.go +++ /dev/null @@ -1,96 +0,0 @@ -package goquery - -import ( - "testing" -) - -func TestIs(t *testing.T) { - sel := Doc().Find(".footer p:nth-child(1)") - if !sel.Is("p") { - t.Error("Expected .footer p:nth-child(1) to be p.") - } -} - -func TestIsPositional(t *testing.T) { - sel := Doc().Find(".footer p:nth-child(2)") - if !sel.Is("p:nth-child(2)") { - t.Error("Expected .footer p:nth-child(2) to be p:nth-child(2).") - } -} - -func TestIsPositionalNot(t *testing.T) { - sel := Doc().Find(".footer p:nth-child(1)") - if sel.Is("p:nth-child(2)") { - t.Error("Expected .footer p:nth-child(1) NOT to be p:nth-child(2).") - } -} - -func TestIsFunction(t *testing.T) { - ok := Doc().Find("div").IsFunction(func(i int, s *Selection) bool { - return s.HasClass("container-fluid") - }) - - if !ok { - t.Error("Expected some div to have a container-fluid class.") - } -} - -func TestIsFunctionRollback(t *testing.T) { - ok := Doc().Find("div").IsFunction(func(i int, s *Selection) bool { - return s.HasClass("container-fluid") - }) - - if !ok { - t.Error("Expected some div to have a container-fluid class.") - } -} - -func TestIsSelection(t *testing.T) { - sel := Doc().Find("div") - sel2 := Doc().Find(".pvk-gutter") - - if !sel.IsSelection(sel2) { - t.Error("Expected some div to have a pvk-gutter class.") - } -} - -func TestIsSelectionNot(t *testing.T) { - sel := Doc().Find("div") - sel2 := Doc().Find("a") - - if sel.IsSelection(sel2) { - t.Error("Expected some div NOT to be an anchor.") - } -} - -func TestIsNodes(t *testing.T) { - sel := Doc().Find("div") - sel2 := Doc().Find(".footer") - - if !sel.IsNodes(sel2.Nodes[0]) { - t.Error("Expected some div to have a footer class.") - } -} - -func TestDocContains(t *testing.T) { - sel := Doc().Find("h1") - if !Doc().Contains(sel.Nodes[0]) { - t.Error("Expected document to contain H1 tag.") - } -} - -func TestSelContains(t *testing.T) { - sel := Doc().Find(".row-fluid") - sel2 := Doc().Find("a[ng-click]") - if !sel.Contains(sel2.Nodes[0]) { - t.Error("Expected .row-fluid to contain a[ng-click] tag.") - } -} - -func TestSelNotContains(t *testing.T) { - sel := Doc().Find("a.link") - sel2 := Doc().Find("span") - if sel.Contains(sel2.Nodes[0]) { - t.Error("Expected a.link to NOT contain span tag.") - } -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/gotesting.html b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/gotesting.html deleted file mode 100644 index ba5348fd..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/gotesting.html +++ /dev/null @@ -1,855 +0,0 @@ - - - - - - testing - The Go Programming Language - - - - - - - - - - -
- -
- - -
-

Package testing

- - - - - - - - - - -
-
-
import "testing"
-
-
-
Overview
-
Index
- - -
Subdirectories
- -
-
- -
- -
-

Overview ▾

-

-Package testing provides support for automated testing of Go packages. -It is intended to be used in concert with the “go test” command, which automates -execution of any function of the form -

-
func TestXxx(*testing.T)
-
-

-where Xxx can be any alphanumeric string (but the first letter must not be in -[a-z]) and serves to identify the test routine. -These TestXxx routines should be declared within the package they are testing. -

-

-Functions of the form -

-
func BenchmarkXxx(*testing.B)
-
-

-are considered benchmarks, and are executed by the "go test" command when -the -test.bench flag is provided. -

-

-A sample benchmark function looks like this: -

-
func BenchmarkHello(b *testing.B) {
-    for i := 0; i < b.N; i++ {
-        fmt.Sprintf("hello")
-    }
-}
-
-

-The benchmark package will vary b.N until the benchmark function lasts -long enough to be timed reliably. The output -

-
testing.BenchmarkHello    10000000    282 ns/op
-
-

-means that the loop ran 10000000 times at a speed of 282 ns per loop. -

-

-If a benchmark needs some expensive setup before running, the timer -may be stopped: -

-
func BenchmarkBigLen(b *testing.B) {
-    b.StopTimer()
-    big := NewBig()
-    b.StartTimer()
-    for i := 0; i < b.N; i++ {
-        big.Len()
-    }
-}
-
-

-The package also runs and verifies example code. Example functions may -include a concluding comment that begins with "Output:" and is compared with -the standard output of the function when the tests are run, as in these -examples of an example: -

-
func ExampleHello() {
-        fmt.Println("hello")
-        // Output: hello
-}
-
-func ExampleSalutations() {
-        fmt.Println("hello, and")
-        fmt.Println("goodbye")
-        // Output:
-        // hello, and
-        // goodbye
-}
-
-

-Example functions without output comments are compiled but not executed. -

-

-The naming convention to declare examples for a function F, a type T and -method M on type T are: -

-
func ExampleF() { ... }
-func ExampleT() { ... }
-func ExampleT_M() { ... }
-
-

-Multiple example functions for a type/function/method may be provided by -appending a distinct suffix to the name. The suffix must start with a -lower-case letter. -

-
func ExampleF_suffix() { ... }
-func ExampleT_suffix() { ... }
-func ExampleT_M_suffix() { ... }
-
-

-The entire test file is presented as the example when it contains a single -example function, at least one other function, type, variable, or constant -declaration, and no test or benchmark functions. -

- -
-
- - -

Index

- -
-
- - - - -
func Main(matchString func(pat, str string) (bool, error), tests []InternalTest, benchmarks []InternalBenchmark, examples []InternalExample)
- - -
func RunBenchmarks(matchString func(pat, str string) (bool, error), benchmarks []InternalBenchmark)
- - -
func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool)
- - -
func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool)
- - -
func Short() bool
- - - -
type B
- - - -
    func (c *B) Error(args ...interface{})
- - -
    func (c *B) Errorf(format string, args ...interface{})
- - -
    func (c *B) Fail()
- - -
    func (c *B) FailNow()
- - -
    func (c *B) Failed() bool
- - -
    func (c *B) Fatal(args ...interface{})
- - -
    func (c *B) Fatalf(format string, args ...interface{})
- - -
    func (c *B) Log(args ...interface{})
- - -
    func (c *B) Logf(format string, args ...interface{})
- - -
    func (b *B) ResetTimer()
- - -
    func (b *B) SetBytes(n int64)
- - -
    func (b *B) StartTimer()
- - -
    func (b *B) StopTimer()
- - - -
type BenchmarkResult
- - -
    func Benchmark(f func(b *B)) BenchmarkResult
- - - -
    func (r BenchmarkResult) NsPerOp() int64
- - -
    func (r BenchmarkResult) String() string
- - - -
type InternalBenchmark
- - - - -
type InternalExample
- - - - -
type InternalTest
- - - - -
type T
- - - -
    func (c *T) Error(args ...interface{})
- - -
    func (c *T) Errorf(format string, args ...interface{})
- - -
    func (c *T) Fail()
- - -
    func (c *T) FailNow()
- - -
    func (c *T) Failed() bool
- - -
    func (c *T) Fatal(args ...interface{})
- - -
    func (c *T) Fatalf(format string, args ...interface{})
- - -
    func (c *T) Log(args ...interface{})
- - -
    func (c *T) Logf(format string, args ...interface{})
- - -
    func (t *T) Parallel()
- - - -
- - - - -

Package files

-

- - - benchmark.go - - example.go - - testing.go - - -

- - - - - - - -

func Main

-
func Main(matchString func(pat, str string) (bool, error), tests []InternalTest, benchmarks []InternalBenchmark, examples []InternalExample)
-

-An internal function but exported because it is cross-package; part of the implementation -of the "go test" command. -

- - - - - -

func RunBenchmarks

-
func RunBenchmarks(matchString func(pat, str string) (bool, error), benchmarks []InternalBenchmark)
-

-An internal function but exported because it is cross-package; part of the implementation -of the "go test" command. -

- - - - - -

func RunExamples

-
func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool)
- - - - - -

func RunTests

-
func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool)
- - - - - -

func Short

-
func Short() bool
-

-Short reports whether the -test.short flag is set. -

- - - - - - -

type B

-
type B struct {
-    N int
-    // contains filtered or unexported fields
-}
-

-B is a type passed to Benchmark functions to manage benchmark -timing and to specify the number of iterations to run. -

- - - - - - - - - - - - -

func (*B) Error

-
func (c *B) Error(args ...interface{})
-

-Error is equivalent to Log() followed by Fail(). -

- - - - - -

func (*B) Errorf

-
func (c *B) Errorf(format string, args ...interface{})
-

-Errorf is equivalent to Logf() followed by Fail(). -

- - - - - -

func (*B) Fail

-
func (c *B) Fail()
-

-Fail marks the function as having failed but continues execution. -

- - - - - -

func (*B) FailNow

-
func (c *B) FailNow()
-

-FailNow marks the function as having failed and stops its execution. -Execution will continue at the next test or benchmark. -

- - - - - -

func (*B) Failed

-
func (c *B) Failed() bool
-

-Failed returns whether the function has failed. -

- - - - - -

func (*B) Fatal

-
func (c *B) Fatal(args ...interface{})
-

-Fatal is equivalent to Log() followed by FailNow(). -

- - - - - -

func (*B) Fatalf

-
func (c *B) Fatalf(format string, args ...interface{})
-

-Fatalf is equivalent to Logf() followed by FailNow(). -

- - - - - -

func (*B) Log

-
func (c *B) Log(args ...interface{})
-

-Log formats its arguments using default formatting, analogous to Println(), -and records the text in the error log. -

- - - - - -

func (*B) Logf

-
func (c *B) Logf(format string, args ...interface{})
-

-Logf formats its arguments according to the format, analogous to Printf(), -and records the text in the error log. -

- - - - - -

func (*B) ResetTimer

-
func (b *B) ResetTimer()
-

-ResetTimer sets the elapsed benchmark time to zero. -It does not affect whether the timer is running. -

- - - - - -

func (*B) SetBytes

-
func (b *B) SetBytes(n int64)
-

-SetBytes records the number of bytes processed in a single operation. -If this is called, the benchmark will report ns/op and MB/s. -

- - - - - -

func (*B) StartTimer

-
func (b *B) StartTimer()
-

-StartTimer starts timing a test. This function is called automatically -before a benchmark starts, but it can also used to resume timing after -a call to StopTimer. -

- - - - - -

func (*B) StopTimer

-
func (b *B) StopTimer()
-

-StopTimer stops timing a test. This can be used to pause the timer -while performing complex initialization that you don't -want to measure. -

- - - - - - - -

type BenchmarkResult

-
type BenchmarkResult struct {
-    N     int           // The number of iterations.
-    T     time.Duration // The total time taken.
-    Bytes int64         // Bytes processed in one iteration.
-}
-

-The results of a benchmark run. -

- - - - - - - - - - -

func Benchmark

-
func Benchmark(f func(b *B)) BenchmarkResult
-

-Benchmark benchmarks a single function. Useful for creating -custom benchmarks that do not use the "go test" command. -

- - - - - - -

func (BenchmarkResult) NsPerOp

-
func (r BenchmarkResult) NsPerOp() int64
- - - - - -

func (BenchmarkResult) String

-
func (r BenchmarkResult) String() string
- - - - - - - -

type InternalBenchmark

-
type InternalBenchmark struct {
-    Name string
-    F    func(b *B)
-}
-

-An internal type but exported because it is cross-package; part of the implementation -of the "go test" command. -

- - - - - - - - - - - - - - -

type InternalExample

-
type InternalExample struct {
-    Name   string
-    F      func()
-    Output string
-}
- - - - - - - - - - - - - - -

type InternalTest

-
type InternalTest struct {
-    Name string
-    F    func(*T)
-}
-

-An internal type but exported because it is cross-package; part of the implementation -of the "go test" command. -

- - - - - - - - - - - - - - -

type T

-
type T struct {
-    // contains filtered or unexported fields
-}
-

-T is a type passed to Test functions to manage test state and support formatted test logs. -Logs are accumulated during execution and dumped to standard error when done. -

- - - - - - - - - - - - -

func (*T) Error

-
func (c *T) Error(args ...interface{})
-

-Error is equivalent to Log() followed by Fail(). -

- - - - - -

func (*T) Errorf

-
func (c *T) Errorf(format string, args ...interface{})
-

-Errorf is equivalent to Logf() followed by Fail(). -

- - - - - -

func (*T) Fail

-
func (c *T) Fail()
-

-Fail marks the function as having failed but continues execution. -

- - - - - -

func (*T) FailNow

-
func (c *T) FailNow()
-

-FailNow marks the function as having failed and stops its execution. -Execution will continue at the next test or benchmark. -

- - - - - -

func (*T) Failed

-
func (c *T) Failed() bool
-

-Failed returns whether the function has failed. -

- - - - - -

func (*T) Fatal

-
func (c *T) Fatal(args ...interface{})
-

-Fatal is equivalent to Log() followed by FailNow(). -

- - - - - -

func (*T) Fatalf

-
func (c *T) Fatalf(format string, args ...interface{})
-

-Fatalf is equivalent to Logf() followed by FailNow(). -

- - - - - -

func (*T) Log

-
func (c *T) Log(args ...interface{})
-

-Log formats its arguments using default formatting, analogous to Println(), -and records the text in the error log. -

- - - - - -

func (*T) Logf

-
func (c *T) Logf(format string, args ...interface{})
-

-Logf formats its arguments according to the format, analogous to Printf(), -and records the text in the error log. -

- - - - - -

func (*T) Parallel

-
func (t *T) Parallel()
-

-Parallel signals that this test is to be run in parallel with (and only with) -other parallel tests in this CPU group. -

- - - - - -
- - - - - - - - - - - - -

Subdirectories

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name    Synopsis
..
iotest    Package iotest implements Readers and Writers useful mainly for testing.
quick    Package quick implements utility functions to help with black box testing.
- - - - -
- - - - - - - - diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/gowiki.html b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/gowiki.html deleted file mode 100644 index 2ed6bb71..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/gowiki.html +++ /dev/null @@ -1,1214 +0,0 @@ - - - -Go (programming language) - Wikipedia, the free encyclopedia - - - - - - - - - - - - - - - - - - - - - - -
-
- -
- - - -
- - -

Go (programming language)

- - -
- -
From Wikipedia, the free encyclopedia
- - -
  (Redirected from Golang)
- - -
- Jump to: navigation, search -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Go
Golang.png
Paradigm(s)compiled, concurrent, imperative, structured
Appeared in2009
Designed byRobert Griesemer
-Rob Pike
-Ken Thompson
DeveloperGoogle Inc.
Stable releaseversion 1.0.2[1] (14 June 2012; 2 months ago (2012-06-14))
Typing disciplinestrong, static
Major implementationsgc (8g, 6g, 5g), gccgo
Influenced byC, Limbo, Modula, Newsqueak, Oberon, Pascal,[2] Python
OSLinux, Mac OS X, FreeBSD, OpenBSD, MS Windows, Plan 9[3]
LicenseBSD-style[4] + Patent grant[5]
Usual filename extensions.go
Websitegolang.org
-

Go is a compiled, garbage-collected, concurrent programming language developed by Google Inc.[6]

-

The initial design of Go was started in September 2007 by Robert Griesemer, Rob Pike, and Ken Thompson.[2] Go was officially announced in November 2009. In May 2010, Rob Pike publicly stated that Go was being used "for real stuff" at Google.[7] Go's "gc" compiler targets the Linux, Mac OS X, FreeBSD, OpenBSD, Plan 9, and Microsoft Windows operating systems and the i386, amd64, and ARM processor architectures.[8]

- - - - -
-
-

Contents

-
- -
-

[edit] Goals

-

Go aims to provide the efficiency of a statically typed compiled language with the ease of programming of a dynamic language.[9] Other goals include:

-
    -
  • Safety: Type-safe and memory-safe.
  • -
  • Good support for concurrency and communication.
  • -
  • Efficient, latency-free garbage collection.
  • -
  • High-speed compilation.
  • -
-

[edit] Description

-

The syntax of Go is broadly similar to that of C: blocks of code are surrounded with curly braces; common control flow structures include for, switch, and if. Unlike C, line-ending semicolons are optional, variable declarations are written differently and are usually optional, type conversions must be made explicit, and new go and select control keywords have been introduced to support concurrent programming. New built-in types include maps, Unicode strings, array slices, and channels for inter-thread communication.

-

Go is designed for exceptionally fast compiling times, even on modest hardware.[10] The language requires garbage collection. Certain concurrency-related structural conventions of Go (channels and alternative channel inputs) are borrowed from Tony Hoare's CSP. Unlike previous concurrent programming languages such as occam or Limbo, Go does not provide any built-in notion of safe or verifiable concurrency.[11]

-

Of features found in C++ or Java, Go does not include type inheritance, generic programming, assertions, method overloading, or pointer arithmetic.[2] Of these, the Go authors express an openness to generic programming, explicitly argue against assertions and pointer arithmetic, while defending the choice to omit type inheritance as giving a more useful language, encouraging heavy use of interfaces instead.[2] Initially, the language did not include exception handling, but in March 2010 a mechanism known as panic/recover was implemented to handle exceptional errors while avoiding some of the problems the Go authors find with exceptions.[12][13]

-

[edit] Type system

-

Go allows a programmer to write functions that can operate on inputs of arbitrary type, provided that the type implements the functions defined by a given interface.

-

Unlike Java, the interfaces a type supports do not need to be specified at the point at which the type is defined, and Go interfaces do not participate in a type hierarchy. A Go interface is best described as a set of methods, each identified by a name and signature. A type is considered to implement an interface if all the required methods have been defined for that type. An interface can be declared to "embed" other interfaces, meaning the declared interface includes the methods defined in the other interfaces.[11]

-

Unlike Java, the in-memory representation of an object does not contain a pointer to a virtual method table. Instead a value of interface type is implemented as a pair of a pointer to the object, and a pointer to a dictionary containing implementations of the interface methods for that type.

-

Consider the following example:

-
-
-
-type Sequence []int
- 
-func (s Sequence) Len() int {
-    return len(s)
-}
- 
-type HasLength interface {
-    Len() int
-}
- 
-func Foo (o HasLength) {
-    ...
-}
-
-
-

These four definitions could have been placed in separate files, in different parts of the program. Notably, the programmer who defined the Sequence type did not need to declare that the type implemented HasLength, and the person who implemented the Len method for Sequence did not need to specify that this method was part of HasLength.

-

[edit] Name visibility

-

Visibility of structures, structure fields, variables, constants, methods, top-level types and functions outside their defining package is defined implicitly according to the capitalization of their identifier.[14]

-

[edit] Concurrency

-

Go provides goroutines, small lightweight threads; the name alludes to coroutines. Goroutines are created with the go statement from anonymous or named functions.

-

Goroutines are executed in parallel with other goroutines, including their caller. They do not necessarily run in separate threads, but a group of goroutines are multiplexed onto multiple threads — execution control is moved between them by blocking them when sending or receiving messages over channels.

-

[edit] Implementations

-

There are currently two Go compilers:

-
    -
  • 6g/8g/5g (the compilers for AMD64, x86, and ARM respectively) with their supporting tools (collectively known as "gc") based on Ken's previous work on Plan 9's C toolchain.
  • -
  • gccgo, a GCC frontend written in C++,[15] and now officially supported as of version 4.6, albeit not part of the standard binary for gcc.[16]
  • -
-

Both compilers work on Unix-like systems, and a port to Microsoft Windows of the gc compiler and runtime have been integrated in the main distribution. Most of the standard libraries also work on Windows.

-

There is also an unmaintained "tiny" runtime environment that allows Go programs to run on bare hardware.[17]

-

[edit] Examples

-

[edit] Hello world

-

The following is a Hello world program in Go:

-
-
-
-package main
- 
-import "fmt"
- 
-func main() {
-        fmt.Println("Hello, World")
-}
-
-
-

Go's automatic semicolon insertion feature requires that opening braces not be placed on their own lines, and this is thus the preferred brace style; the examples shown comply with this style.[18]

-

[edit] Echo

-

Example illustrating how to write a program like the Unix echo command in Go:[19]

-
-
-
-package main
- 
-import (
-        "os"
-        "flag"  // command line option parser
-)
- 
-var omitNewline = flag.Bool("n", false, "don't print final newline")
- 
-const (
-        Space = " "
-        Newline = "\n"
-)
- 
-func main() {
-        flag.Parse()   // Scans the arg list and sets up flags
-        var s string
-        for i := 0; i < flag.NArg(); i++ {
-                if i > 0 {
-                        s += Space
-                }
-                s += flag.Arg(i)
-        }
-        if !*omitNewline {
-                s += Newline
-        }
-        os.Stdout.WriteString(s)
-}
-
-
-

[edit] Reception

-

Go's initial release led to much discussion.

-

Michele Simionato wrote in an article for artima.com:[20]

-
-
Here I just wanted to point out the design choices about interfaces and inheritance. Such ideas are not new and it is a shame that no popular language has followed such particular route in the design space. I hope Go will become popular; if not, I hope such ideas will finally enter in a popular language, we are already 10 or 20 years too late :-(
-
-

Dave Astels at Engine Yard wrote:[21]

-
-
Go is extremely easy to dive into. There are a minimal number of fundamental language concepts and the syntax is clean and designed to be clear and unambiguous. Go is still experimental and still a little rough around the edges.
-
-

Ars Technica interviewed Rob Pike, one of the authors of Go, and asked why a new language was needed. He replied that:[22]

-
-
It wasn't enough to just add features to existing programming languages, because sometimes you can get more in the long run by taking things away. They wanted to start from scratch and rethink everything. ... [But they did not want] to deviate too much from what developers already knew because they wanted to avoid alienating Go's target audience.
-
-

Go was in 15th place on the TIOBE Programming Community Index of programming language popularity in its first year, 2009,[citation needed] surpassing established languages like Pascal. As of March 2012, it ranked 66th in the index.[23]

-

Bruce Eckel stated:[24]

-
-
The complexity of C++ (even more complexity has been added in the new C++), and the resulting impact on productivity, is no longer justified. All the hoops that the C++ programmer had to jump through in order to use a C-compatible language make no sense anymore -- they're just a waste of time and effort. Now, Go makes much more sense for the class of problems that C++ was originally intended to solve.
-
-

[edit] Naming dispute

-

On the day of the general release of the language, Francis McCabe, developer of the Go! programming language (note the exclamation point), requested a name change of Google's language to prevent confusion with his language.[25] The issue was closed by a Google developer on 12 October 2010 with the custom status "Unfortunate", with a comment that "there are many computing products and services named Go. In the 11 months since our release, there has been minimal confusion of the two languages."[26]

-

[edit] See also

- -

[edit] References

- -
-
    -
  1. ^ "golang-announce: go1.0.2 released". https://groups.google.com/forum/#!msg/golang-announce/9-f_fnXNDzw/MiM3tk0iyjYJ. Retrieved 14 June 2012. 
  2. -
  3. ^ a b c d "Language Design FAQ". golang.org. 16 January 2010. http://golang.org/doc/go_faq.html. Retrieved 27 February 2010. 
  4. -
  5. ^ "Go Porting Efforts". Go Language Resources. cat-v. 12 January 2010. http://go-lang.cat-v.org/os-ports. Retrieved 18 January 2010. 
  6. -
  7. ^ "Text file LICENSE". http://golang.org/LICENSE. Retrieved 27 January 2011. 
  8. -
  9. ^ "Additional IP Rights Grant". http://code.google.com/p/go/source/browse/PATENTS. Retrieved 26 July 2012. 
  10. -
  11. ^ Kincaid, Jason (10 November 2009). "Google’s Go: A New Programming Language That’s Python Meets C++". TechCrunch. http://www.techcrunch.com/2009/11/10/google-go-language/. Retrieved 18 January 2010. 
  12. -
  13. ^ Metz, Cade (20 May 2010). "Google programming Frankenstein is a Go". The Register. http://www.theregister.co.uk/2010/05/20/go_in_production_at_google/. 
  14. -
  15. ^ "Installing Go". golang.org. The Go Authors. 11 June 2010. http://golang.org/doc/install.html#tmp_33. Retrieved 11 June 2010. 
  16. -
  17. ^ Pike, Rob. "The Go Programming Language". YouTube. http://www.youtube.com/watch?v=rKnDgT73v8s&feature=related. Retrieved 1 Jul 2011. 
  18. -
  19. ^ Rob Pike (10 November 2009) (flv). The Go Programming Language (Tech talk). Google. Event occurs at 8:53. http://www.youtube.com/watch?v=rKnDgT73v8s#t=8m53. 
  20. -
  21. ^ a b "The Go Memory Model". Google. http://golang.org/doc/go_mem.html. Retrieved 5 January 2011. 
  22. -
  23. ^ Release notes, 30 March 2010
  24. -
  25. ^ "Proposal for an exception-like mechanism". golang-nuts. 25 March 2010. http://groups.google.com/group/golang-nuts/browse_thread/thread/1ce5cd050bb973e4. Retrieved 25 March 2010. 
  26. -
  27. ^ "A Tutorial for the Go Programming Language". The Go Programming Language. Google. http://golang.org/doc/go_tutorial.html. Retrieved 10 March 2010. "In Go the rule about visibility of information is simple: if a name (of a top-level type, function, method, constant or variable, or of a structure field or method) is capitalized, users of the package may see it. Otherwise, the name and hence the thing being named is visible only inside the package in which it is declared." 
  28. -
  29. ^ "FAQ: Implementation". golang.org. 16 January 2010. http://golang.org/doc/go_faq.html#Implementation. Retrieved 18 January 2010. 
  30. -
  31. ^ "Installing GCC: Configuration". http://gcc.gnu.org/install/configure.html. Retrieved 3 December 2011. "Ada, Go and Objective-C++ are not default languages" 
  32. -
  33. ^ Gerrand, Andrew (1 February 2011). "release.2011-02-01". golang-nuts. Google. http://groups.google.com/group/golang-nuts/browse_thread/thread/b877e34723b543a7. Retrieved 5 February 2011. 
  34. -
  35. ^ "A Tutorial for the Go Programming Language". The Go Programming Language. Google. http://golang.org/doc/go_tutorial.html. Retrieved 10 March 2010. "The one surprise is that it's important to put the opening brace of a construct such as an if statement on the same line as the if; however, if you don't, there are situations that may not compile or may give the wrong result. The language forces the brace style to some extent." 
  36. -
  37. ^ "A Tutorial for the Go Programming Language". golang.org. 16 January 2010. http://golang.org/doc/go_tutorial.html. Retrieved 18 January 2010. 
  38. -
  39. ^ Simionato, Michele (15 November 2009). "Interfaces vs Inheritance (or, watch out for Go!)". artima. http://www.artima.com/weblogs/viewpost.jsp?thread=274019. Retrieved 15 November 2009. 
  40. -
  41. ^ Astels, Dave (9 November 2009). "Ready, Set, Go!". engineyard. http://www.engineyard.com/blog/2009/ready-set-go/. Retrieved 9 November 2009. 
  42. -
  43. ^ Paul, Ryan (10 November 2009). "Go: new open source programming language from Google". Ars Technica. http://arstechnica.com/open-source/news/2009/11/go-new-open-source-programming-language-from-google.ars. Retrieved 13 November 2009. 
  44. -
  45. ^ "TIOBE Programming Community Index for March 2012". TIOBE Software. March 2012. http://es.scribd.com/doc/89569304/TIOBE-Programming-Community-Index-for-March-2012. Retrieved 28 April 2012. 
  46. -
  47. ^ Bruce Eckel (27). "Calling Go from Python via JSON-RPC". http://www.artima.com/weblogs/viewpost.jsp?thread=333589. Retrieved 29 August 2011. 
  48. -
  49. ^ Claburn, Thomas (11 November 2009). "Google 'Go' Name Brings Accusations Of Evil'". InformationWeek. http://www.informationweek.com/news/software/web_services/showArticle.jhtml?articleID=221601351. Retrieved 18 January 2010. 
  50. -
  51. ^ "Issue 9 - go - I have already used the name for *MY* programming language". Google Code. Google Inc.. http://code.google.com/p/go/issues/detail?id=9. Retrieved 12 October 2010. 
  52. -
-
-

[edit] Further reading

- -

[edit] External links

- - - - - - - - - - - - - - - - - - - - - -
- - - - - -
- - -
- -
- - -
- - -
-
Personal tools
- -
- - -
- - -
-
Namespaces
- -
- - - - -
-

-

-
Variants
- -
- - -
-
- - -
-
Views
- -
- - - - -
-
Actions
- -
- - - - - - - -
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/metalreview.html b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/metalreview.html deleted file mode 100644 index fc4a38fc..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/metalreview.html +++ /dev/null @@ -1,413 +0,0 @@ - - - - - - - - - - - - - - Metal Reviews, News, Blogs, Interviews and Community | Metal Review - - - - - - - - - - -
-
- - - -
- - - - -
-
- - - - -
-
-
- -
-
-
-
- - - - - -
-

Reviews

-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
    - -
  • -

    - Serpentine Path - Serpentine Path - Serpentine Path
    - Serpentine Path
    - -

    -
  • - -
  • -

    - Hunter - Hunter's Ground
    - No God But the Wild
    - -

    -
  • - -
  • -

    - Blut Aus Nord - 777 - Cosmosophy - Blut Aus Nord
    - 777 - Cosmosophy
    - Black -

    -
  • - -
  • -

    - Ufomammut - Oro: Opus Alter - Ufomammut
    - Oro: Opus Alter
    - Doom -

    -
  • - -
  • -

    - Resurgency - False Enlightenment - Resurgency
    - False Enlightenment
    - Death -

    -
  • - -
  • -

    - Morgoth - Cursed to Live - Morgoth
    - Cursed to Live
    - DeathLive -

    -
  • - -
  • -

    - Krallice - Years Past Matter - Krallice
    - Years Past Matter
    - Black -

    -
  • - -
  • -

    - Murder Construct - Results - Murder Construct
    - Results
    - Grindcore -

    -
  • - -
  • -

    - Grave - Endless Procession of Souls - Grave
    - Endless Procession of Souls
    - Death -

    -
  • - -
  • -

    - Master - The New Elite - Master
    - The New Elite
    - Death -

    -
  • - -
-
-
-
-
-
-
- Serpentine Path - Serpentine PathHunter's Ground - No God But the WildBlut Aus Nord - 777 - CosmosophyUfomammut - Oro: Opus AlterResurgency - False EnlightenmentMorgoth - Cursed to LiveKrallice - Years Past MatterMurder Construct - ResultsGrave - Endless Procession of SoulsMaster - The New Elite -
-
-
-
- - - - - - - -
-
-
-
-
- - - - -
Goto Next Group
-
Goto Previous Group
- - - - - -
- -
- - - - - - - -
-

Lashes

-
NEW Katatonia - Dead End Kings
45 minutes ago by Chaosjunkie
-
Katatonia - Dead End Kings
1 hour ago by Harry Dick Rotten
-
Resurgency - False Enlightenment
3 hours ago by Anonymous
-
Witchcraft - The Alchemist
5 hours ago by Luke_22
-
Katatonia - Dead End Kings
9 hours ago by chaosjunkie
-
Katatonia - Dead End Kings
10 hours ago by Compeller
-
Manetheren - Time
10 hours ago by xpmule
-
Ufomammut - Oro: Opus Alter
16 hours ago by Anonymous
-
Ufomammut - Oro: Opus Alter
17 hours ago by Harry Dick Rotten
-
Katatonia - Dead End Kings
yesterday by Chaosjunkie
-
Katatonia - Dead End Kings
yesterday by Anonymous
-
Katatonia - Dead End Kings
yesterday by Anonymous
-
Katatonia - Dead End Kings
yesterday by Anonymous
-
Katatonia - Dead End Kings
yesterday by frantic
-
Blut Aus Nord - 777 - Cosmosophy
yesterday by Dimensional Bleedthrough
- -
- -
-
-
- - - -
-
- - - - - - - - - - - diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/page.html b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/page.html deleted file mode 100644 index 92ec74ee..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/page.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - Provok.in - - - - - - - - - -
-
-
-   -
-
-
-
-
-
-

- Provok.in -

-

- Prove your point. -

-
-
-
-
- Beta Version. Things may change. Or disappear. Or fail miserably. If it's the latter, please file an issue. -
-
- -
- Welcome, {{getUserName()}} ( logout ) -
-
-
-
-
-   -
-
-
-
-   -
-
-
-
-
-
- × -

- {{ title }} -

-

- {{ message }} -

-
-
-
-
-
-
-
-
-
-
-   -
-
-
-
-   -
-
- -
-
-   -
-
-
- - \ No newline at end of file diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/page2.html b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/page2.html deleted file mode 100644 index 4c2f92f4..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/page2.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - Tests for siblings - - -
-
-
-
-
-
-
-
- - - diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/page3.html b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/page3.html deleted file mode 100644 index 17e86241..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/testdata/page3.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - Tests for siblings - - -
-
hello
-
-
-
-
-
-
- - - diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/traversal_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/traversal_test.go deleted file mode 100644 index 00fb5cd5..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/traversal_test.go +++ /dev/null @@ -1,697 +0,0 @@ -package goquery - -import ( - "strings" - "testing" -) - -func TestFind(t *testing.T) { - sel := Doc().Find("div.row-fluid") - assertLength(t, sel.Nodes, 9) -} - -func TestFindRollback(t *testing.T) { - sel := Doc().Find("div.row-fluid") - sel2 := sel.Find("a").End() - assertEqual(t, sel, sel2) -} - -func TestFindNotSelf(t *testing.T) { - sel := Doc().Find("h1").Find("h1") - assertLength(t, sel.Nodes, 0) -} - -func TestFindInvalidSelector(t *testing.T) { - defer assertPanic(t) - Doc().Find(":+ ^") -} - -func TestChainedFind(t *testing.T) { - sel := Doc().Find("div.hero-unit").Find(".row-fluid") - assertLength(t, sel.Nodes, 4) -} - -func TestChildren(t *testing.T) { - sel := Doc().Find(".pvk-content").Children() - assertLength(t, sel.Nodes, 5) -} - -func TestChildrenRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Children().End() - assertEqual(t, sel, sel2) -} - -func TestContents(t *testing.T) { - sel := Doc().Find(".pvk-content").Contents() - assertLength(t, sel.Nodes, 13) -} - -func TestContentsRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.Contents().End() - assertEqual(t, sel, sel2) -} - -func TestChildrenFiltered(t *testing.T) { - sel := Doc().Find(".pvk-content").ChildrenFiltered(".hero-unit") - assertLength(t, sel.Nodes, 1) -} - -func TestChildrenFilteredRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.ChildrenFiltered(".hero-unit").End() - assertEqual(t, sel, sel2) -} - -func TestContentsFiltered(t *testing.T) { - sel := Doc().Find(".pvk-content").ContentsFiltered(".hero-unit") - assertLength(t, sel.Nodes, 1) -} - -func TestContentsFilteredRollback(t *testing.T) { - sel := Doc().Find(".pvk-content") - sel2 := sel.ContentsFiltered(".hero-unit").End() - assertEqual(t, sel, sel2) -} - -func TestChildrenFilteredNone(t *testing.T) { - sel := Doc().Find(".pvk-content").ChildrenFiltered("a.btn") - assertLength(t, sel.Nodes, 0) -} - -func TestParent(t *testing.T) { - sel := Doc().Find(".container-fluid").Parent() - assertLength(t, sel.Nodes, 3) -} - -func TestParentRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.Parent().End() - assertEqual(t, sel, sel2) -} - -func TestParentBody(t *testing.T) { - sel := Doc().Find("body").Parent() - assertLength(t, sel.Nodes, 1) -} - -func TestParentFiltered(t *testing.T) { - sel := Doc().Find(".container-fluid").ParentFiltered(".hero-unit") - assertLength(t, sel.Nodes, 1) - assertClass(t, sel, "hero-unit") -} - -func TestParentFilteredRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ParentFiltered(".hero-unit").End() - assertEqual(t, sel, sel2) -} - -func TestParents(t *testing.T) { - sel := Doc().Find(".container-fluid").Parents() - assertLength(t, sel.Nodes, 8) -} - -func TestParentsOrder(t *testing.T) { - sel := Doc().Find("#cf2").Parents() - assertLength(t, sel.Nodes, 6) - assertSelectionIs(t, sel, ".hero-unit", ".pvk-content", "div.row-fluid", "#cf1", "body", "html") -} - -func TestParentsRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.Parents().End() - assertEqual(t, sel, sel2) -} - -func TestParentsFiltered(t *testing.T) { - sel := Doc().Find(".container-fluid").ParentsFiltered("body") - assertLength(t, sel.Nodes, 1) -} - -func TestParentsFilteredRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ParentsFiltered("body").End() - assertEqual(t, sel, sel2) -} - -func TestParentsUntil(t *testing.T) { - sel := Doc().Find(".container-fluid").ParentsUntil("body") - assertLength(t, sel.Nodes, 6) -} - -func TestParentsUntilRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ParentsUntil("body").End() - assertEqual(t, sel, sel2) -} - -func TestParentsUntilSelection(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".pvk-content") - sel = sel.ParentsUntilSelection(sel2) - assertLength(t, sel.Nodes, 3) -} - -func TestParentsUntilSelectionRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".pvk-content") - sel2 = sel.ParentsUntilSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestParentsUntilNodes(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".pvk-content, .hero-unit") - sel = sel.ParentsUntilNodes(sel2.Nodes...) - assertLength(t, sel.Nodes, 2) -} - -func TestParentsUntilNodesRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".pvk-content, .hero-unit") - sel2 = sel.ParentsUntilNodes(sel2.Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestParentsFilteredUntil(t *testing.T) { - sel := Doc().Find(".container-fluid").ParentsFilteredUntil(".pvk-content", "body") - assertLength(t, sel.Nodes, 2) -} - -func TestParentsFilteredUntilRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ParentsFilteredUntil(".pvk-content", "body").End() - assertEqual(t, sel, sel2) -} - -func TestParentsFilteredUntilSelection(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".row-fluid") - sel = sel.ParentsFilteredUntilSelection("div", sel2) - assertLength(t, sel.Nodes, 3) -} - -func TestParentsFilteredUntilSelectionRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".row-fluid") - sel2 = sel.ParentsFilteredUntilSelection("div", sel2).End() - assertEqual(t, sel, sel2) -} - -func TestParentsFilteredUntilNodes(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".row-fluid") - sel = sel.ParentsFilteredUntilNodes("body", sel2.Nodes...) - assertLength(t, sel.Nodes, 1) -} - -func TestParentsFilteredUntilNodesRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := Doc().Find(".row-fluid") - sel2 = sel.ParentsFilteredUntilNodes("body", sel2.Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestSiblings(t *testing.T) { - sel := Doc().Find("h1").Siblings() - assertLength(t, sel.Nodes, 1) -} - -func TestSiblingsRollback(t *testing.T) { - sel := Doc().Find("h1") - sel2 := sel.Siblings().End() - assertEqual(t, sel, sel2) -} - -func TestSiblings2(t *testing.T) { - sel := Doc().Find(".pvk-gutter").Siblings() - assertLength(t, sel.Nodes, 9) -} - -func TestSiblings3(t *testing.T) { - sel := Doc().Find("body>.container-fluid").Siblings() - assertLength(t, sel.Nodes, 0) -} - -func TestSiblingsFiltered(t *testing.T) { - sel := Doc().Find(".pvk-gutter").SiblingsFiltered(".pvk-content") - assertLength(t, sel.Nodes, 3) -} - -func TestSiblingsFilteredRollback(t *testing.T) { - sel := Doc().Find(".pvk-gutter") - sel2 := sel.SiblingsFiltered(".pvk-content").End() - assertEqual(t, sel, sel2) -} - -func TestNext(t *testing.T) { - sel := Doc().Find("h1").Next() - assertLength(t, sel.Nodes, 1) -} - -func TestNextRollback(t *testing.T) { - sel := Doc().Find("h1") - sel2 := sel.Next().End() - assertEqual(t, sel, sel2) -} - -func TestNext2(t *testing.T) { - sel := Doc().Find(".close").Next() - assertLength(t, sel.Nodes, 1) -} - -func TestNextNone(t *testing.T) { - sel := Doc().Find("small").Next() - assertLength(t, sel.Nodes, 0) -} - -func TestNextFiltered(t *testing.T) { - sel := Doc().Find(".container-fluid").NextFiltered("div") - assertLength(t, sel.Nodes, 2) -} - -func TestNextFilteredRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.NextFiltered("div").End() - assertEqual(t, sel, sel2) -} - -func TestNextFiltered2(t *testing.T) { - sel := Doc().Find(".container-fluid").NextFiltered("[ng-view]") - assertLength(t, sel.Nodes, 1) -} - -func TestPrev(t *testing.T) { - sel := Doc().Find(".red").Prev() - assertLength(t, sel.Nodes, 1) - assertClass(t, sel, "green") -} - -func TestPrevRollback(t *testing.T) { - sel := Doc().Find(".red") - sel2 := sel.Prev().End() - assertEqual(t, sel, sel2) -} - -func TestPrev2(t *testing.T) { - sel := Doc().Find(".row-fluid").Prev() - assertLength(t, sel.Nodes, 5) -} - -func TestPrevNone(t *testing.T) { - sel := Doc().Find("h2").Prev() - assertLength(t, sel.Nodes, 0) -} - -func TestPrevFiltered(t *testing.T) { - sel := Doc().Find(".row-fluid").PrevFiltered(".row-fluid") - assertLength(t, sel.Nodes, 5) -} - -func TestPrevFilteredRollback(t *testing.T) { - sel := Doc().Find(".row-fluid") - sel2 := sel.PrevFiltered(".row-fluid").End() - assertEqual(t, sel, sel2) -} - -func TestNextAll(t *testing.T) { - sel := Doc().Find("#cf2 div:nth-child(1)").NextAll() - assertLength(t, sel.Nodes, 3) -} - -func TestNextAllRollback(t *testing.T) { - sel := Doc().Find("#cf2 div:nth-child(1)") - sel2 := sel.NextAll().End() - assertEqual(t, sel, sel2) -} - -func TestNextAll2(t *testing.T) { - sel := Doc().Find("div[ng-cloak]").NextAll() - assertLength(t, sel.Nodes, 1) -} - -func TestNextAllNone(t *testing.T) { - sel := Doc().Find(".footer").NextAll() - assertLength(t, sel.Nodes, 0) -} - -func TestNextAllFiltered(t *testing.T) { - sel := Doc().Find("#cf2 .row-fluid").NextAllFiltered("[ng-cloak]") - assertLength(t, sel.Nodes, 2) -} - -func TestNextAllFilteredRollback(t *testing.T) { - sel := Doc().Find("#cf2 .row-fluid") - sel2 := sel.NextAllFiltered("[ng-cloak]").End() - assertEqual(t, sel, sel2) -} - -func TestNextAllFiltered2(t *testing.T) { - sel := Doc().Find(".close").NextAllFiltered("h4") - assertLength(t, sel.Nodes, 1) -} - -func TestPrevAll(t *testing.T) { - sel := Doc().Find("[ng-view]").PrevAll() - assertLength(t, sel.Nodes, 2) -} - -func TestPrevAllOrder(t *testing.T) { - sel := Doc().Find("[ng-view]").PrevAll() - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#cf4", "#cf3") -} - -func TestPrevAllRollback(t *testing.T) { - sel := Doc().Find("[ng-view]") - sel2 := sel.PrevAll().End() - assertEqual(t, sel, sel2) -} - -func TestPrevAll2(t *testing.T) { - sel := Doc().Find(".pvk-gutter").PrevAll() - assertLength(t, sel.Nodes, 6) -} - -func TestPrevAllFiltered(t *testing.T) { - sel := Doc().Find(".pvk-gutter").PrevAllFiltered(".pvk-content") - assertLength(t, sel.Nodes, 3) -} - -func TestPrevAllFilteredRollback(t *testing.T) { - sel := Doc().Find(".pvk-gutter") - sel2 := sel.PrevAllFiltered(".pvk-content").End() - assertEqual(t, sel, sel2) -} - -func TestNextUntil(t *testing.T) { - sel := Doc().Find(".alert a").NextUntil("p") - assertLength(t, sel.Nodes, 1) - assertSelectionIs(t, sel, "h4") -} - -func TestNextUntil2(t *testing.T) { - sel := Doc().Find("#cf2-1").NextUntil("[ng-cloak]") - assertLength(t, sel.Nodes, 1) - assertSelectionIs(t, sel, "#cf2-2") -} - -func TestNextUntilOrder(t *testing.T) { - sel := Doc().Find("#cf2-1").NextUntil("#cf2-4") - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#cf2-2", "#cf2-3") -} - -func TestNextUntilRollback(t *testing.T) { - sel := Doc().Find("#cf2-1") - sel2 := sel.PrevUntil("#cf2-4").End() - assertEqual(t, sel, sel2) -} - -func TestNextUntilSelection(t *testing.T) { - sel := Doc2().Find("#n2") - sel2 := Doc2().Find("#n4") - sel2 = sel.NextUntilSelection(sel2) - assertLength(t, sel2.Nodes, 1) - assertSelectionIs(t, sel2, "#n3") -} - -func TestNextUntilSelectionRollback(t *testing.T) { - sel := Doc2().Find("#n2") - sel2 := Doc2().Find("#n4") - sel2 = sel.NextUntilSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestNextUntilNodes(t *testing.T) { - sel := Doc2().Find("#n2") - sel2 := Doc2().Find("#n5") - sel2 = sel.NextUntilNodes(sel2.Nodes...) - assertLength(t, sel2.Nodes, 2) - assertSelectionIs(t, sel2, "#n3", "#n4") -} - -func TestNextUntilNodesRollback(t *testing.T) { - sel := Doc2().Find("#n2") - sel2 := Doc2().Find("#n5") - sel2 = sel.NextUntilNodes(sel2.Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestPrevUntil(t *testing.T) { - sel := Doc().Find(".alert p").PrevUntil("a") - assertLength(t, sel.Nodes, 1) - assertSelectionIs(t, sel, "h4") -} - -func TestPrevUntil2(t *testing.T) { - sel := Doc().Find("[ng-cloak]").PrevUntil(":not([ng-cloak])") - assertLength(t, sel.Nodes, 1) - assertSelectionIs(t, sel, "[ng-cloak]") -} - -func TestPrevUntilOrder(t *testing.T) { - sel := Doc().Find("#cf2-4").PrevUntil("#cf2-1") - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#cf2-3", "#cf2-2") -} - -func TestPrevUntilRollback(t *testing.T) { - sel := Doc().Find("#cf2-4") - sel2 := sel.PrevUntil("#cf2-1").End() - assertEqual(t, sel, sel2) -} - -func TestPrevUntilSelection(t *testing.T) { - sel := Doc2().Find("#n4") - sel2 := Doc2().Find("#n2") - sel2 = sel.PrevUntilSelection(sel2) - assertLength(t, sel2.Nodes, 1) - assertSelectionIs(t, sel2, "#n3") -} - -func TestPrevUntilSelectionRollback(t *testing.T) { - sel := Doc2().Find("#n4") - sel2 := Doc2().Find("#n2") - sel2 = sel.PrevUntilSelection(sel2).End() - assertEqual(t, sel, sel2) -} - -func TestPrevUntilNodes(t *testing.T) { - sel := Doc2().Find("#n5") - sel2 := Doc2().Find("#n2") - sel2 = sel.PrevUntilNodes(sel2.Nodes...) - assertLength(t, sel2.Nodes, 2) - assertSelectionIs(t, sel2, "#n4", "#n3") -} - -func TestPrevUntilNodesRollback(t *testing.T) { - sel := Doc2().Find("#n5") - sel2 := Doc2().Find("#n2") - sel2 = sel.PrevUntilNodes(sel2.Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestNextFilteredUntil(t *testing.T) { - sel := Doc2().Find(".two").NextFilteredUntil(".even", ".six") - assertLength(t, sel.Nodes, 4) - assertSelectionIs(t, sel, "#n3", "#n5", "#nf3", "#nf5") -} - -func TestNextFilteredUntilRollback(t *testing.T) { - sel := Doc2().Find(".two") - sel2 := sel.NextFilteredUntil(".even", ".six").End() - assertEqual(t, sel, sel2) -} - -func TestNextFilteredUntilSelection(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".five") - sel = sel.NextFilteredUntilSelection(".even", sel2) - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#n3", "#nf3") -} - -func TestNextFilteredUntilSelectionRollback(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".five") - sel3 := sel.NextFilteredUntilSelection(".even", sel2).End() - assertEqual(t, sel, sel3) -} - -func TestNextFilteredUntilNodes(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".four") - sel = sel.NextFilteredUntilNodes(".odd", sel2.Nodes...) - assertLength(t, sel.Nodes, 4) - assertSelectionIs(t, sel, "#n2", "#n6", "#nf2", "#nf6") -} - -func TestNextFilteredUntilNodesRollback(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".four") - sel3 := sel.NextFilteredUntilNodes(".odd", sel2.Nodes...).End() - assertEqual(t, sel, sel3) -} - -func TestPrevFilteredUntil(t *testing.T) { - sel := Doc2().Find(".five").PrevFilteredUntil(".odd", ".one") - assertLength(t, sel.Nodes, 4) - assertSelectionIs(t, sel, "#n4", "#n2", "#nf4", "#nf2") -} - -func TestPrevFilteredUntilRollback(t *testing.T) { - sel := Doc2().Find(".four") - sel2 := sel.PrevFilteredUntil(".odd", ".one").End() - assertEqual(t, sel, sel2) -} - -func TestPrevFilteredUntilSelection(t *testing.T) { - sel := Doc2().Find(".odd") - sel2 := Doc2().Find(".two") - sel = sel.PrevFilteredUntilSelection(".odd", sel2) - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#n4", "#nf4") -} - -func TestPrevFilteredUntilSelectionRollback(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".five") - sel3 := sel.PrevFilteredUntilSelection(".even", sel2).End() - assertEqual(t, sel, sel3) -} - -func TestPrevFilteredUntilNodes(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".four") - sel = sel.PrevFilteredUntilNodes(".odd", sel2.Nodes...) - assertLength(t, sel.Nodes, 2) - assertSelectionIs(t, sel, "#n2", "#nf2") -} - -func TestPrevFilteredUntilNodesRollback(t *testing.T) { - sel := Doc2().Find(".even") - sel2 := Doc2().Find(".four") - sel3 := sel.PrevFilteredUntilNodes(".odd", sel2.Nodes...).End() - assertEqual(t, sel, sel3) -} - -func TestClosestItself(t *testing.T) { - sel := Doc2().Find(".three") - sel2 := sel.Closest(".row") - assertLength(t, sel2.Nodes, sel.Length()) - assertSelectionIs(t, sel2, "#n3", "#nf3") -} - -func TestClosestNoDupes(t *testing.T) { - sel := Doc().Find(".span12") - sel2 := sel.Closest(".pvk-content") - assertLength(t, sel2.Nodes, 1) - assertClass(t, sel2, "pvk-content") -} - -func TestClosestNone(t *testing.T) { - sel := Doc().Find("h4") - sel2 := sel.Closest("a") - assertLength(t, sel2.Nodes, 0) -} - -func TestClosestMany(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.Closest(".pvk-content") - assertLength(t, sel2.Nodes, 2) - assertSelectionIs(t, sel2, "#pc1", "#pc2") -} - -func TestClosestRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.Closest(".pvk-content").End() - assertEqual(t, sel, sel2) -} - -func TestClosestSelectionItself(t *testing.T) { - sel := Doc2().Find(".three") - sel2 := sel.ClosestSelection(Doc2().Find(".row")) - assertLength(t, sel2.Nodes, sel.Length()) -} - -func TestClosestSelectionNoDupes(t *testing.T) { - sel := Doc().Find(".span12") - sel2 := sel.ClosestSelection(Doc().Find(".pvk-content")) - assertLength(t, sel2.Nodes, 1) - assertClass(t, sel2, "pvk-content") -} - -func TestClosestSelectionNone(t *testing.T) { - sel := Doc().Find("h4") - sel2 := sel.ClosestSelection(Doc().Find("a")) - assertLength(t, sel2.Nodes, 0) -} - -func TestClosestSelectionMany(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ClosestSelection(Doc().Find(".pvk-content")) - assertLength(t, sel2.Nodes, 2) - assertSelectionIs(t, sel2, "#pc1", "#pc2") -} - -func TestClosestSelectionRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ClosestSelection(Doc().Find(".pvk-content")).End() - assertEqual(t, sel, sel2) -} - -func TestClosestNodesItself(t *testing.T) { - sel := Doc2().Find(".three") - sel2 := sel.ClosestNodes(Doc2().Find(".row").Nodes...) - assertLength(t, sel2.Nodes, sel.Length()) -} - -func TestClosestNodesNoDupes(t *testing.T) { - sel := Doc().Find(".span12") - sel2 := sel.ClosestNodes(Doc().Find(".pvk-content").Nodes...) - assertLength(t, sel2.Nodes, 1) - assertClass(t, sel2, "pvk-content") -} - -func TestClosestNodesNone(t *testing.T) { - sel := Doc().Find("h4") - sel2 := sel.ClosestNodes(Doc().Find("a").Nodes...) - assertLength(t, sel2.Nodes, 0) -} - -func TestClosestNodesMany(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ClosestNodes(Doc().Find(".pvk-content").Nodes...) - assertLength(t, sel2.Nodes, 2) - assertSelectionIs(t, sel2, "#pc1", "#pc2") -} - -func TestClosestNodesRollback(t *testing.T) { - sel := Doc().Find(".container-fluid") - sel2 := sel.ClosestNodes(Doc().Find(".pvk-content").Nodes...).End() - assertEqual(t, sel, sel2) -} - -func TestIssue26(t *testing.T) { - img1 := `150x150` - img2 := `150x150` - cases := []struct { - s string - l int - }{ - {s: img1 + img2, l: 2}, - {s: img1, l: 1}, - {s: img2, l: 1}, - } - for _, c := range cases { - doc, err := NewDocumentFromReader(strings.NewReader(c.s)) - if err != nil { - t.Fatal(err) - } - sel := doc.Find("img[src]") - assertLength(t, sel.Nodes, c.l) - } -} diff --git a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/type_test.go b/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/type_test.go deleted file mode 100644 index 98ee3a64..00000000 --- a/Godeps/_workspace/src/github.com/PuerkitoBio/goquery/type_test.go +++ /dev/null @@ -1,192 +0,0 @@ -package goquery - -import ( - "bytes" - "fmt" - "os" - "testing" - - "golang.org/x/net/html" -) - -// Test helper functions and members -var doc *Document -var doc2 *Document -var doc3 *Document -var docB *Document -var docW *Document - -func Doc() *Document { - if doc == nil { - doc = loadDoc("page.html") - } - return doc -} -func DocClone() *Document { - return CloneDocument(Doc()) -} -func Doc2() *Document { - if doc2 == nil { - doc2 = loadDoc("page2.html") - } - return doc2 -} -func Doc2Clone() *Document { - return CloneDocument(Doc2()) -} -func Doc3() *Document { - if doc3 == nil { - doc3 = loadDoc("page3.html") - } - return doc3 -} -func Doc3Clone() *Document { - return CloneDocument(Doc3()) -} -func DocB() *Document { - if docB == nil { - docB = loadDoc("gotesting.html") - } - return docB -} -func DocBClone() *Document { - return CloneDocument(DocB()) -} -func DocW() *Document { - if docW == nil { - docW = loadDoc("gowiki.html") - } - return docW -} -func DocWClone() *Document { - return CloneDocument(DocW()) -} - -func assertLength(t *testing.T, nodes []*html.Node, length int) { - if len(nodes) != length { - t.Errorf("Expected %d nodes, found %d.", length, len(nodes)) - for i, n := range nodes { - t.Logf("Node %d: %+v.", i, n) - } - } -} - -func assertClass(t *testing.T, sel *Selection, class string) { - if !sel.HasClass(class) { - t.Errorf("Expected node to have class %s, found %+v.", class, sel.Get(0)) - } -} - -func assertPanic(t *testing.T) { - if e := recover(); e == nil { - t.Error("Expected a panic.") - } -} - -func assertEqual(t *testing.T, s1 *Selection, s2 *Selection) { - if s1 != s2 { - t.Error("Expected selection objects to be the same.") - } -} - -func assertSelectionIs(t *testing.T, sel *Selection, is ...string) { - for i := 0; i < sel.Length(); i++ { - if !sel.Eq(i).Is(is[i]) { - t.Errorf("Expected node %d to be %s, found %+v", i, is[i], sel.Get(i)) - } - } -} - -func printSel(t *testing.T, sel *Selection) { - if testing.Verbose() { - h, err := sel.Html() - if err != nil { - t.Fatal(err) - } - t.Log(h) - } -} - -func loadDoc(page string) *Document { - var f *os.File - var e error - - if f, e = os.Open(fmt.Sprintf("./testdata/%s", page)); e != nil { - panic(e.Error()) - } - defer f.Close() - - var node *html.Node - if node, e = html.Parse(f); e != nil { - panic(e.Error()) - } - return NewDocumentFromNode(node) -} - -func TestNewDocument(t *testing.T) { - if f, e := os.Open("./testdata/page.html"); e != nil { - t.Error(e.Error()) - } else { - defer f.Close() - if node, e := html.Parse(f); e != nil { - t.Error(e.Error()) - } else { - doc = NewDocumentFromNode(node) - } - } -} - -func TestNewDocumentFromReader(t *testing.T) { - cases := []struct { - src string - err bool - sel string - cnt int - }{ - 0: { - src: ` - - -Test - -

Hi

- -`, - sel: "h1", - cnt: 1, - }, - 1: { - // Actually pretty hard to make html.Parse return an error - // based on content... - src: `>>qq>`, - }, - } - buf := bytes.NewBuffer(nil) - - for i, c := range cases { - buf.Reset() - buf.WriteString(c.src) - - d, e := NewDocumentFromReader(buf) - if (e != nil) != c.err { - if c.err { - t.Errorf("[%d] - expected error, got none", i) - } else { - t.Errorf("[%d] - expected no error, got %s", i, e) - } - } - if c.sel != "" { - s := d.Find(c.sel) - if s.Length() != c.cnt { - t.Errorf("[%d] - expected %d nodes, found %d", i, c.cnt, s.Length()) - } - } - } -} - -func TestNewDocumentFromResponseNil(t *testing.T) { - _, e := NewDocumentFromResponse(nil) - if e == nil { - t.Error("Expected error, got none") - } -} diff --git a/Godeps/_workspace/src/github.com/andybalholm/cascadia/benchmark_test.go b/Godeps/_workspace/src/github.com/andybalholm/cascadia/benchmark_test.go deleted file mode 100644 index 42bf5000..00000000 --- a/Godeps/_workspace/src/github.com/andybalholm/cascadia/benchmark_test.go +++ /dev/null @@ -1,53 +0,0 @@ -package cascadia - -import ( - "strings" - "testing" - - "golang.org/x/net/html" -) - -func MustParseHTML(doc string) *html.Node { - dom, err := html.Parse(strings.NewReader(doc)) - if err != nil { - panic(err) - } - return dom -} - -var selector = MustCompile(`div.matched`) -var doc = ` - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - -` -var dom = MustParseHTML(doc) - -func BenchmarkMatchAll(b *testing.B) { - var matches []*html.Node - for i := 0; i < b.N; i++ { - matches = selector.MatchAll(dom) - } - _ = matches -} diff --git a/Godeps/_workspace/src/github.com/andybalholm/cascadia/parser_test.go b/Godeps/_workspace/src/github.com/andybalholm/cascadia/parser_test.go deleted file mode 100644 index 47dd4a69..00000000 --- a/Godeps/_workspace/src/github.com/andybalholm/cascadia/parser_test.go +++ /dev/null @@ -1,86 +0,0 @@ -package cascadia - -import ( - "testing" -) - -var identifierTests = map[string]string{ - "x": "x", - "96": "", - "-x": "-x", - `r\e9 sumé`: "résumé", - `a\"b`: `a"b`, -} - -func TestParseIdentifier(t *testing.T) { - for source, want := range identifierTests { - p := &parser{s: source} - got, err := p.parseIdentifier() - - if err != nil { - if want == "" { - // It was supposed to be an error. - continue - } - t.Errorf("parsing %q: got error (%s), want %q", source, err, want) - continue - } - - if want == "" { - if err == nil { - t.Errorf("parsing %q: got %q, want error", source, got) - } - continue - } - - if p.i < len(source) { - t.Errorf("parsing %q: %d bytes left over", source, len(source)-p.i) - continue - } - - if got != want { - t.Errorf("parsing %q: got %q, want %q", source, got, want) - } - } -} - -var stringTests = map[string]string{ - `"x"`: "x", - `'x'`: "x", - `'x`: "", - "'x\\\r\nx'": "xx", - `"r\e9 sumé"`: "résumé", - `"a\"b"`: `a"b`, -} - -func TestParseString(t *testing.T) { - for source, want := range stringTests { - p := &parser{s: source} - got, err := p.parseString() - - if err != nil { - if want == "" { - // It was supposed to be an error. - continue - } - t.Errorf("parsing %q: got error (%s), want %q", source, err, want) - continue - } - - if want == "" { - if err == nil { - t.Errorf("parsing %q: got %q, want error", source, got) - } - continue - } - - if p.i < len(source) { - t.Errorf("parsing %q: %d bytes left over", source, len(source)-p.i) - continue - } - - if got != want { - t.Errorf("parsing %q: got %q, want %q", source, got, want) - } - } -} diff --git a/Godeps/_workspace/src/github.com/andybalholm/cascadia/selector_test.go b/Godeps/_workspace/src/github.com/andybalholm/cascadia/selector_test.go deleted file mode 100644 index 8438d384..00000000 --- a/Godeps/_workspace/src/github.com/andybalholm/cascadia/selector_test.go +++ /dev/null @@ -1,559 +0,0 @@ -package cascadia - -import ( - "strings" - "testing" - - "golang.org/x/net/html" -) - -type selectorTest struct { - HTML, selector string - results []string -} - -func nodeString(n *html.Node) string { - switch n.Type { - case html.TextNode: - return n.Data - case html.ElementNode: - return html.Token{ - Type: html.StartTagToken, - Data: n.Data, - Attr: n.Attr, - }.String() - } - return "" -} - -var selectorTests = []selectorTest{ - { - `
This address...
`, - "address", - []string{ - "
", - }, - }, - { - ``, - "*", - []string{ - "", - "", - "", - "", - }, - }, - { - `

`, - "#foo", - []string{ - `

`, - }, - }, - { - `

-#errors -Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE. -Line: 1 Col: 20 Unexpected end tag (strong) in table context caused voodoo mode. -Line: 1 Col: 20 End tag (strong) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 24 Unexpected end tag (b) in table context caused voodoo mode. -Line: 1 Col: 24 End tag (b) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 29 Unexpected end tag (em) in table context caused voodoo mode. -Line: 1 Col: 29 End tag (em) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 33 Unexpected end tag (i) in table context caused voodoo mode. -Line: 1 Col: 33 End tag (i) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 37 Unexpected end tag (u) in table context caused voodoo mode. -Line: 1 Col: 37 End tag (u) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 46 Unexpected end tag (strike) in table context caused voodoo mode. -Line: 1 Col: 46 End tag (strike) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 50 Unexpected end tag (s) in table context caused voodoo mode. -Line: 1 Col: 50 End tag (s) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 58 Unexpected end tag (blink) in table context caused voodoo mode. -Line: 1 Col: 58 Unexpected end tag (blink). Ignored. -Line: 1 Col: 63 Unexpected end tag (tt) in table context caused voodoo mode. -Line: 1 Col: 63 End tag (tt) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 69 Unexpected end tag (pre) in table context caused voodoo mode. -Line: 1 Col: 69 End tag (pre) seen too early. Expected other end tag. -Line: 1 Col: 75 Unexpected end tag (big) in table context caused voodoo mode. -Line: 1 Col: 75 End tag (big) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 83 Unexpected end tag (small) in table context caused voodoo mode. -Line: 1 Col: 83 End tag (small) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 90 Unexpected end tag (font) in table context caused voodoo mode. -Line: 1 Col: 90 End tag (font) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 99 Unexpected end tag (select) in table context caused voodoo mode. -Line: 1 Col: 99 Unexpected end tag (select). Ignored. -Line: 1 Col: 104 Unexpected end tag (h1) in table context caused voodoo mode. -Line: 1 Col: 104 End tag (h1) seen too early. Expected other end tag. -Line: 1 Col: 109 Unexpected end tag (h2) in table context caused voodoo mode. -Line: 1 Col: 109 End tag (h2) seen too early. Expected other end tag. -Line: 1 Col: 114 Unexpected end tag (h3) in table context caused voodoo mode. -Line: 1 Col: 114 End tag (h3) seen too early. Expected other end tag. -Line: 1 Col: 119 Unexpected end tag (h4) in table context caused voodoo mode. -Line: 1 Col: 119 End tag (h4) seen too early. Expected other end tag. -Line: 1 Col: 124 Unexpected end tag (h5) in table context caused voodoo mode. -Line: 1 Col: 124 End tag (h5) seen too early. Expected other end tag. -Line: 1 Col: 129 Unexpected end tag (h6) in table context caused voodoo mode. -Line: 1 Col: 129 End tag (h6) seen too early. Expected other end tag. -Line: 1 Col: 136 Unexpected end tag (body) in the table row phase. Ignored. -Line: 1 Col: 141 Unexpected end tag (br) in table context caused voodoo mode. -Line: 1 Col: 141 Unexpected end tag (br). Treated as br element. -Line: 1 Col: 145 Unexpected end tag (a) in table context caused voodoo mode. -Line: 1 Col: 145 End tag (a) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 151 Unexpected end tag (img) in table context caused voodoo mode. -Line: 1 Col: 151 This element (img) has no end tag. -Line: 1 Col: 159 Unexpected end tag (title) in table context caused voodoo mode. -Line: 1 Col: 159 Unexpected end tag (title). Ignored. -Line: 1 Col: 166 Unexpected end tag (span) in table context caused voodoo mode. -Line: 1 Col: 166 Unexpected end tag (span). Ignored. -Line: 1 Col: 174 Unexpected end tag (style) in table context caused voodoo mode. -Line: 1 Col: 174 Unexpected end tag (style). Ignored. -Line: 1 Col: 183 Unexpected end tag (script) in table context caused voodoo mode. -Line: 1 Col: 183 Unexpected end tag (script). Ignored. -Line: 1 Col: 196 Unexpected end tag (th). Ignored. -Line: 1 Col: 201 Unexpected end tag (td). Ignored. -Line: 1 Col: 206 Unexpected end tag (tr). Ignored. -Line: 1 Col: 214 This element (frame) has no end tag. -Line: 1 Col: 221 This element (area) has no end tag. -Line: 1 Col: 228 Unexpected end tag (link). Ignored. -Line: 1 Col: 236 This element (param) has no end tag. -Line: 1 Col: 241 This element (hr) has no end tag. -Line: 1 Col: 249 This element (input) has no end tag. -Line: 1 Col: 255 Unexpected end tag (col). Ignored. -Line: 1 Col: 262 Unexpected end tag (base). Ignored. -Line: 1 Col: 269 Unexpected end tag (meta). Ignored. -Line: 1 Col: 280 This element (basefont) has no end tag. -Line: 1 Col: 290 This element (bgsound) has no end tag. -Line: 1 Col: 298 This element (embed) has no end tag. -Line: 1 Col: 307 This element (spacer) has no end tag. -Line: 1 Col: 311 Unexpected end tag (p). Ignored. -Line: 1 Col: 316 End tag (dd) seen too early. Expected other end tag. -Line: 1 Col: 321 End tag (dt) seen too early. Expected other end tag. -Line: 1 Col: 331 Unexpected end tag (caption). Ignored. -Line: 1 Col: 342 Unexpected end tag (colgroup). Ignored. -Line: 1 Col: 350 Unexpected end tag (tbody). Ignored. -Line: 1 Col: 358 Unexpected end tag (tfoot). Ignored. -Line: 1 Col: 366 Unexpected end tag (thead). Ignored. -Line: 1 Col: 376 End tag (address) seen too early. Expected other end tag. -Line: 1 Col: 389 End tag (blockquote) seen too early. Expected other end tag. -Line: 1 Col: 398 End tag (center) seen too early. Expected other end tag. -Line: 1 Col: 404 Unexpected end tag (dir). Ignored. -Line: 1 Col: 410 End tag (div) seen too early. Expected other end tag. -Line: 1 Col: 415 End tag (dl) seen too early. Expected other end tag. -Line: 1 Col: 426 End tag (fieldset) seen too early. Expected other end tag. -Line: 1 Col: 436 End tag (listing) seen too early. Expected other end tag. -Line: 1 Col: 443 End tag (menu) seen too early. Expected other end tag. -Line: 1 Col: 448 End tag (ol) seen too early. Expected other end tag. -Line: 1 Col: 453 End tag (ul) seen too early. Expected other end tag. -Line: 1 Col: 458 End tag (li) seen too early. Expected other end tag. -Line: 1 Col: 465 End tag (nobr) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 471 This element (wbr) has no end tag. -Line: 1 Col: 487 End tag (button) seen too early. Expected other end tag. -Line: 1 Col: 497 End tag (marquee) seen too early. Expected other end tag. -Line: 1 Col: 506 End tag (object) seen too early. Expected other end tag. -Line: 1 Col: 524 Unexpected end tag (html). Ignored. -Line: 1 Col: 524 Unexpected end tag (frameset). Ignored. -Line: 1 Col: 531 Unexpected end tag (head). Ignored. -Line: 1 Col: 540 Unexpected end tag (iframe). Ignored. -Line: 1 Col: 548 This element (image) has no end tag. -Line: 1 Col: 558 This element (isindex) has no end tag. -Line: 1 Col: 568 Unexpected end tag (noembed). Ignored. -Line: 1 Col: 579 Unexpected end tag (noframes). Ignored. -Line: 1 Col: 590 Unexpected end tag (noscript). Ignored. -Line: 1 Col: 601 Unexpected end tag (optgroup). Ignored. -Line: 1 Col: 610 Unexpected end tag (option). Ignored. -Line: 1 Col: 622 Unexpected end tag (plaintext). Ignored. -Line: 1 Col: 633 Unexpected end tag (textarea). Ignored. -#document -| -| -| -|
-| -| -| -|

- -#data - -#errors -Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE. -Line: 1 Col: 10 Expected closing tag. Unexpected end of file. -#document -| -| -| diff --git a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests10.dat b/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests10.dat deleted file mode 100644 index 4f8df86f..00000000 --- a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests10.dat +++ /dev/null @@ -1,799 +0,0 @@ -#data - -#errors -#document -| -| -| -| -| - -#data -a -#errors -29: Bogus comment -#document -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| - -#data - -#errors -35: Stray “svg” start tag. -42: Stray end tag “svg” -#document -| -| -| -| -| -#errors -43: Stray “svg” start tag. -50: Stray end tag “svg” -#document -| -| -| -| -|

-#errors -34: Start tag “svg” seen in “table”. -41: Stray end tag “svg”. -#document -| -| -| -| -| -| - -#data -
foo
-#errors -34: Start tag “svg” seen in “table”. -46: Stray end tag “g”. -53: Stray end tag “svg”. -#document -| -| -| -| -| -| -| "foo" -| - -#data -
foobar
-#errors -34: Start tag “svg” seen in “table”. -46: Stray end tag “g”. -58: Stray end tag “g”. -65: Stray end tag “svg”. -#document -| -| -| -| -| -| -| "foo" -| -| "bar" -| - -#data -
foobar
-#errors -41: Start tag “svg” seen in “table”. -53: Stray end tag “g”. -65: Stray end tag “g”. -72: Stray end tag “svg”. -#document -| -| -| -| -| -| -| "foo" -| -| "bar" -| -| - -#data -
foobar
-#errors -45: Start tag “svg” seen in “table”. -57: Stray end tag “g”. -69: Stray end tag “g”. -76: Stray end tag “svg”. -#document -| -| -| -| -| -| -| "foo" -| -| "bar" -| -| -| - -#data -
foobar
-#errors -#document -| -| -| -| -| -| -| -|
-| -| -| "foo" -| -| "bar" - -#data -
foobar

baz

-#errors -#document -| -| -| -| -| -| -| -|
-| -| -| "foo" -| -| "bar" -|

-| "baz" - -#data -
foobar

baz

-#errors -#document -| -| -| -| -| -|
-| -| -| "foo" -| -| "bar" -|

-| "baz" - -#data -
foobar

baz

quux -#errors -70: HTML start tag “p” in a foreign namespace context. -81: “table” closed but “caption” was still open. -#document -| -| -| -| -| -|
-| -| -| "foo" -| -| "bar" -|

-| "baz" -|

-| "quux" - -#data -
foobarbaz

quux -#errors -78: “table” closed but “caption” was still open. -78: Unclosed elements on stack. -#document -| -| -| -| -| -|
-| -| -| "foo" -| -| "bar" -| "baz" -|

-| "quux" - -#data -foobar

baz

quux -#errors -44: Start tag “svg” seen in “table”. -56: Stray end tag “g”. -68: Stray end tag “g”. -71: HTML start tag “p” in a foreign namespace context. -71: Start tag “p” seen in “table”. -#document -| -| -| -| -| -| -| "foo" -| -| "bar" -|

-| "baz" -| -| -|

-| "quux" - -#data -

quux -#errors -50: Stray “svg” start tag. -54: Stray “g” start tag. -62: Stray end tag “g” -66: Stray “g” start tag. -74: Stray end tag “g” -77: Stray “p” start tag. -88: “table” end tag with “select” open. -#document -| -| -| -| -| -| -| -|
-|

quux -#errors -36: Start tag “select” seen in “table”. -42: Stray “svg” start tag. -46: Stray “g” start tag. -54: Stray end tag “g” -58: Stray “g” start tag. -66: Stray end tag “g” -69: Stray “p” start tag. -80: “table” end tag with “select” open. -#document -| -| -| -| -| -|

-| "quux" - -#data -foobar

baz -#errors -41: Stray “svg” start tag. -68: HTML start tag “p” in a foreign namespace context. -#document -| -| -| -| -| -| -| "foo" -| -| "bar" -|

-| "baz" - -#data -foobar

baz -#errors -34: Stray “svg” start tag. -61: HTML start tag “p” in a foreign namespace context. -#document -| -| -| -| -| -| -| "foo" -| -| "bar" -|

-| "baz" - -#data -

-#errors -31: Stray “svg” start tag. -35: Stray “g” start tag. -40: Stray end tag “g” -44: Stray “g” start tag. -49: Stray end tag “g” -52: Stray “p” start tag. -58: Stray “span” start tag. -58: End of file seen and there were open elements. -#document -| -| -| -| - -#data -

-#errors -42: Stray “svg” start tag. -46: Stray “g” start tag. -51: Stray end tag “g” -55: Stray “g” start tag. -60: Stray end tag “g” -63: Stray “p” start tag. -69: Stray “span” start tag. -#document -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| xlink:href="foo" -| -| xlink href="foo" - -#data - -#errors -#document -| -| -| -| -| xlink:href="foo" -| xml:lang="en" -| -| -| xlink href="foo" -| xml lang="en" - -#data - -#errors -#document -| -| -| -| -| xlink:href="foo" -| xml:lang="en" -| -| -| xlink href="foo" -| xml lang="en" - -#data -bar -#errors -#document -| -| -| -| -| xlink:href="foo" -| xml:lang="en" -| -| -| xlink href="foo" -| xml lang="en" -| "bar" - -#data - -#errors -#document -| -| -| -| - -#data -

a -#errors -#document -| -| -| -|
-| -| "a" - -#data -
a -#errors -#document -| -| -| -|
-| -| -| "a" - -#data -
-#errors -#document -| -| -| -|
-| -| -| - -#data -
a -#errors -#document -| -| -| -|
-| -| -| -| -| "a" - -#data -

a -#errors -#document -| -| -| -|

-| -| -| -|

-| "a" - -#data -
    a -#errors -40: HTML start tag “ul” in a foreign namespace context. -41: End of file in a foreign namespace context. -#document -| -| -| -| -| -| -|
    -| -|
      -| "a" - -#data -
        a -#errors -35: HTML start tag “ul” in a foreign namespace context. -36: End of file in a foreign namespace context. -#document -| -| -| -| -| -| -| -|
          -| "a" - -#data -

          -#errors -#document -| -| -| -| -|

          -| -| -|

          - -#data -

          -#errors -#document -| -| -| -| -|

          -| -| -|

          - -#data -

          -#errors -#document -| -| -| -|

          -| -| -| -|

          -|

          - -#data -
          -#errors -#document -| -| -| -| -| -|
          -| -|
          -| -| - -#data -
          -#errors -#document -| -| -| -| -| -| -| -|
          -|
          -| - -#data - -#errors -#document -| -| -| -| -| -| - -#data -

-#errors -#document -| -| -| -| -|
-| -| - -#data - -#errors -#document -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| -| - -#data -
-#errors -#document -| -| -| -| -| -| -| -|
-| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| -| -| -| -| -| -| -| -| diff --git a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests11.dat b/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests11.dat deleted file mode 100644 index 638cde47..00000000 --- a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests11.dat +++ /dev/null @@ -1,482 +0,0 @@ -#data - -#errors -#document -| -| -| -| -| -| attributeName="" -| attributeType="" -| baseFrequency="" -| baseProfile="" -| calcMode="" -| clipPathUnits="" -| contentScriptType="" -| contentStyleType="" -| diffuseConstant="" -| edgeMode="" -| externalResourcesRequired="" -| filterRes="" -| filterUnits="" -| glyphRef="" -| gradientTransform="" -| gradientUnits="" -| kernelMatrix="" -| kernelUnitLength="" -| keyPoints="" -| keySplines="" -| keyTimes="" -| lengthAdjust="" -| limitingConeAngle="" -| markerHeight="" -| markerUnits="" -| markerWidth="" -| maskContentUnits="" -| maskUnits="" -| numOctaves="" -| pathLength="" -| patternContentUnits="" -| patternTransform="" -| patternUnits="" -| pointsAtX="" -| pointsAtY="" -| pointsAtZ="" -| preserveAlpha="" -| preserveAspectRatio="" -| primitiveUnits="" -| refX="" -| refY="" -| repeatCount="" -| repeatDur="" -| requiredExtensions="" -| requiredFeatures="" -| specularConstant="" -| specularExponent="" -| spreadMethod="" -| startOffset="" -| stdDeviation="" -| stitchTiles="" -| surfaceScale="" -| systemLanguage="" -| tableValues="" -| targetX="" -| targetY="" -| textLength="" -| viewBox="" -| viewTarget="" -| xChannelSelector="" -| yChannelSelector="" -| zoomAndPan="" - -#data - -#errors -#document -| -| -| -| -| -| attributeName="" -| attributeType="" -| baseFrequency="" -| baseProfile="" -| calcMode="" -| clipPathUnits="" -| contentScriptType="" -| contentStyleType="" -| diffuseConstant="" -| edgeMode="" -| externalResourcesRequired="" -| filterRes="" -| filterUnits="" -| glyphRef="" -| gradientTransform="" -| gradientUnits="" -| kernelMatrix="" -| kernelUnitLength="" -| keyPoints="" -| keySplines="" -| keyTimes="" -| lengthAdjust="" -| limitingConeAngle="" -| markerHeight="" -| markerUnits="" -| markerWidth="" -| maskContentUnits="" -| maskUnits="" -| numOctaves="" -| pathLength="" -| patternContentUnits="" -| patternTransform="" -| patternUnits="" -| pointsAtX="" -| pointsAtY="" -| pointsAtZ="" -| preserveAlpha="" -| preserveAspectRatio="" -| primitiveUnits="" -| refX="" -| refY="" -| repeatCount="" -| repeatDur="" -| requiredExtensions="" -| requiredFeatures="" -| specularConstant="" -| specularExponent="" -| spreadMethod="" -| startOffset="" -| stdDeviation="" -| stitchTiles="" -| surfaceScale="" -| systemLanguage="" -| tableValues="" -| targetX="" -| targetY="" -| textLength="" -| viewBox="" -| viewTarget="" -| xChannelSelector="" -| yChannelSelector="" -| zoomAndPan="" - -#data - -#errors -#document -| -| -| -| -| -| attributeName="" -| attributeType="" -| baseFrequency="" -| baseProfile="" -| calcMode="" -| clipPathUnits="" -| contentScriptType="" -| contentStyleType="" -| diffuseConstant="" -| edgeMode="" -| externalResourcesRequired="" -| filterRes="" -| filterUnits="" -| glyphRef="" -| gradientTransform="" -| gradientUnits="" -| kernelMatrix="" -| kernelUnitLength="" -| keyPoints="" -| keySplines="" -| keyTimes="" -| lengthAdjust="" -| limitingConeAngle="" -| markerHeight="" -| markerUnits="" -| markerWidth="" -| maskContentUnits="" -| maskUnits="" -| numOctaves="" -| pathLength="" -| patternContentUnits="" -| patternTransform="" -| patternUnits="" -| pointsAtX="" -| pointsAtY="" -| pointsAtZ="" -| preserveAlpha="" -| preserveAspectRatio="" -| primitiveUnits="" -| refX="" -| refY="" -| repeatCount="" -| repeatDur="" -| requiredExtensions="" -| requiredFeatures="" -| specularConstant="" -| specularExponent="" -| spreadMethod="" -| startOffset="" -| stdDeviation="" -| stitchTiles="" -| surfaceScale="" -| systemLanguage="" -| tableValues="" -| targetX="" -| targetY="" -| textLength="" -| viewBox="" -| viewTarget="" -| xChannelSelector="" -| yChannelSelector="" -| zoomAndPan="" - -#data - -#errors -#document -| -| -| -| -| -| attributename="" -| attributetype="" -| basefrequency="" -| baseprofile="" -| calcmode="" -| clippathunits="" -| contentscripttype="" -| contentstyletype="" -| diffuseconstant="" -| edgemode="" -| externalresourcesrequired="" -| filterres="" -| filterunits="" -| glyphref="" -| gradienttransform="" -| gradientunits="" -| kernelmatrix="" -| kernelunitlength="" -| keypoints="" -| keysplines="" -| keytimes="" -| lengthadjust="" -| limitingconeangle="" -| markerheight="" -| markerunits="" -| markerwidth="" -| maskcontentunits="" -| maskunits="" -| numoctaves="" -| pathlength="" -| patterncontentunits="" -| patterntransform="" -| patternunits="" -| pointsatx="" -| pointsaty="" -| pointsatz="" -| preservealpha="" -| preserveaspectratio="" -| primitiveunits="" -| refx="" -| refy="" -| repeatcount="" -| repeatdur="" -| requiredextensions="" -| requiredfeatures="" -| specularconstant="" -| specularexponent="" -| spreadmethod="" -| startoffset="" -| stddeviation="" -| stitchtiles="" -| surfacescale="" -| systemlanguage="" -| tablevalues="" -| targetx="" -| targety="" -| textlength="" -| viewbox="" -| viewtarget="" -| xchannelselector="" -| ychannelselector="" -| zoomandpan="" - -#data - -#errors -#document -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| diff --git a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests12.dat b/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests12.dat deleted file mode 100644 index 63107d27..00000000 --- a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests12.dat +++ /dev/null @@ -1,62 +0,0 @@ -#data -

foobazeggs

spam

quuxbar -#errors -#document -| -| -| -| -|

-| "foo" -| -| -| -| "baz" -| -| -| -| -| "eggs" -| -| -|

-| "spam" -| -| -| -|
-| -| -| "quux" -| "bar" - -#data -foobazeggs

spam
quuxbar -#errors -#document -| -| -| -| -| "foo" -| -| -| -| "baz" -| -| -| -| -| "eggs" -| -| -|

-| "spam" -| -| -| -|
-| -| -| "quux" -| "bar" diff --git a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests14.dat b/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests14.dat deleted file mode 100644 index b8713f88..00000000 --- a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests14.dat +++ /dev/null @@ -1,74 +0,0 @@ -#data - -#errors -#document -| -| -| -| -| - -#data - -#errors -#document -| -| -| -| -| -| - -#data - -#errors -15: Unexpected start tag html -#document -| -| -| abc:def="gh" -| -| -| - -#data - -#errors -15: Unexpected start tag html -#document -| -| -| xml:lang="bar" -| -| - -#data - -#errors -#document -| -| -| 123="456" -| -| - -#data - -#errors -#document -| -| -| 123="456" -| 789="012" -| -| - -#data - -#errors -#document -| -| -| -| -| 789="012" diff --git a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests15.dat b/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests15.dat deleted file mode 100644 index 6ce1c0d1..00000000 --- a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests15.dat +++ /dev/null @@ -1,208 +0,0 @@ -#data -

X -#errors -Line: 1 Col: 31 Unexpected end tag (p). Ignored. -Line: 1 Col: 36 Expected closing tag. Unexpected end of file. -#document -| -| -| -| -|

-| -| -| -| -| -| -| " " -|

-| "X" - -#data -

-

X -#errors -Line: 1 Col: 3 Unexpected start tag (p). Expected DOCTYPE. -Line: 1 Col: 16 Unexpected end tag (p). Ignored. -Line: 2 Col: 4 Expected closing tag. Unexpected end of file. -#document -| -| -| -|

-| -| -| -| -| -| -| " -" -|

-| "X" - -#data - -#errors -Line: 1 Col: 22 Unexpected end tag (html) after the (implied) root element. -#document -| -| -| -| -| " " - -#data - -#errors -Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. -#document -| -| -| -| -| - -#data - -#errors -Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE. -Line: 1 Col: 13 Unexpected end tag (html) after the (implied) root element. -#document -| -| -| -| - -#data -X -#errors -Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. -#document -| -| -| -| -| -| "X" - -#data -<!doctype html><table> X<meta></table> -#errors -Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode. -Line: 1 Col: 30 Unexpected start tag (meta) in table context caused voodoo mode. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| " X" -| <meta> -| <table> - -#data -<!doctype html><table> x</table> -#errors -Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| " x" -| <table> - -#data -<!doctype html><table> x </table> -#errors -Line: 1 Col: 25 Unexpected non-space characters in table context caused voodoo mode. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| " x " -| <table> - -#data -<!doctype html><table><tr> x</table> -#errors -Line: 1 Col: 28 Unexpected non-space characters in table context caused voodoo mode. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| " x" -| <table> -| <tbody> -| <tr> - -#data -<!doctype html><table>X<style> <tr>x </style> </table> -#errors -Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| "X" -| <table> -| <style> -| " <tr>x " -| " " - -#data -<!doctype html><div><table><a>foo</a> <tr><td>bar</td> </tr></table></div> -#errors -Line: 1 Col: 30 Unexpected start tag (a) in table context caused voodoo mode. -Line: 1 Col: 37 Unexpected end tag (a) in table context caused voodoo mode. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <div> -| <a> -| "foo" -| <table> -| " " -| <tbody> -| <tr> -| <td> -| "bar" -| " " - -#data -<frame></frame></frame><frameset><frame><frameset><frame></frameset><noframes></frameset><noframes> -#errors -6: Start tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”. -13: Stray start tag “frame”. -21: Stray end tag “frame”. -29: Stray end tag “frame”. -39: “frameset” start tag after “body” already open. -105: End of file seen inside an [R]CDATA element. -105: End of file seen and there were open elements. -XXX: These errors are wrong, please fix me! -#document -| <html> -| <head> -| <frameset> -| <frame> -| <frameset> -| <frame> -| <noframes> -| "</frameset><noframes>" - -#data -<!DOCTYPE html><object></html> -#errors -1: Expected closing tag. Unexpected end of file -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <object> diff --git a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests16.dat b/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests16.dat deleted file mode 100644 index c8ef66f0..00000000 --- a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests16.dat +++ /dev/null @@ -1,2299 +0,0 @@ -#data -<!doctype html><script> -#errors -Line: 1 Col: 23 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| <body> - -#data -<!doctype html><script>a -#errors -Line: 1 Col: 24 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "a" -| <body> - -#data -<!doctype html><script>< -#errors -Line: 1 Col: 24 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<" -| <body> - -#data -<!doctype html><script></ -#errors -Line: 1 Col: 25 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</" -| <body> - -#data -<!doctype html><script></S -#errors -Line: 1 Col: 26 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</S" -| <body> - -#data -<!doctype html><script></SC -#errors -Line: 1 Col: 27 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</SC" -| <body> - -#data -<!doctype html><script></SCR -#errors -Line: 1 Col: 28 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</SCR" -| <body> - -#data -<!doctype html><script></SCRI -#errors -Line: 1 Col: 29 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</SCRI" -| <body> - -#data -<!doctype html><script></SCRIP -#errors -Line: 1 Col: 30 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</SCRIP" -| <body> - -#data -<!doctype html><script></SCRIPT -#errors -Line: 1 Col: 31 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</SCRIPT" -| <body> - -#data -<!doctype html><script></SCRIPT -#errors -Line: 1 Col: 32 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| <body> - -#data -<!doctype html><script></s -#errors -Line: 1 Col: 26 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</s" -| <body> - -#data -<!doctype html><script></sc -#errors -Line: 1 Col: 27 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</sc" -| <body> - -#data -<!doctype html><script></scr -#errors -Line: 1 Col: 28 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</scr" -| <body> - -#data -<!doctype html><script></scri -#errors -Line: 1 Col: 29 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</scri" -| <body> - -#data -<!doctype html><script></scrip -#errors -Line: 1 Col: 30 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</scrip" -| <body> - -#data -<!doctype html><script></script -#errors -Line: 1 Col: 31 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "</script" -| <body> - -#data -<!doctype html><script></script -#errors -Line: 1 Col: 32 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| <body> - -#data -<!doctype html><script><! -#errors -Line: 1 Col: 25 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!" -| <body> - -#data -<!doctype html><script><!a -#errors -Line: 1 Col: 26 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!a" -| <body> - -#data -<!doctype html><script><!- -#errors -Line: 1 Col: 26 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!-" -| <body> - -#data -<!doctype html><script><!-a -#errors -Line: 1 Col: 27 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!-a" -| <body> - -#data -<!doctype html><script><!-- -#errors -Line: 1 Col: 27 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--" -| <body> - -#data -<!doctype html><script><!--a -#errors -Line: 1 Col: 28 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--a" -| <body> - -#data -<!doctype html><script><!--< -#errors -Line: 1 Col: 28 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<" -| <body> - -#data -<!doctype html><script><!--<a -#errors -Line: 1 Col: 29 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<a" -| <body> - -#data -<!doctype html><script><!--</ -#errors -Line: 1 Col: 27 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--</" -| <body> - -#data -<!doctype html><script><!--</script -#errors -Line: 1 Col: 35 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--</script" -| <body> - -#data -<!doctype html><script><!--</script -#errors -Line: 1 Col: 36 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--" -| <body> - -#data -<!doctype html><script><!--<s -#errors -Line: 1 Col: 29 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<s" -| <body> - -#data -<!doctype html><script><!--<script -#errors -Line: 1 Col: 34 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script" -| <body> - -#data -<!doctype html><script><!--<script -#errors -Line: 1 Col: 35 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script " -| <body> - -#data -<!doctype html><script><!--<script < -#errors -Line: 1 Col: 36 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script <" -| <body> - -#data -<!doctype html><script><!--<script <a -#errors -Line: 1 Col: 37 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script <a" -| <body> - -#data -<!doctype html><script><!--<script </ -#errors -Line: 1 Col: 37 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </" -| <body> - -#data -<!doctype html><script><!--<script </s -#errors -Line: 1 Col: 38 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </s" -| <body> - -#data -<!doctype html><script><!--<script </script -#errors -Line: 1 Col: 43 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </script" -| <body> - -#data -<!doctype html><script><!--<script </scripta -#errors -Line: 1 Col: 44 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </scripta" -| <body> - -#data -<!doctype html><script><!--<script </script -#errors -Line: 1 Col: 44 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </script " -| <body> - -#data -<!doctype html><script><!--<script </script> -#errors -Line: 1 Col: 44 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </script>" -| <body> - -#data -<!doctype html><script><!--<script </script/ -#errors -Line: 1 Col: 44 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </script/" -| <body> - -#data -<!doctype html><script><!--<script </script < -#errors -Line: 1 Col: 45 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </script <" -| <body> - -#data -<!doctype html><script><!--<script </script <a -#errors -Line: 1 Col: 46 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </script <a" -| <body> - -#data -<!doctype html><script><!--<script </script </ -#errors -Line: 1 Col: 46 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </script </" -| <body> - -#data -<!doctype html><script><!--<script </script </script -#errors -Line: 1 Col: 52 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </script </script" -| <body> - -#data -<!doctype html><script><!--<script </script </script -#errors -Line: 1 Col: 53 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </script " -| <body> - -#data -<!doctype html><script><!--<script </script </script/ -#errors -Line: 1 Col: 53 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </script " -| <body> - -#data -<!doctype html><script><!--<script </script </script> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script </script " -| <body> - -#data -<!doctype html><script><!--<script - -#errors -Line: 1 Col: 36 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script -" -| <body> - -#data -<!doctype html><script><!--<script -a -#errors -Line: 1 Col: 37 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script -a" -| <body> - -#data -<!doctype html><script><!--<script -< -#errors -Line: 1 Col: 37 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script -<" -| <body> - -#data -<!doctype html><script><!--<script -- -#errors -Line: 1 Col: 37 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script --" -| <body> - -#data -<!doctype html><script><!--<script --a -#errors -Line: 1 Col: 38 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script --a" -| <body> - -#data -<!doctype html><script><!--<script --< -#errors -Line: 1 Col: 38 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script --<" -| <body> - -#data -<!doctype html><script><!--<script --> -#errors -Line: 1 Col: 38 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script -->" -| <body> - -#data -<!doctype html><script><!--<script -->< -#errors -Line: 1 Col: 39 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script --><" -| <body> - -#data -<!doctype html><script><!--<script --></ -#errors -Line: 1 Col: 40 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script --></" -| <body> - -#data -<!doctype html><script><!--<script --></script -#errors -Line: 1 Col: 46 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script --></script" -| <body> - -#data -<!doctype html><script><!--<script --></script -#errors -Line: 1 Col: 47 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script -->" -| <body> - -#data -<!doctype html><script><!--<script --></script/ -#errors -Line: 1 Col: 47 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script -->" -| <body> - -#data -<!doctype html><script><!--<script --></script> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script -->" -| <body> - -#data -<!doctype html><script><!--<script><\/script>--></script> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script><\/script>-->" -| <body> - -#data -<!doctype html><script><!--<script></scr'+'ipt>--></script> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script></scr'+'ipt>-->" -| <body> - -#data -<!doctype html><script><!--<script></script><script></script></script> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script></script><script></script>" -| <body> - -#data -<!doctype html><script><!--<script></script><script></script>--><!--</script> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script></script><script></script>--><!--" -| <body> - -#data -<!doctype html><script><!--<script></script><script></script>-- ></script> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script></script><script></script>-- >" -| <body> - -#data -<!doctype html><script><!--<script></script><script></script>- -></script> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script></script><script></script>- ->" -| <body> - -#data -<!doctype html><script><!--<script></script><script></script>- - ></script> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script></script><script></script>- - >" -| <body> - -#data -<!doctype html><script><!--<script></script><script></script>-></script> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script></script><script></script>->" -| <body> - -#data -<!doctype html><script><!--<script>--!></script>X -#errors -Line: 1 Col: 49 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script>--!></script>X" -| <body> - -#data -<!doctype html><script><!--<scr'+'ipt></script>--></script> -#errors -Line: 1 Col: 59 Unexpected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<scr'+'ipt>" -| <body> -| "-->" - -#data -<!doctype html><script><!--<script></scr'+'ipt></script>X -#errors -Line: 1 Col: 57 Unexpected end of file. Expected end tag (script). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| "<!--<script></scr'+'ipt></script>X" -| <body> - -#data -<!doctype html><style><!--<style></style>--></style> -#errors -Line: 1 Col: 52 Unexpected end tag (style). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <style> -| "<!--<style>" -| <body> -| "-->" - -#data -<!doctype html><style><!--</style>X -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <style> -| "<!--" -| <body> -| "X" - -#data -<!doctype html><style><!--...</style>...--></style> -#errors -Line: 1 Col: 51 Unexpected end tag (style). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <style> -| "<!--..." -| <body> -| "...-->" - -#data -<!doctype html><style><!--<br><html xmlns:v="urn:schemas-microsoft-com:vml"><!--[if !mso]><style></style>X -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <style> -| "<!--<br><html xmlns:v="urn:schemas-microsoft-com:vml"><!--[if !mso]><style>" -| <body> -| "X" - -#data -<!doctype html><style><!--...<style><!--...--!></style>--></style> -#errors -Line: 1 Col: 66 Unexpected end tag (style). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <style> -| "<!--...<style><!--...--!>" -| <body> -| "-->" - -#data -<!doctype html><style><!--...</style><!-- --><style>@import ...</style> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <style> -| "<!--..." -| <!-- --> -| <style> -| "@import ..." -| <body> - -#data -<!doctype html><style>...<style><!--...</style><!-- --></style> -#errors -Line: 1 Col: 63 Unexpected end tag (style). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <style> -| "...<style><!--..." -| <!-- --> -| <body> - -#data -<!doctype html><style>...<!--[if IE]><style>...</style>X -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <style> -| "...<!--[if IE]><style>..." -| <body> -| "X" - -#data -<!doctype html><title><!--<title>--> -#errors -Line: 1 Col: 52 Unexpected end tag (title). -#document -| -| -| -| -| "<!--<title>" -| <body> -| "-->" - -#data -<!doctype html><title></title> -#errors -#document -| -| -| -| -| "" -| - -#data -foo/title><link></head><body>X -#errors -Line: 1 Col: 52 Unexpected end of file. Expected end tag (title). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <title> -| "foo/title><link></head><body>X" -| <body> - -#data -<!doctype html><noscript><!--<noscript></noscript>--></noscript> -#errors -Line: 1 Col: 64 Unexpected end tag (noscript). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <noscript> -| "<!--<noscript>" -| <body> -| "-->" - -#data -<!doctype html><noscript><!--</noscript>X<noscript>--></noscript> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <noscript> -| "<!--" -| <body> -| "X" -| <noscript> -| "-->" - -#data -<!doctype html><noscript><iframe></noscript>X -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <noscript> -| "<iframe>" -| <body> -| "X" - -#data -<!doctype html><noframes><!--<noframes></noframes>--></noframes> -#errors -Line: 1 Col: 64 Unexpected end tag (noframes). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <noframes> -| "<!--<noframes>" -| <body> -| "-->" - -#data -<!doctype html><noframes><body><script><!--...</script></body></noframes></html> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <noframes> -| "<body><script><!--...</script></body>" -| <body> - -#data -<!doctype html><textarea><!--<textarea></textarea>--></textarea> -#errors -Line: 1 Col: 64 Unexpected end tag (textarea). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <textarea> -| "<!--<textarea>" -| "-->" - -#data -<!doctype html><textarea></textarea></textarea> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <textarea> -| "</textarea>" - -#data -<!doctype html><textarea><</textarea> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <textarea> -| "<" - -#data -<!doctype html><textarea>a<b</textarea> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <textarea> -| "a<b" - -#data -<!doctype html><iframe><!--<iframe></iframe>--></iframe> -#errors -Line: 1 Col: 56 Unexpected end tag (iframe). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <iframe> -| "<!--<iframe>" -| "-->" - -#data -<!doctype html><iframe>...<!--X->...<!--/X->...</iframe> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <iframe> -| "...<!--X->...<!--/X->..." - -#data -<!doctype html><xmp><!--<xmp></xmp>--></xmp> -#errors -Line: 1 Col: 44 Unexpected end tag (xmp). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <xmp> -| "<!--<xmp>" -| "-->" - -#data -<!doctype html><noembed><!--<noembed></noembed>--></noembed> -#errors -Line: 1 Col: 60 Unexpected end tag (noembed). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <noembed> -| "<!--<noembed>" -| "-->" - -#data -<script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 8 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| <body> - -#data -<script>a -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 9 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "a" -| <body> - -#data -<script>< -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 9 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<" -| <body> - -#data -<script></ -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 10 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</" -| <body> - -#data -<script></S -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 11 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</S" -| <body> - -#data -<script></SC -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 12 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</SC" -| <body> - -#data -<script></SCR -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 13 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</SCR" -| <body> - -#data -<script></SCRI -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 14 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</SCRI" -| <body> - -#data -<script></SCRIP -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 15 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</SCRIP" -| <body> - -#data -<script></SCRIPT -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 16 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</SCRIPT" -| <body> - -#data -<script></SCRIPT -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 17 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| <body> - -#data -<script></s -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 11 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</s" -| <body> - -#data -<script></sc -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 12 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</sc" -| <body> - -#data -<script></scr -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 13 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</scr" -| <body> - -#data -<script></scri -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 14 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</scri" -| <body> - -#data -<script></scrip -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 15 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</scrip" -| <body> - -#data -<script></script -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 16 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</script" -| <body> - -#data -<script></script -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 17 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| <body> - -#data -<script><! -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 10 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!" -| <body> - -#data -<script><!a -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 11 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!a" -| <body> - -#data -<script><!- -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 11 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!-" -| <body> - -#data -<script><!-a -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 12 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!-a" -| <body> - -#data -<script><!-- -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 12 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--" -| <body> - -#data -<script><!--a -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 13 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--a" -| <body> - -#data -<script><!--< -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 13 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<" -| <body> - -#data -<script><!--<a -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 14 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<a" -| <body> - -#data -<script><!--</ -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 14 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--</" -| <body> - -#data -<script><!--</script -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 20 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--</script" -| <body> - -#data -<script><!--</script -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 21 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--" -| <body> - -#data -<script><!--<s -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 14 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<s" -| <body> - -#data -<script><!--<script -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 19 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script" -| <body> - -#data -<script><!--<script -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 20 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script " -| <body> - -#data -<script><!--<script < -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 21 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script <" -| <body> - -#data -<script><!--<script <a -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 22 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script <a" -| <body> - -#data -<script><!--<script </ -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 22 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </" -| <body> - -#data -<script><!--<script </s -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 23 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </s" -| <body> - -#data -<script><!--<script </script -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 28 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </script" -| <body> - -#data -<script><!--<script </scripta -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 29 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </scripta" -| <body> - -#data -<script><!--<script </script -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 29 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </script " -| <body> - -#data -<script><!--<script </script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 29 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </script>" -| <body> - -#data -<script><!--<script </script/ -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 29 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </script/" -| <body> - -#data -<script><!--<script </script < -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 30 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </script <" -| <body> - -#data -<script><!--<script </script <a -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 31 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </script <a" -| <body> - -#data -<script><!--<script </script </ -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 31 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </script </" -| <body> - -#data -<script><!--<script </script </script -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 38 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </script </script" -| <body> - -#data -<script><!--<script </script </script -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 38 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </script " -| <body> - -#data -<script><!--<script </script </script/ -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 38 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script </script " -| <body> - -#data -<script><!--<script </script </script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -#document -| <html> -| <head> -| <script> -| "<!--<script </script " -| <body> - -#data -<script><!--<script - -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 21 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script -" -| <body> - -#data -<script><!--<script -a -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 22 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script -a" -| <body> - -#data -<script><!--<script -- -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 22 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script --" -| <body> - -#data -<script><!--<script --a -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 23 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script --a" -| <body> - -#data -<script><!--<script --> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 23 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script -->" -| <body> - -#data -<script><!--<script -->< -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 24 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script --><" -| <body> - -#data -<script><!--<script --></ -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 25 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script --></" -| <body> - -#data -<script><!--<script --></script -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 31 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script --></script" -| <body> - -#data -<script><!--<script --></script -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 32 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script -->" -| <body> - -#data -<script><!--<script --></script/ -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 32 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script -->" -| <body> - -#data -<script><!--<script --></script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -#document -| <html> -| <head> -| <script> -| "<!--<script -->" -| <body> - -#data -<script><!--<script><\/script>--></script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -#document -| <html> -| <head> -| <script> -| "<!--<script><\/script>-->" -| <body> - -#data -<script><!--<script></scr'+'ipt>--></script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -#document -| <html> -| <head> -| <script> -| "<!--<script></scr'+'ipt>-->" -| <body> - -#data -<script><!--<script></script><script></script></script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -#document -| <html> -| <head> -| <script> -| "<!--<script></script><script></script>" -| <body> - -#data -<script><!--<script></script><script></script>--><!--</script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -#document -| <html> -| <head> -| <script> -| "<!--<script></script><script></script>--><!--" -| <body> - -#data -<script><!--<script></script><script></script>-- ></script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -#document -| <html> -| <head> -| <script> -| "<!--<script></script><script></script>-- >" -| <body> - -#data -<script><!--<script></script><script></script>- -></script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -#document -| <html> -| <head> -| <script> -| "<!--<script></script><script></script>- ->" -| <body> - -#data -<script><!--<script></script><script></script>- - ></script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -#document -| <html> -| <head> -| <script> -| "<!--<script></script><script></script>- - >" -| <body> - -#data -<script><!--<script></script><script></script>-></script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -#document -| <html> -| <head> -| <script> -| "<!--<script></script><script></script>->" -| <body> - -#data -<script><!--<script>--!></script>X -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 34 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script>--!></script>X" -| <body> - -#data -<script><!--<scr'+'ipt></script>--></script> -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 44 Unexpected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<scr'+'ipt>" -| <body> -| "-->" - -#data -<script><!--<script></scr'+'ipt></script>X -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 42 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "<!--<script></scr'+'ipt></script>X" -| <body> - -#data -<style><!--<style></style>--></style> -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -Line: 1 Col: 37 Unexpected end tag (style). -#document -| <html> -| <head> -| <style> -| "<!--<style>" -| <body> -| "-->" - -#data -<style><!--</style>X -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -#document -| <html> -| <head> -| <style> -| "<!--" -| <body> -| "X" - -#data -<style><!--...</style>...--></style> -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -Line: 1 Col: 36 Unexpected end tag (style). -#document -| <html> -| <head> -| <style> -| "<!--..." -| <body> -| "...-->" - -#data -<style><!--<br><html xmlns:v="urn:schemas-microsoft-com:vml"><!--[if !mso]><style></style>X -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -#document -| <html> -| <head> -| <style> -| "<!--<br><html xmlns:v="urn:schemas-microsoft-com:vml"><!--[if !mso]><style>" -| <body> -| "X" - -#data -<style><!--...<style><!--...--!></style>--></style> -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -Line: 1 Col: 51 Unexpected end tag (style). -#document -| <html> -| <head> -| <style> -| "<!--...<style><!--...--!>" -| <body> -| "-->" - -#data -<style><!--...</style><!-- --><style>@import ...</style> -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -#document -| <html> -| <head> -| <style> -| "<!--..." -| <!-- --> -| <style> -| "@import ..." -| <body> - -#data -<style>...<style><!--...</style><!-- --></style> -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -Line: 1 Col: 48 Unexpected end tag (style). -#document -| <html> -| <head> -| <style> -| "...<style><!--..." -| <!-- --> -| <body> - -#data -<style>...<!--[if IE]><style>...</style>X -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -#document -| <html> -| <head> -| <style> -| "...<!--[if IE]><style>..." -| <body> -| "X" - -#data -<title><!--<title>--> -#errors -Line: 1 Col: 7 Unexpected start tag (title). Expected DOCTYPE. -Line: 1 Col: 37 Unexpected end tag (title). -#document -| -| -| -| "<!--<title>" -| <body> -| "-->" - -#data -<title></title> -#errors -Line: 1 Col: 7 Unexpected start tag (title). Expected DOCTYPE. -#document -| -| -| -| "" -| - -#data -foo/title><link></head><body>X -#errors -Line: 1 Col: 7 Unexpected start tag (title). Expected DOCTYPE. -Line: 1 Col: 37 Unexpected end of file. Expected end tag (title). -#document -| <html> -| <head> -| <title> -| "foo/title><link></head><body>X" -| <body> - -#data -<noscript><!--<noscript></noscript>--></noscript> -#errors -Line: 1 Col: 10 Unexpected start tag (noscript). Expected DOCTYPE. -Line: 1 Col: 49 Unexpected end tag (noscript). -#document -| <html> -| <head> -| <noscript> -| "<!--<noscript>" -| <body> -| "-->" - -#data -<noscript><!--</noscript>X<noscript>--></noscript> -#errors -Line: 1 Col: 10 Unexpected start tag (noscript). Expected DOCTYPE. -#document -| <html> -| <head> -| <noscript> -| "<!--" -| <body> -| "X" -| <noscript> -| "-->" - -#data -<noscript><iframe></noscript>X -#errors -Line: 1 Col: 10 Unexpected start tag (noscript). Expected DOCTYPE. -#document -| <html> -| <head> -| <noscript> -| "<iframe>" -| <body> -| "X" - -#data -<noframes><!--<noframes></noframes>--></noframes> -#errors -Line: 1 Col: 10 Unexpected start tag (noframes). Expected DOCTYPE. -Line: 1 Col: 49 Unexpected end tag (noframes). -#document -| <html> -| <head> -| <noframes> -| "<!--<noframes>" -| <body> -| "-->" - -#data -<noframes><body><script><!--...</script></body></noframes></html> -#errors -Line: 1 Col: 10 Unexpected start tag (noframes). Expected DOCTYPE. -#document -| <html> -| <head> -| <noframes> -| "<body><script><!--...</script></body>" -| <body> - -#data -<textarea><!--<textarea></textarea>--></textarea> -#errors -Line: 1 Col: 10 Unexpected start tag (textarea). Expected DOCTYPE. -Line: 1 Col: 49 Unexpected end tag (textarea). -#document -| <html> -| <head> -| <body> -| <textarea> -| "<!--<textarea>" -| "-->" - -#data -<textarea></textarea></textarea> -#errors -Line: 1 Col: 10 Unexpected start tag (textarea). Expected DOCTYPE. -#document -| <html> -| <head> -| <body> -| <textarea> -| "</textarea>" - -#data -<iframe><!--<iframe></iframe>--></iframe> -#errors -Line: 1 Col: 8 Unexpected start tag (iframe). Expected DOCTYPE. -Line: 1 Col: 41 Unexpected end tag (iframe). -#document -| <html> -| <head> -| <body> -| <iframe> -| "<!--<iframe>" -| "-->" - -#data -<iframe>...<!--X->...<!--/X->...</iframe> -#errors -Line: 1 Col: 8 Unexpected start tag (iframe). Expected DOCTYPE. -#document -| <html> -| <head> -| <body> -| <iframe> -| "...<!--X->...<!--/X->..." - -#data -<xmp><!--<xmp></xmp>--></xmp> -#errors -Line: 1 Col: 5 Unexpected start tag (xmp). Expected DOCTYPE. -Line: 1 Col: 29 Unexpected end tag (xmp). -#document -| <html> -| <head> -| <body> -| <xmp> -| "<!--<xmp>" -| "-->" - -#data -<noembed><!--<noembed></noembed>--></noembed> -#errors -Line: 1 Col: 9 Unexpected start tag (noembed). Expected DOCTYPE. -Line: 1 Col: 45 Unexpected end tag (noembed). -#document -| <html> -| <head> -| <body> -| <noembed> -| "<!--<noembed>" -| "-->" - -#data -<!doctype html><table> - -#errors -Line 2 Col 0 Unexpected end of file. Expected table content. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| " -" - -#data -<!doctype html><table><td><span><font></span><span> -#errors -Line 1 Col 26 Unexpected table cell start tag (td) in the table body phase. -Line 1 Col 45 Unexpected end tag (span). -Line 1 Col 51 Expected closing tag. Unexpected end of file. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <tbody> -| <tr> -| <td> -| <span> -| <font> -| <font> -| <span> - -#data -<!doctype html><form><table></form><form></table></form> -#errors -35: Stray end tag “form”. -41: Start tag “form” seen in “table”. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <form> -| <table> -| <form> diff --git a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests17.dat b/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests17.dat deleted file mode 100644 index 7b555f88..00000000 --- a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests17.dat +++ /dev/null @@ -1,153 +0,0 @@ -#data -<!doctype html><table><tbody><select><tr> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> -| <table> -| <tbody> -| <tr> - -#data -<!doctype html><table><tr><select><td> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> -| <table> -| <tbody> -| <tr> -| <td> - -#data -<!doctype html><table><tr><td><select><td> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <tbody> -| <tr> -| <td> -| <select> -| <td> - -#data -<!doctype html><table><tr><th><select><td> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <tbody> -| <tr> -| <th> -| <select> -| <td> - -#data -<!doctype html><table><caption><select><tr> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <caption> -| <select> -| <tbody> -| <tr> - -#data -<!doctype html><select><tr> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> - -#data -<!doctype html><select><td> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> - -#data -<!doctype html><select><th> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> - -#data -<!doctype html><select><tbody> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> - -#data -<!doctype html><select><thead> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> - -#data -<!doctype html><select><tfoot> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> - -#data -<!doctype html><select><caption> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> - -#data -<!doctype html><table><tr></table>a -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <tbody> -| <tr> -| "a" diff --git a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests18.dat b/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests18.dat deleted file mode 100644 index 680e1f06..00000000 --- a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests18.dat +++ /dev/null @@ -1,269 +0,0 @@ -#data -<!doctype html><plaintext></plaintext> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <plaintext> -| "</plaintext>" - -#data -<!doctype html><table><plaintext></plaintext> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <plaintext> -| "</plaintext>" -| <table> - -#data -<!doctype html><table><tbody><plaintext></plaintext> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <plaintext> -| "</plaintext>" -| <table> -| <tbody> - -#data -<!doctype html><table><tbody><tr><plaintext></plaintext> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <plaintext> -| "</plaintext>" -| <table> -| <tbody> -| <tr> - -#data -<!doctype html><table><tbody><tr><plaintext></plaintext> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <plaintext> -| "</plaintext>" -| <table> -| <tbody> -| <tr> - -#data -<!doctype html><table><td><plaintext></plaintext> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <tbody> -| <tr> -| <td> -| <plaintext> -| "</plaintext>" - -#data -<!doctype html><table><caption><plaintext></plaintext> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <caption> -| <plaintext> -| "</plaintext>" - -#data -<!doctype html><table><tr><style></script></style>abc -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| "abc" -| <table> -| <tbody> -| <tr> -| <style> -| "</script>" - -#data -<!doctype html><table><tr><script></style></script>abc -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| "abc" -| <table> -| <tbody> -| <tr> -| <script> -| "</style>" - -#data -<!doctype html><table><caption><style></script></style>abc -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <caption> -| <style> -| "</script>" -| "abc" - -#data -<!doctype html><table><td><style></script></style>abc -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <tbody> -| <tr> -| <td> -| <style> -| "</script>" -| "abc" - -#data -<!doctype html><select><script></style></script>abc -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> -| <script> -| "</style>" -| "abc" - -#data -<!doctype html><table><select><script></style></script>abc -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> -| <script> -| "</style>" -| "abc" -| <table> - -#data -<!doctype html><table><tr><select><script></style></script>abc -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> -| <script> -| "</style>" -| "abc" -| <table> -| <tbody> -| <tr> - -#data -<!doctype html><frameset></frameset><noframes>abc -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> -| <noframes> -| "abc" - -#data -<!doctype html><frameset></frameset><noframes>abc</noframes><!--abc--> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> -| <noframes> -| "abc" -| <!-- abc --> - -#data -<!doctype html><frameset></frameset></html><noframes>abc -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> -| <noframes> -| "abc" - -#data -<!doctype html><frameset></frameset></html><noframes>abc</noframes><!--abc--> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> -| <noframes> -| "abc" -| <!-- abc --> - -#data -<!doctype html><table><tr></tbody><tfoot> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <tbody> -| <tr> -| <tfoot> - -#data -<!doctype html><table><td><svg></svg>abc<td> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <tbody> -| <tr> -| <td> -| <svg svg> -| "abc" -| <td> diff --git a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests19.dat b/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests19.dat deleted file mode 100644 index 0d62f5a5..00000000 --- a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests19.dat +++ /dev/null @@ -1,1237 +0,0 @@ -#data -<!doctype html><math><mn DefinitionUrl="foo"> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <math math> -| <math mn> -| definitionURL="foo" - -#data -<!doctype html><html></p><!--foo--> -#errors -#document -| <!DOCTYPE html> -| <html> -| <!-- foo --> -| <head> -| <body> - -#data -<!doctype html><head></head></p><!--foo--> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <!-- foo --> -| <body> - -#data -<!doctype html><body><p><pre> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <pre> - -#data -<!doctype html><body><p><listing> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <listing> - -#data -<!doctype html><p><plaintext> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <plaintext> - -#data -<!doctype html><p><h1> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <h1> - -#data -<!doctype html><form><isindex> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <form> - -#data -<!doctype html><isindex action="POST"> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <form> -| action="POST" -| <hr> -| <label> -| "This is a searchable index. Enter search keywords: " -| <input> -| name="isindex" -| <hr> - -#data -<!doctype html><isindex prompt="this is isindex"> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <form> -| <hr> -| <label> -| "this is isindex" -| <input> -| name="isindex" -| <hr> - -#data -<!doctype html><isindex type="hidden"> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <form> -| <hr> -| <label> -| "This is a searchable index. Enter search keywords: " -| <input> -| name="isindex" -| type="hidden" -| <hr> - -#data -<!doctype html><isindex name="foo"> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <form> -| <hr> -| <label> -| "This is a searchable index. Enter search keywords: " -| <input> -| name="isindex" -| <hr> - -#data -<!doctype html><ruby><p><rp> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <ruby> -| <p> -| <rp> - -#data -<!doctype html><ruby><div><span><rp> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <ruby> -| <div> -| <span> -| <rp> - -#data -<!doctype html><ruby><div><p><rp> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <ruby> -| <div> -| <p> -| <rp> - -#data -<!doctype html><ruby><p><rt> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <ruby> -| <p> -| <rt> - -#data -<!doctype html><ruby><div><span><rt> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <ruby> -| <div> -| <span> -| <rt> - -#data -<!doctype html><ruby><div><p><rt> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <ruby> -| <div> -| <p> -| <rt> - -#data -<!doctype html><math/><foo> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <math math> -| <foo> - -#data -<!doctype html><svg/><foo> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <svg svg> -| <foo> - -#data -<!doctype html><div></body><!--foo--> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <div> -| <!-- foo --> - -#data -<!doctype html><h1><div><h3><span></h1>foo -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <h1> -| <div> -| <h3> -| <span> -| "foo" - -#data -<!doctype html><p></h3>foo -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| "foo" - -#data -<!doctype html><h3><li>abc</h2>foo -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <h3> -| <li> -| "abc" -| "foo" - -#data -<!doctype html><table>abc<!--foo--> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| "abc" -| <table> -| <!-- foo --> - -#data -<!doctype html><table> <!--foo--> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| " " -| <!-- foo --> - -#data -<!doctype html><table> b <!--foo--> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| " b " -| <table> -| <!-- foo --> - -#data -<!doctype html><select><option><option> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> -| <option> -| <option> - -#data -<!doctype html><select><option></optgroup> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> -| <option> - -#data -<!doctype html><select><option></optgroup> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> -| <option> - -#data -<!doctype html><p><math><mi><p><h1> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <math math> -| <math mi> -| <p> -| <h1> - -#data -<!doctype html><p><math><mo><p><h1> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <math math> -| <math mo> -| <p> -| <h1> - -#data -<!doctype html><p><math><mn><p><h1> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <math math> -| <math mn> -| <p> -| <h1> - -#data -<!doctype html><p><math><ms><p><h1> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <math math> -| <math ms> -| <p> -| <h1> - -#data -<!doctype html><p><math><mtext><p><h1> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <math math> -| <math mtext> -| <p> -| <h1> - -#data -<!doctype html><frameset></noframes> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> - -#data -<!doctype html><html c=d><body></html><html a=b> -#errors -#document -| <!DOCTYPE html> -| <html> -| a="b" -| c="d" -| <head> -| <body> - -#data -<!doctype html><html c=d><frameset></frameset></html><html a=b> -#errors -#document -| <!DOCTYPE html> -| <html> -| a="b" -| c="d" -| <head> -| <frameset> - -#data -<!doctype html><html><frameset></frameset></html><!--foo--> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> -| <!-- foo --> - -#data -<!doctype html><html><frameset></frameset></html> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> -| " " - -#data -<!doctype html><html><frameset></frameset></html>abc -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> - -#data -<!doctype html><html><frameset></frameset></html><p> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> - -#data -<!doctype html><html><frameset></frameset></html></p> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> - -#data -<html><frameset></frameset></html><!doctype html> -#errors -#document -| <html> -| <head> -| <frameset> - -#data -<!doctype html><body><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> - -#data -<!doctype html><p><frameset><frame> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> -| <frame> - -#data -<!doctype html><p>a<frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| "a" - -#data -<!doctype html><p> <frameset><frame> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> -| <frame> - -#data -<!doctype html><pre><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <pre> - -#data -<!doctype html><listing><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <listing> - -#data -<!doctype html><li><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <li> - -#data -<!doctype html><dd><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <dd> - -#data -<!doctype html><dt><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <dt> - -#data -<!doctype html><button><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <button> - -#data -<!doctype html><applet><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <applet> - -#data -<!doctype html><marquee><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <marquee> - -#data -<!doctype html><object><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <object> - -#data -<!doctype html><table><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> - -#data -<!doctype html><area><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <area> - -#data -<!doctype html><basefont><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <basefont> -| <frameset> - -#data -<!doctype html><bgsound><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <bgsound> -| <frameset> - -#data -<!doctype html><br><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <br> - -#data -<!doctype html><embed><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <embed> - -#data -<!doctype html><img><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <img> - -#data -<!doctype html><input><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <input> - -#data -<!doctype html><keygen><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <keygen> - -#data -<!doctype html><wbr><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <wbr> - -#data -<!doctype html><hr><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <hr> - -#data -<!doctype html><textarea></textarea><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <textarea> - -#data -<!doctype html><xmp></xmp><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <xmp> - -#data -<!doctype html><iframe></iframe><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <iframe> - -#data -<!doctype html><select></select><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> - -#data -<!doctype html><svg></svg><frameset><frame> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> -| <frame> - -#data -<!doctype html><math></math><frameset><frame> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> -| <frame> - -#data -<!doctype html><svg><foreignObject><div> <frameset><frame> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> -| <frame> - -#data -<!doctype html><svg>a</svg><frameset><frame> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <svg svg> -| "a" - -#data -<!doctype html><svg> </svg><frameset><frame> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> -| <frame> - -#data -<html>aaa<frameset></frameset> -#errors -#document -| <html> -| <head> -| <body> -| "aaa" - -#data -<html> a <frameset></frameset> -#errors -#document -| <html> -| <head> -| <body> -| "a " - -#data -<!doctype html><div><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> - -#data -<!doctype html><div><body><frameset> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <div> - -#data -<!doctype html><p><math></p>a -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <math math> -| "a" - -#data -<!doctype html><p><math><mn><span></p>a -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <math math> -| <math mn> -| <span> -| <p> -| "a" - -#data -<!doctype html><math></html> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <math math> - -#data -<!doctype html><meta charset="ascii"> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <meta> -| charset="ascii" -| <body> - -#data -<!doctype html><meta http-equiv="content-type" content="text/html;charset=ascii"> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <meta> -| content="text/html;charset=ascii" -| http-equiv="content-type" -| <body> - -#data -<!doctype html><head><!--aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa--><meta charset="utf8"> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <!-- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa --> -| <meta> -| charset="utf8" -| <body> - -#data -<!doctype html><html a=b><head></head><html c=d> -#errors -#document -| <!DOCTYPE html> -| <html> -| a="b" -| c="d" -| <head> -| <body> - -#data -<!doctype html><image/> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <img> - -#data -<!doctype html>a<i>b<table>c<b>d</i>e</b>f -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| "a" -| <i> -| "bc" -| <b> -| "de" -| "f" -| <table> - -#data -<!doctype html><table><i>a<b>b<div>c<a>d</i>e</b>f -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <i> -| "a" -| <b> -| "b" -| <b> -| <div> -| <b> -| <i> -| "c" -| <a> -| "d" -| <a> -| "e" -| <a> -| "f" -| <table> - -#data -<!doctype html><i>a<b>b<div>c<a>d</i>e</b>f -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <i> -| "a" -| <b> -| "b" -| <b> -| <div> -| <b> -| <i> -| "c" -| <a> -| "d" -| <a> -| "e" -| <a> -| "f" - -#data -<!doctype html><table><i>a<b>b<div>c</i> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <i> -| "a" -| <b> -| "b" -| <b> -| <div> -| <i> -| "c" -| <table> - -#data -<!doctype html><table><i>a<b>b<div>c<a>d</i>e</b>f -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <i> -| "a" -| <b> -| "b" -| <b> -| <div> -| <b> -| <i> -| "c" -| <a> -| "d" -| <a> -| "e" -| <a> -| "f" -| <table> - -#data -<!doctype html><table><i>a<div>b<tr>c<b>d</i>e -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <i> -| "a" -| <div> -| "b" -| <i> -| "c" -| <b> -| "d" -| <b> -| "e" -| <table> -| <tbody> -| <tr> - -#data -<!doctype html><table><td><table><i>a<div>b<b>c</i>d -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <tbody> -| <tr> -| <td> -| <i> -| "a" -| <div> -| <i> -| "b" -| <b> -| "c" -| <b> -| "d" -| <table> - -#data -<!doctype html><body><bgsound> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <bgsound> - -#data -<!doctype html><body><basefont> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <basefont> - -#data -<!doctype html><a><b></a><basefont> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <a> -| <b> -| <basefont> - -#data -<!doctype html><a><b></a><bgsound> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <a> -| <b> -| <bgsound> - -#data -<!doctype html><figcaption><article></figcaption>a -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <figcaption> -| <article> -| "a" - -#data -<!doctype html><summary><article></summary>a -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <summary> -| <article> -| "a" - -#data -<!doctype html><p><a><plaintext>b -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <a> -| <plaintext> -| <a> -| "b" - -#data -<!DOCTYPE html><div>a<a></div>b<p>c</p>d -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <div> -| "a" -| <a> -| <a> -| "b" -| <p> -| "c" -| "d" diff --git a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests2.dat b/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests2.dat deleted file mode 100644 index 60d85922..00000000 --- a/Godeps/_workspace/src/golang.org/x/net/html/testdata/webkit/tests2.dat +++ /dev/null @@ -1,763 +0,0 @@ -#data -<!DOCTYPE html>Test -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| "Test" - -#data -<textarea>test</div>test -#errors -Line: 1 Col: 10 Unexpected start tag (textarea). Expected DOCTYPE. -Line: 1 Col: 24 Expected closing tag. Unexpected end of file. -#document -| <html> -| <head> -| <body> -| <textarea> -| "test</div>test" - -#data -<table><td> -#errors -Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE. -Line: 1 Col: 11 Unexpected table cell start tag (td) in the table body phase. -Line: 1 Col: 11 Expected closing tag. Unexpected end of file. -#document -| <html> -| <head> -| <body> -| <table> -| <tbody> -| <tr> -| <td> - -#data -<table><td>test</tbody></table> -#errors -Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE. -Line: 1 Col: 11 Unexpected table cell start tag (td) in the table body phase. -#document -| <html> -| <head> -| <body> -| <table> -| <tbody> -| <tr> -| <td> -| "test" - -#data -<frame>test -#errors -Line: 1 Col: 7 Unexpected start tag (frame). Expected DOCTYPE. -Line: 1 Col: 7 Unexpected start tag frame. Ignored. -#document -| <html> -| <head> -| <body> -| "test" - -#data -<!DOCTYPE html><frameset>test -#errors -Line: 1 Col: 29 Unepxected characters in the frameset phase. Characters ignored. -Line: 1 Col: 29 Expected closing tag. Unexpected end of file. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> - -#data -<!DOCTYPE html><frameset><!DOCTYPE html> -#errors -Line: 1 Col: 40 Unexpected DOCTYPE. Ignored. -Line: 1 Col: 40 Expected closing tag. Unexpected end of file. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <frameset> - -#data -<!DOCTYPE html><font><p><b>test</font> -#errors -Line: 1 Col: 38 End tag (font) violates step 1, paragraph 3 of the adoption agency algorithm. -Line: 1 Col: 38 End tag (font) violates step 1, paragraph 3 of the adoption agency algorithm. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <font> -| <p> -| <font> -| <b> -| "test" - -#data -<!DOCTYPE html><dt><div><dd> -#errors -Line: 1 Col: 28 Missing end tag (div, dt). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <dt> -| <div> -| <dd> - -#data -<script></x -#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 11 Unexpected end of file. Expected end tag (script). -#document -| <html> -| <head> -| <script> -| "</x" -| <body> - -#data -<table><plaintext><td> -#errors -Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE. -Line: 1 Col: 18 Unexpected start tag (plaintext) in table context caused voodoo mode. -Line: 1 Col: 22 Unexpected end of file. Expected table content. -#document -| <html> -| <head> -| <body> -| <plaintext> -| "<td>" -| <table> - -#data -<plaintext></plaintext> -#errors -Line: 1 Col: 11 Unexpected start tag (plaintext). Expected DOCTYPE. -Line: 1 Col: 23 Expected closing tag. Unexpected end of file. -#document -| <html> -| <head> -| <body> -| <plaintext> -| "</plaintext>" - -#data -<!DOCTYPE html><table><tr>TEST -#errors -Line: 1 Col: 30 Unexpected non-space characters in table context caused voodoo mode. -Line: 1 Col: 30 Unexpected end of file. Expected table content. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| "TEST" -| <table> -| <tbody> -| <tr> - -#data -<!DOCTYPE html><body t1=1><body t2=2><body t3=3 t4=4> -#errors -Line: 1 Col: 37 Unexpected start tag (body). -Line: 1 Col: 53 Unexpected start tag (body). -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| t1="1" -| t2="2" -| t3="3" -| t4="4" - -#data -</b test -#errors -Line: 1 Col: 8 Unexpected end of file in attribute name. -Line: 1 Col: 8 End tag contains unexpected attributes. -Line: 1 Col: 8 Unexpected end tag (b). Expected DOCTYPE. -Line: 1 Col: 8 Unexpected end tag (b) after the (implied) root element. -#document -| <html> -| <head> -| <body> - -#data -<!DOCTYPE html></b test<b &=&>X -#errors -Line: 1 Col: 32 Named entity didn't end with ';'. -Line: 1 Col: 33 End tag contains unexpected attributes. -Line: 1 Col: 33 Unexpected end tag (b) after the (implied) root element. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| "X" - -#data -<!doctypehtml><scrIPt type=text/x-foobar;baz>X</SCRipt -#errors -Line: 1 Col: 9 No space after literal string 'DOCTYPE'. -Line: 1 Col: 54 Unexpected end of file in the tag name. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <script> -| type="text/x-foobar;baz" -| "X</SCRipt" -| <body> - -#data -& -#errors -Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE. -#document -| <html> -| <head> -| <body> -| "&" - -#data -&# -#errors -Line: 1 Col: 1 Numeric entity expected. Got end of file instead. -Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE. -#document -| <html> -| <head> -| <body> -| "&#" - -#data -&#X -#errors -Line: 1 Col: 3 Numeric entity expected but none found. -Line: 1 Col: 3 Unexpected non-space characters. Expected DOCTYPE. -#document -| <html> -| <head> -| <body> -| "&#X" - -#data -&#x -#errors -Line: 1 Col: 3 Numeric entity expected but none found. -Line: 1 Col: 3 Unexpected non-space characters. Expected DOCTYPE. -#document -| <html> -| <head> -| <body> -| "&#x" - -#data -- -#errors -Line: 1 Col: 4 Numeric entity didn't end with ';'. -Line: 1 Col: 4 Unexpected non-space characters. Expected DOCTYPE. -#document -| <html> -| <head> -| <body> -| "-" - -#data -&x-test -#errors -Line: 1 Col: 1 Named entity expected. Got none. -Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE. -#document -| <html> -| <head> -| <body> -| "&x-test" - -#data -<!doctypehtml><p><li> -#errors -Line: 1 Col: 9 No space after literal string 'DOCTYPE'. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <li> - -#data -<!doctypehtml><p><dt> -#errors -Line: 1 Col: 9 No space after literal string 'DOCTYPE'. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <dt> - -#data -<!doctypehtml><p><dd> -#errors -Line: 1 Col: 9 No space after literal string 'DOCTYPE'. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <dd> - -#data -<!doctypehtml><p><form> -#errors -Line: 1 Col: 9 No space after literal string 'DOCTYPE'. -Line: 1 Col: 23 Expected closing tag. Unexpected end of file. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| <form> - -#data -<!DOCTYPE html><p></P>X -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <p> -| "X" - -#data -& -#errors -Line: 1 Col: 4 Named entity didn't end with ';'. -Line: 1 Col: 4 Unexpected non-space characters. Expected DOCTYPE. -#document -| <html> -| <head> -| <body> -| "&" - -#data -&AMp; -#errors -Line: 1 Col: 1 Named entity expected. Got none. -Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE. -#document -| <html> -| <head> -| <body> -| "&AMp;" - -#data -<!DOCTYPE html><html><head></head><body><thisISasillyTESTelementNameToMakeSureCrazyTagNamesArePARSEDcorrectLY> -#errors -Line: 1 Col: 110 Expected closing tag. Unexpected end of file. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly> - -#data -<!DOCTYPE html>X</body>X -#errors -Line: 1 Col: 24 Unexpected non-space characters in the after body phase. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| "XX" - -#data -<!DOCTYPE html><!-- X -#errors -Line: 1 Col: 21 Unexpected end of file in comment. -#document -| <!DOCTYPE html> -| <!-- X --> -| <html> -| <head> -| <body> - -#data -<!DOCTYPE html><table><caption>test TEST</caption><td>test -#errors -Line: 1 Col: 54 Unexpected table cell start tag (td) in the table body phase. -Line: 1 Col: 58 Expected closing tag. Unexpected end of file. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <table> -| <caption> -| "test TEST" -| <tbody> -| <tr> -| <td> -| "test" - -#data -<!DOCTYPE html><select><option><optgroup> -#errors -Line: 1 Col: 41 Expected closing tag. Unexpected end of file. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> -| <option> -| <optgroup> - -#data -<!DOCTYPE html><select><optgroup><option></optgroup><option><select><option> -#errors -Line: 1 Col: 68 Unexpected select start tag in the select phase treated as select end tag. -Line: 1 Col: 76 Expected closing tag. Unexpected end of file. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> -| <optgroup> -| <option> -| <option> -| <option> - -#data -<!DOCTYPE html><select><optgroup><option><optgroup> -#errors -Line: 1 Col: 51 Expected closing tag. Unexpected end of file. -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> -| <optgroup> -| <option> -| <optgroup> - -#data -<!DOCTYPE html><datalist><option>foo</datalist>bar -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <datalist> -| <option> -| "foo" -| "bar" - -#data -<!DOCTYPE html><font><input><input></font> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <font> -| <input> -| <input> - -#data -<!DOCTYPE html><!-- XXX - XXX --> -#errors -#document -| <!DOCTYPE html> -| <!-- XXX - XXX --> -| <html> -| <head> -| <body> - -#data -<!DOCTYPE html><!-- XXX - XXX -#errors -Line: 1 Col: 29 Unexpected end of file in comment (-) -#document -| <!DOCTYPE html> -| <!-- XXX - XXX --> -| <html> -| <head> -| <body> - -#data -<!DOCTYPE html><!-- XXX - XXX - XXX --> -#errors -#document -| <!DOCTYPE html> -| <!-- XXX - XXX - XXX --> -| <html> -| <head> -| <body> - -#data -<isindex test=x name=x> -#errors -Line: 1 Col: 23 Unexpected start tag (isindex). Expected DOCTYPE. -Line: 1 Col: 23 Unexpected start tag isindex. Don't use it! -#document -| <html> -| <head> -| <body> -| <form> -| <hr> -| <label> -| "This is a searchable index. Enter search keywords: " -| <input> -| name="isindex" -| test="x" -| <hr> - -#data -test -test -#errors -Line: 2 Col: 4 Unexpected non-space characters. Expected DOCTYPE. -#document -| <html> -| <head> -| <body> -| "test -test" - -#data -<!DOCTYPE html><body><title>test</body> -#errors -#document -| -| -| -| -| -| "test</body>" - -#data -<!DOCTYPE html><body><title>X -#errors -#document -| -| -| -| -| -| "X" -| <meta> -| name="z" -| <link> -| rel="foo" -| <style> -| " -x { content:"</style" } " - -#data -<!DOCTYPE html><select><optgroup></optgroup></select> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> -| <select> -| <optgroup> - -#data - - -#errors -Line: 2 Col: 1 Unexpected End of file. Expected DOCTYPE. -#document -| <html> -| <head> -| <body> - -#data -<!DOCTYPE html> <html> -#errors -#document -| <!DOCTYPE html> -| <html> -| <head> -| <body> - -#data -<!DOCTYPE html><script> -</script> <title>x -#errors -#document -| -| -| -| -#errors -Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE. -Line: 1 Col: 21 Unexpected start tag (script) that can be in head. Moved. -#document -| -| -| -#errors -Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE. -Line: 1 Col: 28 Unexpected start tag (style) that can be in head. Moved. -#document -| -| -| -#errors -Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE. -#document -| -| -| -| -| "x" -| x -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -Line: 1 Col: 22 Unexpected end of file. Expected end tag (style). -#document -| -| -| --> x -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -#document -| -| -| x -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -#document -| -| -| x -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -#document -| -| -| x -#errors -Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE. -#document -| -| -|

-#errors -#document -| -| -| -| -| -| ddd -#errors -#document -| -| -| -#errors -#document -| -| -| -| -|
  • -| -| ", - "