tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

DefaultLocaleLintTest.java (513B)


      1 // Copyright 2021 The Chromium Authors
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 package test;
      6 
      7 import android.app.Application;
      8 
      9 /** Class which fails 'DefaultLocale' lint check. */
     10 public class DefaultLocaleLintTest extends Application {
     11    public String testTriggerDefaultLocaleCheck(int any) {
     12        // String format with an integer requires a Locale since it may be formatted differently.
     13        return String.format("Test %d", any);
     14    }
     15 }