void () { loadProject("/jps/model-serialization/testData/fileEncoding/fileEncoding.ipr"); JpsEncodingProjectConfiguration configuration = JpsEncodingConfigurationService.getInstance().getEncodingConfiguration(myProject); assertNotNull(configuration); assertEncoding("windows-1251", "dir/a.txt", configuration); assertEncoding("UTF-8", "dir/with-encoding.xml", configuration); assertEncoding("windows-1251", "dir/without-encoding.xml", configuration); assertEncoding("windows-1251", "dir/non-existent.xml", configuration); }