Searched refs:f (Results 1 – 11 of 11) sorted by relevance
32 with open("res/values-{0}/strings.xml".format(locale), "w") as f:33 f.write(template.format(locale))
94 public static BusinessLogic createFromFile(File f) { in createFromFile() argument96 String businessLogicString = readFile(f); in createFromFile()262 private static String readFile(File f) throws IOException { in readFile() argument263 StringBuilder sb = new StringBuilder((int) f.length()); in readFile()265 try (Scanner scanner = new Scanner(f)) { in readFile()
19 ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}
564 return argThat(f -> f.getParent().contains(parentName) && f.getName().equals(filename)); in getExactFileNameMatcher()571 f -> in getPartialFileNameMatcher()572 f.getParent().contains(parentName) in getPartialFileNameMatcher()573 && f.getName().contains(component) in getPartialFileNameMatcher()575 .allMatch(c -> f.getName().contains(c))); in getPartialFileNameMatcher()
111 f -> { in testOverTimeTest_throwsTestTimedOutException()112 if (!(f.getException() instanceof TestTimedOutException)) { in testOverTimeTest_throwsTestTimedOutException()116 (TestTimedOutException) f.getException(); in testOverTimeTest_throwsTestTimedOutException()
294 f -> { in testTimestampScheduling_respectsSuiteTimeout()295 if (!(f.getException() instanceof TestTimedOutException)) { in testTimestampScheduling_respectsSuiteTimeout()299 (TestTimedOutException) f.getException(); in testTimestampScheduling_respectsSuiteTimeout()
432 f -> ((FrameworkMethod) f).getName().contains(methodName))); in getMethodNameMatcher()
269 Failure f = new Failure(TEST_FAILURE_DESCRIPTION, new RuntimeException("I failed.")); in testLogcatOnlyOnTestFailureOption() local270 listener.testFailure(f); in testLogcatOnlyOnTestFailureOption()458 Failure f = new Failure(TEST_DESCRIPTION, new RuntimeException("I failed.")); in testMultipleIterations() local465 listener.testFailure(f); in testMultipleIterations()472 listener.testFailure(f); in testMultipleIterations()
176 .map(f -> Pattern.compile(f).matcher(name)) in isIgnored()
287 } catch (IOException f) { in getConfigurationArgument()
390 protected File writeToFile(File f, byte[] content) throws IOException { in writeToFile() argument391 Files.write(f.toPath(), content); in writeToFile()392 return f; in writeToFile()