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