Skip to content

Commit

Permalink
Updating all the deps. This is probably still not good, but making a …
Browse files Browse the repository at this point in the history
…defensive commit
  • Loading branch information
kebernet committed Jun 29, 2020
1 parent a6df22a commit 6c67143
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ dependencies {
exclude group: 'org.apache.httpcomponents'
}
androidTestImplementation 'com.jayway.android.robotium:robotium-solo:4.3.1'
androidTestImplementation "androidx.test.ext:junit:1.1.1"
implementation 'com.squareup.okhttp3:okhttp:3.2.0'
implementation 'com.github.franmontiel:PersistentCookieJar:v1.0.1'
implementation 'com.google.firebase:firebase-crashlytics:17.1.0'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
package com.totsp.crossword.shortyz.test;
;

import android.test.AndroidTestCase;
import androidx.test.ext.junit.runners.AndroidJUnit4;

import com.totsp.crossword.net.AbstractPageScraper;

public class PageScraperTest extends AndroidTestCase{
import org.junit.Test;
import org.junit.runner.RunWith;


@RunWith(AndroidJUnit4.class)
public class PageScraperTest {

@Test
public void testParse() throws Exception {

String testString = "<a href=\"http://code.google.com/some/test/puzzle.puz\"> test puzzle</a>\n<a href=\"http://code.google.com/some/test/puzzle2.puz\"> test2 puzzle</a>";
System.out.println("Running...");
System.out.println(AbstractPageScraper.puzzleURLs(testString));

}


@Test
public void testBEQ() throws Exception {

AbstractPageScraper scraper = new TestScraper();
Expand Down

0 comments on commit 6c67143

Please sign in to comment.