Home
last modified time | relevance | path

Searched refs:mockModule (Results 1 – 22 of 22) sorted by relevance

/dports/misc/py-mxnet/incubator-mxnet-1.9.0/scala-package/infer/src/test/scala/org/apache/mxnet/infer/
H A DPredictorSuite.scala33 override def loadModule(): Module = mockModule
39 lazy val mockModule: Module = Mockito.mock(classOf[Module]) constant
77 Mockito.doReturn(predictResult).when(testPredictor.mockModule)
89 Mockito.verify(testPredictor.mockModule, Mockito.times(2)).bind(any[IndexedSeq[DataDesc]],
105 Mockito.doReturn(predictResult).when(testPredictor.mockModule)
119 Mockito.verify(testPredictor.mockModule, Mockito.times(2)).bind(any[IndexedSeq[DataDesc]],
134 Mockito.doReturn(predictResult).when(testPredictor.mockModule)
143 Mockito.verify(testPredictor.mockModule, Mockito.times(2)).bind(any[IndexedSeq[DataDesc]],
H A DClassifierSuite.scala72 override def loadModule(): Module = mockModule
78 lazy val mockModule: Module = Mockito.mock(classOf[Module]) constant
/dports/misc/mxnet/incubator-mxnet-1.9.0/scala-package/infer/src/test/scala/org/apache/mxnet/infer/
H A DPredictorSuite.scala33 override def loadModule(): Module = mockModule
39 lazy val mockModule: Module = Mockito.mock(classOf[Module]) constant
77 Mockito.doReturn(predictResult).when(testPredictor.mockModule)
89 Mockito.verify(testPredictor.mockModule, Mockito.times(2)).bind(any[IndexedSeq[DataDesc]],
105 Mockito.doReturn(predictResult).when(testPredictor.mockModule)
119 Mockito.verify(testPredictor.mockModule, Mockito.times(2)).bind(any[IndexedSeq[DataDesc]],
134 Mockito.doReturn(predictResult).when(testPredictor.mockModule)
143 Mockito.verify(testPredictor.mockModule, Mockito.times(2)).bind(any[IndexedSeq[DataDesc]],
H A DClassifierSuite.scala72 override def loadModule(): Module = mockModule
78 lazy val mockModule: Module = Mockito.mock(classOf[Module]) constant
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/envoyproxy/protoc-gen-validate/vendor/github.com/lyft/protoc-gen-star/
H A Dmodule_test.go11 type mockModule struct { struct
17 func newMockModule() *mockModule { return &mockModule{ModuleBase: &ModuleBase{}} }
19 func (m *mockModule) Name() string { return m.name } argument
21 func (m *mockModule) Execute(targets map[string]File, packages map[string]Package) []Artifact { argument
H A Dgenerator_test.go40 g.RegisterModule(&mockModule{name: "foo"})
/dports/www/tusd/tusd-1.8.0/vendor/github.com/envoyproxy/protoc-gen-validate/vendor/github.com/lyft/protoc-gen-star/
H A Dmodule_test.go11 type mockModule struct { struct
17 func newMockModule() *mockModule { return &mockModule{ModuleBase: &ModuleBase{}} }
19 func (m *mockModule) Name() string { return m.name } argument
21 func (m *mockModule) Execute(targets map[string]File, packages map[string]Package) []Artifact { argument
H A Dgenerator_test.go40 g.RegisterModule(&mockModule{name: "foo"})
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/envoyproxy/protoc-gen-validate/vendor/github.com/lyft/protoc-gen-star/
H A Dmodule_test.go11 type mockModule struct { struct
17 func newMockModule() *mockModule { return &mockModule{ModuleBase: &ModuleBase{}} }
19 func (m *mockModule) Name() string { return m.name } argument
21 func (m *mockModule) Execute(targets map[string]File, packages map[string]Package) []Artifact { argument
H A Dgenerator_test.go40 g.RegisterModule(&mockModule{name: "foo"})
/dports/net/grpcui/grpcui-1.1.0/vendor/github.com/envoyproxy/protoc-gen-validate/vendor/github.com/lyft/protoc-gen-star/
H A Dmodule_test.go11 type mockModule struct { struct
17 func newMockModule() *mockModule { return &mockModule{ModuleBase: &ModuleBase{}} }
19 func (m *mockModule) Name() string { return m.name } argument
21 func (m *mockModule) Execute(targets map[string]File, packages map[string]Package) []Artifact { argument
H A Dgenerator_test.go40 g.RegisterModule(&mockModule{name: "foo"})
/dports/net/grpcurl/grpcurl-1.8.5/vendor/github.com/envoyproxy/protoc-gen-validate/vendor/github.com/lyft/protoc-gen-star/
H A Dmodule_test.go11 type mockModule struct { struct
17 func newMockModule() *mockModule { return &mockModule{ModuleBase: &ModuleBase{}} }
19 func (m *mockModule) Name() string { return m.name } argument
21 func (m *mockModule) Execute(targets map[string]File, packages map[string]Package) []Artifact { argument
H A Dgenerator_test.go40 g.RegisterModule(&mockModule{name: "foo"})
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/test/unit_tests/mocks/
H A Dmock_builtin_functions_lib_impl.h59 std::unique_ptr<Module> mockModule(new Mock<Module>(device, nullptr)); in loadBuiltIn()
61 …return std::unique_ptr<BuiltinData>(new BuiltinData{std::move(mockModule), std::move(mockKernel)}); in loadBuiltIn()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/test/unit_tests/sources/kernel/
H A Dtest_kernel.cpp73 Mock<Module> mockModule(this->device, nullptr); in TEST_F() local
76 mockKernel.module = &mockModule; in TEST_F()
105 mockKernel.module = &mockModule; in TEST_F()
123 mockKernel.module = &mockModule; in TEST_F()
136 mockKernel.module = &mockModule; in TEST_F()
1522 Mock<Module> mockModule(device, nullptr); in TEST_F() local
1523 kernel.module = &mockModule; in TEST_F()
2173 mockKernel.module = &mockModule; in TEST_F()
2187 mockKernel.module = &mockModule; in TEST_F()
2199 mockKernel.module = &mockModule; in TEST_F()
[all …]
/dports/www/mediawiki136/mediawiki-1.36.3/tests/phpunit/includes/api/
H A DApiMainTest.php348 $mockModule = $this->createMock( ApiBase::class );
349 $mockModule->method( 'shouldCheckMaxLag' )->willReturn( true );
352 $wrapper->checkMaxLag( $mockModule, [ 'maxlag' => 3 ] );
/dports/www/mediawiki137/mediawiki-1.37.1/tests/phpunit/includes/api/
H A DApiMainTest.php358 $mockModule = $this->createMock( ApiBase::class );
359 $mockModule->method( 'shouldCheckMaxLag' )->willReturn( true );
362 $wrapper->checkMaxLag( $mockModule, [ 'maxlag' => 3 ] );
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/includes/api/
H A DApiMainTest.php332 $mockModule = $this->createMock( ApiBase::class );
333 $mockModule->method( 'shouldCheckMaxLag' )->willReturn( true );
336 $wrapper->checkMaxLag( $mockModule, [ 'maxlag' => 3 ] );
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/test/unit_tests/fixtures/
H A Dmodule_fixture.h126 MockKernel(MockModule *mockModule) : WhiteBox<L0::KernelImp>(mockModule) { in MockKernel()
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/open-policy-agent/opa/ast/
H A Dparser_test.go1243 mockModule := `package ex
1248 assertParseModule(t, "rule name: input/data", mockModule, &Module{
/dports/www/pomerium/pomerium-0.8.3/vendor/github.com/open-policy-agent/opa/ast/
H A Dparser_test.go1825 mockModule := `package ex
1830 assertParseModule(t, "rule name: input/data", mockModule, &Module{