Skip to content

Commit

Permalink
fix formatting in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredsburrows committed Sep 12, 2021
1 parent 419ff61 commit bf75061
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private class UncheckedException : RuntimeException {

companion object {
/** Always throws the failure in some form. The return value is to keep the compiler happy. */
@JvmOverloads fun throwAsUncheckedException(
fun throwAsUncheckedException(
t: Throwable,
preserveMessage: Boolean = false
): RuntimeException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,19 +204,21 @@ final class LicensePluginAndroidSpec extends Specification {
<body>
<h3>Notice for packages:</h3>
<ul>
<li><a href="#1934118923">appcompat-v7 (26.1.0)</a>
<li>
<a href="#1934118923">appcompat-v7 (26.1.0)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<li><a href="#1934118923">design (26.1.0)</a>
<li>
<a href="#1934118923">design (26.1.0)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<a name="1934118923"></a>
<a name="1934118923"></a>
<pre>${myGetLicenseText('apache-2.0.txt')}</pre>
<br>
<br>
<hr>
</ul>
</body>
Expand Down Expand Up @@ -324,19 +326,21 @@ final class LicensePluginAndroidSpec extends Specification {
<body>
<h3>Notice for packages:</h3>
<ul>
<li><a href="#1934118923">appcompat-v7 (26.1.0)</a>
<li>
<a href="#1934118923">appcompat-v7 (26.1.0)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<li><a href="#1934118923">design (26.1.0)</a>
<li>
<a href="#1934118923">design (26.1.0)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<a name="1934118923"></a>
<a name="1934118923"></a>
<pre>${myGetLicenseText('apache-2.0.txt')}</pre>
<br>
<br>
<hr>
</ul>
</body>
Expand Down Expand Up @@ -478,9 +482,9 @@ final class LicensePluginAndroidSpec extends Specification {
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<a name="1934118923"></a>
<a name="1934118923"></a>
<pre>${myGetLicenseText('apache-2.0.txt')}</pre>
<br>
<br>
<hr>
</ul>
</body>
Expand Down Expand Up @@ -676,18 +680,18 @@ final class LicensePluginAndroidSpec extends Specification {
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<a name="1934118923"></a>
<a name="1934118923"></a>
<pre>${myGetLicenseText('apache-2.0.txt')}</pre>
<br>
<br>
<hr>
<li><a href="#1783810846">Android GIF Drawable Library (1.2.3)</a>
<dl>
<dt>Copyright &copy; 20xx Karol WrXXtniak</dt>
</dl>
</li>
<a name="1783810846"></a>
<a name="1783810846"></a>
<pre>${myGetLicenseText('mit.txt')}</pre>
<br>
<br>
<hr>
</ul>
</body>
Expand Down Expand Up @@ -794,7 +798,7 @@ final class LicensePluginAndroidSpec extends Specification {
<dt>Copyright &copy; 2017 name</dt>
</dl>
</li>
<a name="0"></a>
<a name="0"></a>
<pre>No license found</pre>
<hr>
</ul>
Expand Down Expand Up @@ -898,19 +902,19 @@ final class LicensePluginAndroidSpec extends Specification {
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<a name="1934118923"></a>
<a name="1934118923"></a>
<pre>${myGetLicenseText('apache-2.0.txt')}</pre>
<br>
<br>
<hr>
<li><a href="#-296292112">Fake dependency name (1.0.0)</a>
<dl>
<dt>Copyright &copy; 2017 name</dt>
</dl>
</li>
<a name="-296292112"></a>
<a name="-296292112"></a>
<pre>Some license
<a href="http://website.tld/">http://website.tld/</a></pre>
<br>
<a href="http://website.tld/">http://website.tld/</a></pre>
<br>
<hr>
</ul>
</body>
Expand Down Expand Up @@ -1032,24 +1036,26 @@ final class LicensePluginAndroidSpec extends Specification {
<body>
<h3>Notice for packages:</h3>
<ul>
<li><a href="#1934118923">design (26.1.0)</a>
<li>
<a href="#1934118923">design (26.1.0)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<a name="1934118923"></a>
<a name="1934118923"></a>
<pre>${myGetLicenseText('apache-2.0.txt')}</pre>
<br>
<br>
<hr>
<li><a href="#-296292112">Fake dependency name (1.0.0)</a>
<li>
<a href="#-296292112">Fake dependency name (1.0.0)</a>
<dl>
<dt>Copyright &copy; 2017 name</dt>
</dl>
</li>
<a name="-296292112"></a>
<a name="-296292112"></a>
<pre>Some license
<a href="http://website.tld/">http://website.tld/</a></pre>
<br>
<a href="http://website.tld/">http://website.tld/</a></pre>
<br>
<hr>
</ul>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,13 @@ final class LicensePluginJavaSpec extends Specification {
<body>
<h3>Notice for packages:</h3>
<ul>
<li><a href="#0">firebase-core (10.0.1)</a>
<li>
<a href="#0">firebase-core (10.0.1)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<a name="0"></a>
<a name="0"></a>
<pre>No license found</pre>
<hr>
</ul>
Expand Down Expand Up @@ -206,19 +207,21 @@ final class LicensePluginJavaSpec extends Specification {
<body>
<h3>Notice for packages:</h3>
<ul>
<li><a href="#1934118923">appcompat-v7 (26.1.0)</a>
<li>
<a href="#1934118923">appcompat-v7 (26.1.0)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<li><a href="#1934118923">design (26.1.0)</a>
<li>
<a href="#1934118923">design (26.1.0)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<a name="1934118923"></a>
<a name="1934118923"></a>
<pre>${myGetLicenseText('apache-2.0.txt')}</pre>
<br>
<br>
<hr>
</ul>
</body>
Expand Down Expand Up @@ -356,15 +359,16 @@ final class LicensePluginJavaSpec extends Specification {
<body>
<h3>Notice for packages:</h3>
<ul>
<li><a href="#-296292112">Fake dependency name (1.0.0)</a>
<li>
<a href="#-296292112">Fake dependency name (1.0.0)</a>
<dl>
<dt>Copyright &copy; 2017 name</dt>
</dl>
</li>
<a name="-296292112"></a>
<a name="-296292112"></a>
<pre>Some license
<a href="http://website.tld/">http://website.tld/</a></pre>
<br>
<a href="http://website.tld/">http://website.tld/</a></pre>
<br>
<hr>
</ul>
</body>
Expand Down Expand Up @@ -436,18 +440,19 @@ final class LicensePluginJavaSpec extends Specification {
<body>
<h3>Notice for packages:</h3>
<ul>
<li><a href="#1195092182">Fake dependency name (1.0.0)</a>
<li>
<a href="#1195092182">Fake dependency name (1.0.0)</a>
<dl>
<dt>Copyright &copy; 2017 name</dt>
</dl>
</li>
<a name="1195092182"></a>
<a name="1195092182"></a>
<pre>Some license
<a href="http://website.tld/">http://website.tld/</a></pre>
<br>
<a href="http://website.tld/">http://website.tld/</a></pre>
<br>
<pre>Some license
<a href="http://website.tld/">http://website.tld/</a></pre>
<br>
<a href="http://website.tld/">http://website.tld/</a></pre>
<br>
<hr>
</ul>
</body>
Expand Down Expand Up @@ -524,24 +529,26 @@ final class LicensePluginJavaSpec extends Specification {
<body>
<h3>Notice for packages:</h3>
<ul>
<li><a href="#1934118923">Retrofit (2.3.0)</a>
<li>
<a href="#1934118923">Retrofit (2.3.0)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<a name="1934118923"></a>
<a name="1934118923"></a>
<pre>${myGetLicenseText('apache-2.0.txt')}</pre>
<br>
<br>
<hr>
<li><a href="#-296292112">Fake dependency name (1.0.0)</a>
<li>
<a href="#-296292112">Fake dependency name (1.0.0)</a>
<dl>
<dt>Copyright &copy; 2017 name</dt>
</dl>
</li>
<a name="-296292112"></a>
<a name="-296292112"></a>
<pre>Some license
<a href="http://website.tld/">http://website.tld/</a></pre>
<br>
<a href="http://website.tld/">http://website.tld/</a></pre>
<br>
<hr>
</ul>
</body>
Expand Down Expand Up @@ -643,19 +650,21 @@ final class LicensePluginJavaSpec extends Specification {
<body>
<h3>Notice for packages:</h3>
<ul>
<li><a href="#1934118923">appcompat-v7 (26.1.0)</a>
<li>
<a href="#1934118923">appcompat-v7 (26.1.0)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<li><a href="#1934118923">design (26.1.0)</a>
<li>
<a href="#1934118923">design (26.1.0)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<a name="1934118923"></a>
<a name="1934118923"></a>
<pre>${myGetLicenseText('apache-2.0.txt')}</pre>
<br>
<br>
<hr>
</ul>
</body>
Expand Down Expand Up @@ -755,19 +764,21 @@ final class LicensePluginJavaSpec extends Specification {
<body>
<h3>Notice for packages:</h3>
<ul>
<li><a href="#1934118923">appcompat-v7 (26.1.0)</a>
<li>
<a href="#1934118923">appcompat-v7 (26.1.0)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<li><a href="#1934118923">design (26.1.0)</a>
<li>
<a href="#1934118923">design (26.1.0)</a>
<dl>
<dt>Copyright &copy; 20xx The original author or authors</dt>
</dl>
</li>
<a name="1934118923"></a>
<a name="1934118923"></a>
<pre>${myGetLicenseText('apache-2.0.txt')}</pre>
<br>
<br>
<hr>
</ul>
</body>
Expand Down

0 comments on commit bf75061

Please sign in to comment.