e70152e44cc66cc599ff6b699eb8adc07f3e656a kent Sat May 24 21:09:34 2014 -0700 Adding Copyright NNNN Regents of the University of California to all files I believe with reasonable certainty were developed under UCSC employ or as part of Genome Browser copyright assignment. diff --git src/lib/tests/htmlPageTest.c src/lib/tests/htmlPageTest.c index f6a88a5..41d25b8 100644 --- src/lib/tests/htmlPageTest.c +++ src/lib/tests/htmlPageTest.c @@ -1,43 +1,46 @@ /* htmlPageTest - test some stuff in htmlPage module. */ + +/* Copyright (C) 2004 The Regents of the University of California + * See README in this or parent directory for licensing information. */ #include "common.h" #include "options.h" #include "htmlPage.h" #include "obscure.h" void usage() /* Explain usage and exit */ { errAbort( "htmlPageTest - print some diagnostic info on page\n" "usage:\n" " htmlPageTest file.html\n"); } static struct optionSpec options[] = { {NULL, 0}, }; void htmlPageTest(char *fileName) /* Do some checks on file and print. */ { char *html; struct htmlPage *page; struct htmlForm *form; readInGulp(fileName, &html, NULL); page = htmlPageParseNoHead(fileName, html); htmlPageValidateOrAbort(page); for (form = page->forms; form != NULL; form = form->next) htmlFormPrint(form, stdout); } int main(int argc, char *argv[]) /* Process command line. */ { optionInit(&argc, argv, options); if (argc != 2) usage(); htmlPageTest(argv[1]); return 0; }