Home
last modified time | relevance | path

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

/external/v8/testing/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/googletest/googlemock/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.java43 ArrayList<MockClass> reachableObjs = new ArrayList<MockClass>(); in run()
54 private static void allocateReachableObjects(ArrayList<MockClass> reachableObjs) { in allocateReachableObjects()
56 reachableObjs.add(new MockClass(true)); in allocateReachableObjects()
62 new MockClass(false); in allocateUnreachableObjects()
72 class MockClass { class
76 MockClass(boolean isReachable) { in MockClass() method in MockClass
/external/objenesis/tck/src/main/java/org/objenesis/tck/
DMain.java45 private static class MockClass extends MockSuperClass implements Serializable { class in Main
51 public MockClass() { in MockClass() method in Main.MockClass
122 Object result = objenesis.newInstance(MockClass.class); in runParentConstructorTest()
123 MockClass mockObject = (MockClass) result; in runParentConstructorTest()
/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/googletest/googlemock/test/
Dgmock-actions_test.cc693 class MockClass { class
695 MockClass() {} in MockClass() function in __anonf1b1aec30111::MockClass
706 GTEST_DISALLOW_COPY_AND_ASSIGN_(MockClass);
712 MockClass mock; in TEST()
721 MockClass mock; in TEST()
739 MockClass mock; in TEST()
757 MockClass mock; in TEST()
766 MockClass mock; in TEST()
776 MockClass mock; in TEST()
1351 MockClass mock; in TEST()
[all …]
/external/v8/testing/gmock/test/
Dgmock-actions_test.cc693 class MockClass { class
695 MockClass() {} in MockClass() function in __anon1d41ef2b0111::MockClass
706 GTEST_DISALLOW_COPY_AND_ASSIGN_(MockClass);
712 MockClass mock; in TEST()
721 MockClass mock; in TEST()
739 MockClass mock; in TEST()
757 MockClass mock; in TEST()
766 MockClass mock; in TEST()
776 MockClass mock; in TEST()
1351 MockClass mock; in TEST()
[all …]
/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/google-breakpad/src/testing/test/
Dgmock-actions_test.cc617 class MockClass { class
619 MockClass() {} in MockClass() function in __anon3cdb7db80111::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()
/external/fmtlib/test/gmock/
Dgmock.h11380 template <class MockClass>
11381 class NiceMock : public MockClass {
11387 internal::ImplicitCast_<MockClass*>(this));
11393 explicit NiceMock(const A1& a1) : MockClass(a1) {
11395 internal::ImplicitCast_<MockClass*>(this));
11398 NiceMock(const A1& a1, const A2& a2) : MockClass(a1, a2) {
11400 internal::ImplicitCast_<MockClass*>(this));
11404 NiceMock(const A1& a1, const A2& a2, const A3& a3) : MockClass(a1, a2, a3) {
11406 internal::ImplicitCast_<MockClass*>(this));
11411 const A4& a4) : MockClass(a1, a2, a3, a4) {
[all …]