Code example for Uri

Methods: buildUpon

0
 */ 
public class QueryProviderTest extends ProviderTestCase3<OAuthProvider> { 
 
    private static final Uri REGISTRY_URI = Registry.CONTENT_URI;
 
    private static final Uri AUTHORIZED_URI = Registry.CONTENT_URI.buildUpon()
            .appendQueryParameter("authorized", "true").build(); 
 
    private static final Uri ALL_CONSUMERS_FOR_FIRST_REGISTRY = Registry.CONTENT_URI.buildUpon()
            .appendEncodedPath("1/consumers").build(); 
 
    private static final String PACKAGE_UNDER_TEST = "com.mytest.package";
 
    private static final String SIGNATURE_FOR_PACKAGE = "sig1";
 
    private static final String PACKAGE_UNDER_TEST_2 = "com.myothertest";
 
    private static final String SIGNATURE_FOR_PACKAGE_2 = "sig2";
 
    private SQLiteDatabase mDB;
Contextual code suggestions in your IDE  Get Codota for Java