HomeSort by relevance Sort by last modified time
    Searched refs:Reporter (Results 1 - 25 of 203) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/content/renderer/media/crypto/
key_systems_support_uma.h 44 class Reporter;
46 // Returns the Reporter for |key_system|. Returns NULL if |key_system| was not
48 Reporter* GetReporter(const std::string& key_system);
50 // Key system <-> Reporter map.
51 typedef base::ScopedPtrHashMap<std::string, Reporter> Reporters;
key_systems_support_uma.cc 54 class KeySystemsSupportUMA::Reporter {
56 explicit Reporter(const std::string& key_system);
57 ~Reporter();
70 KeySystemsSupportUMA::Reporter::Reporter(const std::string& key_system)
77 KeySystemsSupportUMA::Reporter::~Reporter() {}
79 void KeySystemsSupportUMA::Reporter::Report(bool has_type, bool is_supported) {
98 reporters_.set(key_system, scoped_ptr<Reporter>(new Reporter(key_system)))
103 Reporter* reporter = GetReporter(key_system); local
111 Reporter* reporter = GetReporter(key_system); local
119 Reporters::iterator reporter = reporters_.find(key_system); local
    [all...]
  /external/chromium_org/third_party/skia/tests/
PathOpsExtendedTest.h 24 void (*fun)(skiatest::Reporter*, const char* filename);
32 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
34 extern bool testPathFailOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
36 extern bool testThreadedPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
40 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename);
42 void initializeTests(skiatest::Reporter* reporter, const char* testName)
    [all...]
Test.h 23 class Reporter : public SkRefCnt {
25 SK_DECLARE_INST_COUNT(Reporter)
26 Reporter();
54 Reporter* getReporter() const { return fReporter; }
55 void setReporter(Reporter*);
69 virtual void onRun(Reporter*) = 0;
72 Reporter* fReporter;
99 DEF_TEST(TestName, reporter) {
101 REPORTER_ASSERT(reporter, x == 15);
103 REPORTER_ASSERT_MESSAGE(reporter, x == 15, "x should be 15")
    [all...]
Test.cpp 27 Reporter::Reporter() : fTestCount(0) {
30 void Reporter::startTest(Test* test) {
34 void Reporter::reportFailed(const SkString& desc) {
38 void Reporter::endTest(Test* test) {
50 void Test::setReporter(Reporter* r) {
61 class LocalReporter : public Reporter {
63 explicit LocalReporter(Reporter* reporterToMimic) : fReporter(reporterToMimic) {}
87 Reporter* fReporter; // Unowned.
GpuRectanizerTest.cpp 21 static void test_rectanizer_basic(skiatest::Reporter* reporter, GrRectanizer* rectanizer) {
22 REPORTER_ASSERT(reporter, kWidth == rectanizer->width());
23 REPORTER_ASSERT(reporter, kHeight == rectanizer->height());
27 REPORTER_ASSERT(reporter, rectanizer->addRect(50, 50, &loc));
28 REPORTER_ASSERT(reporter, rectanizer->percentFull() > 0.0f);
30 REPORTER_ASSERT(reporter, rectanizer->percentFull() == 0.0f);
33 static void test_rectanizer_inserts(skiatest::Reporter*,
47 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects)
    [all...]
PathOpsSimplifyTest.cpp 11 static void testLine1(skiatest::Reporter* reporter, const char* filename) {
17 testSimplify(reporter, path, filename);
20 static void testLine1x(skiatest::Reporter* reporter, const char* filename) {
27 testSimplify(reporter, path, filename);
58 static void testLine2(skiatest::Reporter* reporter, const char* filename) {
62 testSimplify(reporter, path, filename);
65 static void testLine2x(skiatest::Reporter* reporter, const char* filename)
    [all...]
  /external/chromium_org/third_party/leveldatabase/src/db/
log_reader.h 23 class Reporter {
25 virtual ~Reporter();
35 // If "reporter" is non-NULL, it is notified whenever some data is
36 // dropped due to a detected corruption. "*reporter" must remain
43 Reader(SequentialFile* file, Reporter* reporter, bool checksum,
62 Reporter* const reporter_;
95 // Reports dropped bytes to the reporter.
  /external/chromium_org/third_party/skia/dm/
DMTask.h 32 Task(Reporter* reporter, TaskRunner* taskRunner);
43 Reporter* fReporter; // Unowned.
51 CpuTask(Reporter* reporter, TaskRunner* taskRunner);
63 GpuTask(Reporter* reporter, TaskRunner* taskRunner);
DMPDFTask.h 19 Reporter*,
24 PDFTask(Reporter*,
DMReporter.h 13 class Reporter : SkNoncopyable {
15 Reporter() : fPending(0), fFailed(0) {}
DMReporter.cpp 10 void Reporter::printStatus(SkString name, SkMSec timeMs) const {
34 void Reporter::fail(SkString msg) {
41 void Reporter::getFailures(SkTArray<SkString>* failures) const {
DMTestTask.h 14 class TestReporter : public skiatest::Reporter {
33 CpuTestTask(Reporter*, TaskRunner*, skiatest::TestRegistry::Factory);
47 GpuTestTask(Reporter*, TaskRunner*, skiatest::TestRegistry::Factory);
DMSKPTask.h 17 SKPTask(Reporter*, TaskRunner*, const SkPicture*, SkString name);
  /external/mockito/src/org/mockito/internal/util/
MockCreationValidator.java 7 import org.mockito.exceptions.Reporter;
20 new Reporter().cannotMockFinalClass(classToMock);
31 new Reporter().extraInterfacesCannotContainMockedType(classToMock);
41 new Reporter().mockedTypeIsInconsistentWithSpiedInstanceType(classToMock, spiedInstance);
50 new Reporter().mockedTypeIsInconsistentWithDelegatedInstanceType(classToMock, delegatedInstance);
63 new Reporter().serializableWontWorkForObjectsThatDontImplementSerializable(classToMock);
  /external/mockito/src/org/mockito/internal/verification/checkers/
AtLeastXNumberOfInvocationsChecker.java 10 import org.mockito.exceptions.Reporter;
19 Reporter reporter = new Reporter(); field in class:AtLeastXNumberOfInvocationsChecker
29 reporter.tooLittleActualInvocations(new AtLeastDiscrepancy(wantedCount, actualCount), wanted, lastLocation);
MissingInvocationChecker.java 10 import org.mockito.exceptions.Reporter;
19 private final Reporter reporter; field in class:MissingInvocationChecker
23 this(new InvocationsFinder(), new Reporter());
26 MissingInvocationChecker(InvocationsFinder finder, Reporter reporter) {
28 this.reporter = reporter;
40 reporter.argumentsAreDifferent(smartPrinter.getWanted(), smartPrinter.getActual(), similar.getLocation());
42 reporter.wantedButNotInvoked(wanted, invocations)
    [all...]
NonGreedyNumberOfInvocationsInOrderChecker.java 8 import org.mockito.exceptions.Reporter;
22 private final Reporter reporter; field in class:NonGreedyNumberOfInvocationsInOrderChecker
26 this(new InvocationsFinder(), new Reporter(), new InvocationMarker());
29 NonGreedyNumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter, InvocationMarker marker ) {
31 this.reporter = reporter;
41 reporter.tooLittleActualInvocationsInOrder(new Discrepancy(wantedCount, actualCount), wanted, lastLocation );
NumberOfInvocationsChecker.java 10 import org.mockito.exceptions.Reporter;
20 private final Reporter reporter; field in class:NumberOfInvocationsChecker
25 this(new Reporter(), new InvocationsFinder());
28 NumberOfInvocationsChecker(Reporter reporter, InvocationsFinder finder) {
29 this.reporter = reporter;
39 reporter.tooLittleActualInvocations(new Discrepancy(wantedCount, actualCount), wanted, lastInvocation);
42 reporter.neverWantedButInvoked(wanted, firstUndesired);
    [all...]
NumberOfInvocationsInOrderChecker.java 10 import org.mockito.exceptions.Reporter;
21 private final Reporter reporter; field in class:NumberOfInvocationsInOrderChecker
26 this(new InvocationsFinder(), new Reporter());
29 NumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter) {
31 this.reporter = reporter;
41 reporter.tooLittleActualInvocationsInOrder(new Discrepancy(wantedCount, actualCount), wanted, lastInvocation);
44 reporter.tooManyActualInvocationsInOrder(wantedCount, actualCount, wanted, firstUndesired)
    [all...]
  /external/objenesis/tck/src/org/objenesis/tck/
Reporter.java 34 public interface Reporter {
  /external/chromium_org/third_party/skia/forth/
ForthTests.cpp 11 class Reporter {
15 Reporter() : fFailureCount(0) {}
20 typedef void (*ForthWordTestProc)(ForthWord*, ForthEngine*, Reporter*);
22 #define FORTH_ASSERT(reporter, expression) \
25 reporter->reportFailure(#expression, __FILE__, __LINE__); \
29 static void drop_test0(ForthWord* word, ForthEngine* fe, Reporter* reporter) {
32 FORTH_ASSERT(reporter, 0 == fe->depth());
35 static void drop_test1(ForthWord* word, ForthEngine* fe, Reporter* reporter) {
384 Reporter reporter; local
    [all...]
  /external/mockito/src/org/mockito/internal/configuration/injection/filter/
FinalMockCandidateFilter.java 7 import org.mockito.exceptions.Reporter;
34 new Reporter().cannotInjectDependency(field, matchingMock, e);
  /external/mockito/src/org/mockito/internal/invocation/
MatchersBinder.java 9 import org.mockito.exceptions.Reporter;
35 new Reporter().invalidUseOfMatchers(expectedMatchersSize, lastMatchers);
  /external/mockito/src/org/mockito/internal/matchers/
CapturingMatcher.java 13 import org.mockito.exceptions.Reporter;
37 new Reporter().noArgumentValueWasCaptured();

Completed in 263 milliseconds

1 2 3 4 5 6 7 8 9