/external/mockito/src/main/java/org/mockito/internal/runners/ |
StrictRunner.java | 32 UnnecessaryStubbingsReporter reporter = new UnnecessaryStubbingsReporter(); local 35 Mockito.framework().addListener(reporter); 41 Mockito.framework().removeListener(reporter); 49 reporter.validateUnusedStubs(testClass, notifier);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
ConsoleResultReporterTest.java | 39 ConsoleResultReporter reporter = new ConsoleResultReporter(); local 41 reporter.invocationStarted(nullContext); 42 reporter.invocationEnded(0); 43 assertEquals("No test results\n", reporter.getInvocationSummary()); 50 ConsoleResultReporter reporter = new ConsoleResultReporter(); local 52 reporter.invocationStarted(nullContext); 53 reporter.testRunStarted("Test Run", 0); 57 reporter.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(metrics)); 58 reporter.invocationEnded(0); 64 reporter.getInvocationSummary()) 71 ConsoleResultReporter reporter = new ConsoleResultReporter(); local 98 ConsoleResultReporter reporter = new ConsoleResultReporter(); local 119 ConsoleResultReporter reporter = new ConsoleResultReporter(); local [all...] |
/art/test/941-recurive-obsolete-jit/src/ |
Main.java | 27 // public void sayHi(int recur, Consumer<String> reporter, Runnable r) { 28 // reporter.accept("Hello" + recur + " - transformed"); 31 // sayHi(recur - 1, reporter, r); 33 // sayHi(recur - 1, reporter, r); 35 // reporter.accept("Goodbye" + recur + " - transformed"); 110 final TestWatcher reporter = new TestWatcher(); local 131 reporter.accept("transforming calling function"); 139 reporter.clear(); 140 t.sayHi(2, reporter, () -> { reporter.accept("Not doing anything here"); }) [all...] |
/art/test/943-private-recursive-jit/src/ |
Main.java | 28 // public void sayHi(int recur, Consumer<String> reporter, Runnable r) { 29 // privateSayHi(recur, reporter, r); 31 // private void privateSayHi(int recur, Consumer<String> reporter, Runnable r) { 32 // reporter.accpet("hello" + recur + " - transformed"); 35 // privateSayHi(recur - 1, reporter, r); 37 // privateSayHi(recur - 1, reporter, r); 39 // reporter.accept("goodbye" + recur + " - transformed"); 120 final TestWatcher reporter = new TestWatcher(); local 146 reporter.accept("transforming calling function"); 155 reporter.clear() [all...] |
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ |
Context.java | 33 Reporter reporter(); method in interface:Context
|
/external/objenesis/tck/src/main/java/org/objenesis/tck/ |
TCK.java | 31 * implementations, reporting the results to a {@link Reporter}. 45 * Reporter reporter = new TextReporter(System.out, System.err); 46 * tck.runTests(reporter); 51 * @see Reporter 85 * @param reporter Where to report the results of the test to. 87 public void runTests(Reporter reporter) { 88 reporter.startTests(describePlatform(), findAllDescriptions(candidates, descriptions), 97 reporter.startTest(candidateDescription, objenesisDescription) [all...] |
Main.java | 68 TextReporter reporter = new TextReporter(System.out, System.err); local 70 boolean result = run(reporter); 72 reporter.printResult(result); 74 if(reporter.hasErrors()) { 82 * @param reporter result are recorded in the reporter 85 public static boolean run(Reporter reporter) { 86 runStandardTest(new ObjenesisStd(), reporter); 87 runSerializerTest(new ObjenesisSerializer(), reporter); [all...] |
/tools/tradefederation/core/src/com/android/tradefed/result/ |
LogFilesReporter.java | 99 final DeviceFileReporter reporter = new DeviceFileReporter(getDevice(), listener); local 100 reporter.addPatterns(filesPattern); 101 reporter.run(); 113 final DeviceFileReporter reporter = new DeviceFileReporter(getDevice(), listener); local 127 reporter.addPatterns(uploadFilePatterns); 128 reporter.run();
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
BaseJavadocNodeScanner.java | 21 import com.google.currysrc.api.process.Reporter; 40 Reporter reporter = context.reporter(); local 44 visit(reporter, javadoc, rewrite); 49 protected abstract void visit(Reporter reporter, Javadoc javadoc, ASTRewrite rewrite);
|
BaseModifyCommentScanner.java | 21 import com.google.currysrc.api.process.Reporter; 40 Reporter reporter = context.reporter(); local 45 String newCommentText = processComment(reporter, comment, commentText); 60 protected abstract String processComment(Reporter reporter, Comment commentNode,
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/checker/ |
CheckForBrokenJciteTag.java | 19 import com.google.currysrc.api.process.Reporter; 45 protected String processComment(Reporter reporter, Comment commentNode, String commentText) { 53 reporter.info( 56 reporter.info(
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/chunks/ |
VarValidator.java | 27 public void accept(VarType node, ProblemReporter reporter) { 41 reportIllegalPosition(node, reporter); 47 reportIllegalPosition(node, reporter); 52 reportIllegalPosition(node, reporter); 57 reporter.report(vde, "\"var\" only takes a single variable."); 61 reportIllegalPosition(node, reporter); 67 reportIllegalPosition(node, reporter); 72 reporter.report(node, "\"var\" needs an initializer."); 76 reporter.report(node, "\"var\" cannot infer type from just null."); 79 reporter.report(node, "\"var\" cannot infer array types.") [all...] |
ModifierValidator.java | 41 public void visit(ClassOrInterfaceDeclaration n, ProblemReporter reporter) { 43 validateInterfaceModifiers(n, reporter); 45 validateClassModifiers(n, reporter); 47 super.visit(n, reporter); 50 private void validateClassModifiers(ClassOrInterfaceDeclaration n, ProblemReporter reporter) { 52 validateModifiers(n, reporter, PUBLIC, ABSTRACT, FINAL, STRICTFP); 54 validateModifiers(n, reporter, PUBLIC, PROTECTED, PRIVATE, ABSTRACT, STATIC, FINAL, STRICTFP); 56 validateModifiers(n, reporter, ABSTRACT, FINAL, STRICTFP); 60 private void validateInterfaceModifiers(TypeDeclaration<?> n, ProblemReporter reporter) { 62 validateModifiers(n, reporter, PUBLIC, ABSTRACT, STRICTFP) 148 validateModifiers(n.getParameter(), reporter, FINAL); local [all...] |
/prebuilts/go/darwin-x86/src/cmd/vet/ |
tests.go | 83 func checkExample(fn *ast.FuncDecl, f *File, report reporter) { 142 func checkTest(fn *ast.FuncDecl, prefix string, report reporter) { 161 type reporter func(format string, args ...interface{}) type
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
tests.go | 83 func checkExample(fn *ast.FuncDecl, f *File, report reporter) { 142 func checkTest(fn *ast.FuncDecl, prefix string, report reporter) { 161 type reporter func(format string, args ...interface{}) type
|
/libcore/dalvik/src/main/java/dalvik/system/ |
BaseDexClassLoader.java | 44 /* @NonNull */ private static volatile Reporter reporter = null; field in class:BaseDexClassLoader 76 if (reporter != null) { 82 * Reports the current class loader chain to the registered {@code reporter}. 109 reporter.report(classLoadersChain, classPaths); 244 * Sets the reporter for dex load notifications. 248 * @param newReporter the new Reporter. Setting null will cancel reporting. 251 public static void setReporter(Reporter newReporter) { 252 reporter = newReporter; 258 public static Reporter getReporter() [all...] |
CloseGuard.java | 126 private static volatile Reporter reporter = new DefaultReporter(); field in class:CloseGuard 145 * #getReporter() reporter} is informed of unclosed resources; otherwise a 160 * Used to replace default Reporter used to warn of CloseGuard 163 public static void setReporter(Reporter rep) { 165 throw new NullPointerException("reporter == null"); 167 CloseGuard.reporter = rep; 171 * Returns non-null CloseGuard.Reporter. 173 public static Reporter getReporter() { 174 return reporter; [all...] |
/external/google-breakpad/src/common/ |
dwarf_cfi_to_module_unittest.cc | 49 struct MockCFIReporter: public DwarfCFIToModule::Reporter { 51 : Reporter(file, section) { } 60 reporter("reporter file", "reporter section"), 61 handler(&module, register_names, &reporter) { 74 EXPECT_CALL(reporter, UnnamedRegister(_, _)).Times(0); 75 EXPECT_CALL(reporter, UndefinedNotSupported(_, _)).Times(0); 76 EXPECT_CALL(reporter, ExpressionsNotSupported(_, _)).Times(0); 81 MockCFIReporter reporter; member in struct:DwarfCFIToModuleFixture [all...] |
/external/objenesis/tck-android/src/main/java/org/objenesis/tck/android/ |
TckInstrumentation.java | 55 TextReporter reporter = new TextReporter(System.out, System.err); local 57 boolean parentConstructorTestSuccessful = Main.run(reporter); 59 reporter.printResult(parentConstructorTestSuccessful);
|
/art/test/919-obsolete-fields/src/art/ |
Test919.java | 25 private Consumer<String> reporter; field in class:Test919.Transform 26 public Transform(Consumer<String> reporter) { 27 this.reporter = reporter; 31 reporter.accept("hello - private"); 35 reporter.accept("goodbye - private"); 39 reporter.accept("Pre Start private method call"); 41 reporter.accept("Post Start private method call"); 43 reporter.accept("Pre Finish private method call"); 45 reporter.accept("Post Finish private method call") [all...] |
/external/ltp/pan/ |
reporter.c | 33 /* $Id: reporter.c,v 1.1 2000/09/21 21:35:06 alaffin Exp $ */ 43 #include "reporter.h" 250 int reporter(SYM s) function
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
BaseDexClassLoaderTest.java | 32 private static class Reporter implements BaseDexClassLoader.Reporter { 52 // Set the reporter. 53 Reporter reporter = new Reporter(); local 54 BaseDexClassLoader.setReporter(reporter); 59 // Verify the reporter files. 60 assertEquals(2, reporter.loadedDexPaths.size()); 61 assertEquals(2, reporter.classLoaders.size()) [all...] |
/external/jdiff/src/jdiff/ |
JDiff.java | 118 HTMLReportGenerator reporter = new HTMLReportGenerator(); local 119 reporter.generate(comp, existingComments); 123 Comments newComments = reporter.getNewComments(); 161 * @param reporter a DocErrorReporter for generating error messages 166 DocErrorReporter reporter) { 167 return Options.validOptions(options, reporter);
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
CommandLineArgs.java | 81 @Parameter(names = "-reporter", description = "Extended configuration for custom report listener") 82 public String reporter; field in class:CommandLineArgs
|
/external/objenesis/tck/src/test/java/org/objenesis/tck/ |
TCKTest.java | 66 Reporter reporter = new RecordingReporter(); local 67 tck.runTests(reporter); 69 // Expect... the reporter to have received a sequence of calls 77 + "result(false)\n" + "endTest()\n" + "endTests()\n", reporter.toString()); 93 Reporter reporter = new RecordingReporter(); local 94 tck.runTests(reporter); 96 // Expect... the reporter to be notified that A succeeded 102 "endTest()\n" + "endTests()\n", reporter.toString()) [all...] |