Search in sources :

Example 41 with Locale

use of java.util.Locale in project platform_frameworks_base by android.

the class OverlayBaseTest method testMatrix110111.

public void testMatrix110111() throws Throwable {
    final int resId = R.integer.matrix_110111;
    setLocale(new Locale("sv", "SE"));
    assertResource(resId, 200, 400, 600);
}
Also used : Locale(java.util.Locale)

Example 42 with Locale

use of java.util.Locale in project platform_frameworks_base by android.

the class OverlayBaseTest method testMatrix101011.

public void testMatrix101011() throws Throwable {
    final int resId = R.integer.matrix_101011;
    setLocale(new Locale("sv", "SE"));
    assertResource(resId, 100, 300, 600);
}
Also used : Locale(java.util.Locale)

Example 43 with Locale

use of java.util.Locale in project platform_frameworks_base by android.

the class OverlayBaseTest method testMatrix101100.

public void testMatrix101100() throws Throwable {
    final int resId = R.integer.matrix_101100;
    setLocale(new Locale("sv", "SE"));
    assertResource(resId, 100, 400, 400);
}
Also used : Locale(java.util.Locale)

Example 44 with Locale

use of java.util.Locale in project platform_frameworks_base by android.

the class OverlayBaseTest method testMatrix100011.

public void testMatrix100011() throws Throwable {
    final int resId = R.integer.matrix_100011;
    setLocale(new Locale("sv", "SE"));
    assertResource(resId, 100, 100, 600);
}
Also used : Locale(java.util.Locale)

Example 45 with Locale

use of java.util.Locale in project platform_frameworks_base by android.

the class OverlayBaseTest method testMatrix100110.

public void testMatrix100110() throws Throwable {
    final int resId = R.integer.matrix_100110;
    setLocale(new Locale("sv", "SE"));
    assertResource(resId, 100, 400, 400);
}
Also used : Locale(java.util.Locale)

Aggregations

Locale (java.util.Locale)2362 Test (org.junit.Test)316 ArrayList (java.util.ArrayList)197 HashMap (java.util.HashMap)114 Date (java.util.Date)97 SimpleDateFormat (java.text.SimpleDateFormat)91 ResourceBundle (java.util.ResourceBundle)88 IOException (java.io.IOException)74 TimeZone (java.util.TimeZone)70 MissingResourceException (java.util.MissingResourceException)69 Calendar (java.util.Calendar)59 Map (java.util.Map)57 File (java.io.File)51 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)49 HttpSession (javax.servlet.http.HttpSession)42 Configuration (android.content.res.Configuration)41 LocaleList (android.os.LocaleList)39 HashSet (java.util.HashSet)39 StudyBean (org.akaza.openclinica.bean.managestudy.StudyBean)39 Resources (android.content.res.Resources)37