Home
last modified time | relevance | path

Searched refs:MockClass (Results 1 – 21 of 21) sorted by relevance

/external/gmock/include/gmock/
Dgmock-generated-nice-strict.h79 template <class MockClass>
80 class NiceMock : public MockClass {
86 internal::ImplicitCast_<MockClass*>(this)); in NiceMock()
92 explicit NiceMock(const A1& a1) : MockClass(a1) { in NiceMock()
94 internal::ImplicitCast_<MockClass*>(this)); in NiceMock()
97 NiceMock(const A1& a1, const A2& a2) : MockClass(a1, a2) { in NiceMock()
99 internal::ImplicitCast_<MockClass*>(this)); in NiceMock()
103 NiceMock(const A1& a1, const A2& a2, const A3& a3) : MockClass(a1, a2, a3) { in NiceMock()
105 internal::ImplicitCast_<MockClass*>(this)); in NiceMock()
110 const A4& a4) : MockClass(a1, a2, a3, a4) { in NiceMock()
[all …]
Dgmock-generated-nice-strict.h.pump91 template <class MockClass>
92 class $clazz : public MockClass {
95 // we have to avoid a possible clash with members of MockClass.
98 internal::ImplicitCast_<MockClass*>(this));
104 explicit $clazz(const A1& a1) : MockClass(a1) {
106 internal::ImplicitCast_<MockClass*>(this));
113 $clazz($for j, [[const A$j& a$j]]) : MockClass($for j, [[a$j]]) {
115 internal::ImplicitCast_<MockClass*>(this));
122 internal::ImplicitCast_<MockClass*>(this));
138 template <typename MockClass>
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-nice-strict.h67 template <class MockClass>
68 class NiceMock : public MockClass {
74 internal::ImplicitCast_<MockClass*>(this)); in NiceMock()
80 explicit NiceMock(const A1& a1) : MockClass(a1) { in NiceMock()
82 internal::ImplicitCast_<MockClass*>(this)); in NiceMock()
85 NiceMock(const A1& a1, const A2& a2) : MockClass(a1, a2) { in NiceMock()
87 internal::ImplicitCast_<MockClass*>(this)); in NiceMock()
91 NiceMock(const A1& a1, const A2& a2, const A3& a3) : MockClass(a1, a2, a3) { in NiceMock()
93 internal::ImplicitCast_<MockClass*>(this)); in NiceMock()
98 const A4& a4) : MockClass(a1, a2, a3, a4) { in NiceMock()
[all …]
Dgmock-generated-nice-strict.h.pump70 template <class MockClass>
71 class NiceMock : public MockClass {
74 // we have to avoid a possible clash with members of MockClass.
77 internal::ImplicitCast_<MockClass*>(this));
83 explicit NiceMock(const A1& a1) : MockClass(a1) {
85 internal::ImplicitCast_<MockClass*>(this));
92 NiceMock($for j, [[const A$j& a$j]]) : MockClass($for j, [[a$j]]) {
94 internal::ImplicitCast_<MockClass*>(this));
101 internal::ImplicitCast_<MockClass*>(this));
108 template <class MockClass>
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DInstancesDebuggee.java44 ArrayList<MockClass> reachableObjs = new ArrayList<MockClass>(); in run()
47 reachableObjs.add(new MockClass(true)); in run()
52 new MockClass(false); in run()
65 class MockClass { class
67 MockClass(boolean isReachable){ in MockClass() method in MockClass
/external/objenesis/tck/test/org/objenesis/tck/
DObjenesisTest.java91 static class MockClass extends MockSuperClass implements Serializable { class in ObjenesisTest
94 public MockClass() { in MockClass() method in ObjenesisTest.MockClass
134 Object result = new ObjenesisSerializer().newInstance(MockClass.class); in testObjenesisSerializerParentConstructorCalled()
135 assertEquals(MockClass.class, result.getClass()); in testObjenesisSerializerParentConstructorCalled()
136 MockClass mockObject = (MockClass) result; in testObjenesisSerializerParentConstructorCalled()
/external/objenesis/tck/src/org/objenesis/tck/
DMain.java45 private static class MockClass extends MockSuperClass implements Serializable { class in Main
50 public MockClass() { in MockClass() method in Main.MockClass
80 Object result = new ObjenesisSerializer().newInstance(MockClass.class); in runParentConstructorTest()
81 MockClass mockObject = (MockClass) result; in runParentConstructorTest()
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Dstartup_unittest.py33 class MockClass(object): class
35 model = MockClass()
36 model.browser_process = MockClass()
37 model.browser_process.parent = MockClass()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockLooper.java5 import mockit.MockClass;
13 @MockClass(realClass = Looper.class)
DMockWidget.java5 import mockit.MockClass;
7 @MockClass(realClass = Widget.class, inverse = false)
DMockPaint.java23 import mockit.MockClass;
25 @MockClass(realClass = Paint.class)
DMockPointF.java5 import mockit.MockClass;
7 @MockClass(realClass = PointF.class)
DMockSizeMetrics.java7 import mockit.MockClass;
9 @MockClass(realClass = SizeMetrics.class)
DMockPixelUtils.java8 import mockit.MockClass;
10 @MockClass(realClass = PixelUtils.class, stubs="", inverse=true)
DMockCanvas.java7 import mockit.MockClass;
11 @MockClass(realClass = Canvas.class, stubs="", inverse=true)
DMockRectF.java22 import mockit.MockClass;
24 @MockClass(realClass = RectF.class, stubs="", inverse=true)
DMockContext.java35 import mockit.MockClass;
39 @MockClass(realClass = Context.class)
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DXYLegendWidgetTest.java50 @MockClass(realClass = Context.class)
53 @MockClass(realClass = TextLabelWidget.class)
DXYSeriesRendererTest.java39 @MockClass(realClass = Context.class)
/external/gmock/test/
Dgmock-actions_test.cc617 class MockClass { class
619 MockClass() {} in MockClass() function in __anon3bc9d1e20111::MockClass
625 GTEST_DISALLOW_COPY_AND_ASSIGN_(MockClass);
631 MockClass mock; in TEST()
640 MockClass mock; in TEST()
658 MockClass mock; in TEST()
676 MockClass mock; in TEST()
685 MockClass mock; in TEST()
695 MockClass mock; in TEST()
/external/google-breakpad/src/testing/test/
Dgmock-actions_test.cc617 class MockClass { class
619 MockClass() {} in MockClass() function in __anon4e31d9990111::MockClass
625 GTEST_DISALLOW_COPY_AND_ASSIGN_(MockClass);
631 MockClass mock; in TEST()
640 MockClass mock; in TEST()
654 MockClass mock; in TEST()
672 MockClass mock; in TEST()
681 MockClass mock; in TEST()
691 MockClass mock; in TEST()