Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: update-copyright/tests/data/hg_page.html

Issue 29459580: Issue 5250 - Add copyright update script (Closed) Base URL: https://hg.adblockplus.org/codingtools
Patch Set: Also test strings and non-eyeo copyright info Created July 7, 2017, 3:55 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: update-copyright/tests/data/hg_page.html
===================================================================
new file mode 100644
--- /dev/null
+++ b/update-copyright/tests/data/hg_page.html
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
+<head>
+<link rel="icon" href="/static/hgicon.png" type="image/png" />
+<meta name="robots" content="index, nofollow"/>
+<link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" />
+<script type="text/javascript" src="/static/mercurial.js"></script>
+
+<title>Mercurial repositories index</title>
+</head>
+<body>
+
+<div class="page_header">
+ <a href="https://mercurial-scm.org/" title="Mercurial" style="float: right;">Mercurial</a>
+ <a href="/">Mercurial</a>
+</div>
+
+<table cellspacing="0">
+ <tr>
+ <td><a href="?sort=name">Name</a></td>
+ <td><a href="?sort=description">Description</a></td>
+ <td><a href="?sort=contact">Contact</a></td>
+ <td><a href="?sort=lastchange">Last modified</a></td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ </tr>
+
+<tr class="parity0">
+<td>
+<a class="list" href="repo_1/">
+<b>repo_1</b>
+</a>
+</td>
+<td>This is test repo #1</td>
+<td>e-mail address</td>
+<td class="age">Tue, 16 May 2017 13:04:11</td>
+<td class="indexlinks"> <a href="/repo_1/archive/tip.zip">zip</a> <a href="/repo_1/archive/tip.tar.gz">gz</a> <a href="/repo_1/archive/tip.tar.bz2">bz2</a> </td>
+<td><div class="rss_logo">
+<a href="/repo_1/rss-log">RSS</a> <a href="/repo_1/atom-log">Atom</a>
+</div>
+</td>
+</tr>
+
+<tr class="parity1">
+<td>
+<a class="list" href="legacy/">
+<b>legacy</b>
+</a>
+</td>
+<td>**DEPRECATED** No longer in use</td>
+<td>&#117;&#110;&#107;&#110;&#111;&#119;&#110;</td>
+<td class="age">Wed, 02 Mar 2016 06:17:01</td>
+<td class="indexlinks"> <a href="/legacy/archive/tip.zip">zip</a> <a href="/legacy/archive/tip.tar.gz">gz</a> <a href="/legacy/archive/tip.tar.bz2">bz2</a> </td>
+<td><div class="rss_logo">
+<a href="/legacy/rss-log">RSS</a> <a href="/legacy/atom-log">Atom</a>
+</div>
+</td>
+</tr>
+
+<tr class="parity0">
+<td>
+<a class="list" href="out_of_date/">
+<b>out_of_date</b>
+</a>
+</td>
+<td>Not in use (Deprecated)</td>
+<td>&#117;&#110;&#107;&#110;&#111;&#119;&#110;</td>
+<td class="age">Wed, 02 Mar 2016 00:42:22</td>
+<td class="indexlinks"> <a href="/out_of_date/archive/tip.zip">zip</a> <a href="/out_of_date/archive/tip.tar.gz">gz</a> <a href="/out_of_date/archive/tip.tar.bz2">bz2</a> </td>
+<td><div class="rss_logo">
+<a href="/out_of_date/rss-log">RSS</a> <a href="/out_of_date/atom-log">Atom</a>
+</div>
+</td>
+</tr>
+
+<tr class="parity1">
+<td>
+<a class="list" href="repo_2/">
+<b>repo_2</b>
+</a>
+</td>
+<td>Test rep 2</td>
+<td>e-mail address</td>
+<td class="age">Thu, 16 Mar 2017 09:08:01</td>
+<td class="indexlinks"> <a href="/repo_2/archive/tip.zip">zip</a> <a href="/repo_2/archive/tip.tar.gz">gz</a> <a href="/repo_2/archive/tip.tar.bz2">bz2</a> </td>
+<td><div class="rss_logo">
+<a href="/repo_2/rss-log">RSS</a> <a href="/repo_2/atom-log">Atom</a>
+</div>
+</td>
+</tr>
+
+</table>
+<div class="page_footer">
+
+</div>
+<script type="text/javascript">process_dates()</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld