/**
* Tests the {@link PhpXref} class.
* @author Gustavo Lopes
*/
public class PhpXrefTest {
@Test
String s = "<?php foo bar";
Writer w = new StringWriter();
"<a class=\"l\" name=\"1\" href=\"#1\">1</a><strong><?php</strong> <a href=\"/"
+ "source/s?defs=foo\">foo</a> <a href=\"/source/s?defs=bar\">bar</a>",
w.toString());
}
"<!DOCTYPE html><html><head><meta http-equiv=\"content-type\" content=\"text/html;charset=UTF-8\" /><link rel=\"stylesheet\" type=\"text/css\" "
+ "href=\"http://localhost:8080/source/default/style.css\" /><title>PHP Xref Test</title></head>");
Writer w = new StringWriter();
}
} else {
}
}
@Test
try {
} finally {
}
try {
byte buffer[] = new byte[8192];
int read;
do {
if (read > 0) {
}
} while (read >= 0);
} finally {
}
}
}
}