Home
last modified time | relevance | path

Searched refs:MyContext (Results 1 – 11 of 11) sorted by relevance

/external/testng/src/test/java/test/guice/
DGuiceTestModule.java7 private final MyContext myContext;
10 GuiceTestModule(MyContext myContext) { in GuiceTestModule()
DMyContext.java3 public interface MyContext { interface
DMyContextImpl.java4 public class MyContextImpl implements MyContext {
DGuiceParentModule.java20 bind(MyContext.class).to(MyContextImpl.class).in(Singleton.class); in configure()
/external/python/jinja/tests/
Dtest_regression.py578 class MyContext(Context): class
582 context_class = MyContext
591 class MyContext(Context): class
597 x = MyContext(env, parent={"bar": 23}, name="foo", blocks={})
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dmutex_test.cc140 struct MyContext { struct
146 bool MyContext::MyTurn() { in MyTurn()
152 MyContext mc; in TestAwait()
158 cxt->mu.Await(absl::Condition(&mc, &MyContext::MyTurn)); in TestAwait()
/external/abseil-cpp/absl/synchronization/
Dmutex_test.cc139 struct MyContext { struct
145 bool MyContext::MyTurn() { in MyTurn()
151 MyContext mc; in TestAwait()
157 cxt->mu.Await(absl::Condition(&mc, &MyContext::MyTurn)); in TestAwait()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dmutex_test.cc139 struct MyContext { struct
145 bool MyContext::MyTurn() { in MyTurn()
151 MyContext mc; in TestAwait()
157 cxt->mu.Await(absl::Condition(&mc, &MyContext::MyTurn)); in TestAwait()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dmutex_test.cc140 struct MyContext { struct
146 bool MyContext::MyTurn() { in MyTurn()
152 MyContext mc; in TestAwait()
158 cxt->mu.Await(absl::Condition(&mc, &MyContext::MyTurn)); in TestAwait()
/external/python/cpython3/Lib/test/
Dtest_decimal.py4115 class MyContext(Context): class
4142 d = MyContext()
4148 self.assertRaises(ValueError, MyContext, **{'prec':-1})
4149 c = MyContext(prec=1)
4154 self.assertRaises(TypeError, MyContext, **{'rounding':'XYZ'})
4155 c = MyContext(rounding=ROUND_DOWN, prec=1)
4160 self.assertRaises(ValueError, MyContext, **{'Emin':5})
4161 c = MyContext(Emin=-1, prec=1)
4169 self.assertRaises(ValueError, MyContext, **{'Emax':-1})
4170 c = MyContext(Emax=1, prec=1)
[all …]
Dtest_context.py68 class MyContext(contextvars.Context): class