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

Side by Side Diff: adblock-android-tests/src/org/adblockplus/libadblockplus/tests/UtilsTest.java

Issue 29782630: Issue 6000 - Rename "libadblockplus-android" (Closed)
Patch Set: Created May 15, 2018, 9:30 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 package org.adblockplus.libadblockplus.tests; 1 package org.adblockplus.libadblockplus.tests;
2 2
3 import android.test.InstrumentationTestCase; 3 import android.test.InstrumentationTestCase;
4 4
5 import org.adblockplus.libadblockplus.android.Utils; 5 import org.adblockplus.libadblockplus.android.Utils;
6 import org.junit.Test; 6 import org.junit.Test;
7 7
8 import java.util.Arrays; 8 import java.util.Arrays;
9 import java.util.LinkedList; 9 import java.util.LinkedList;
10 import java.util.List; 10 import java.util.List;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 } 119 }
120 120
121 @Test 121 @Test
122 public void testUrlWithoutParams_multipleQuestionMarks() 122 public void testUrlWithoutParams_multipleQuestionMarks()
123 { 123 {
124 String url = Utils.getUrlWithoutParams("https://www.google.com?q=123?t=123") ; // invalid URL 124 String url = Utils.getUrlWithoutParams("https://www.google.com?q=123?t=123") ; // invalid URL
125 assertNotNull(url); 125 assertNotNull(url);
126 assertEquals("https://www.google.com", url); 126 assertEquals("https://www.google.com", url);
127 } 127 }
128 } 128 }
OLDNEW

Powered by Google App Engine
This is Rietveld