- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 211 for Mock (0.15 sec)
-
cni/pkg/ipset/nldeps_mock.go
// See the License for the specific language governing permissions and // limitations under the License. package ipset import ( "net/netip" "github.com/stretchr/testify/mock" ) type MockedIpsetDeps struct { mock.Mock } func FakeNLDeps() *MockedIpsetDeps { return &MockedIpsetDeps{} } func (m *MockedIpsetDeps) ipsetIPHashCreate(name string, v6 bool) error { args := m.Called(name, v6)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 1.8K bytes - Viewed (0) -
istioctl/pkg/cli/mock_test.go
Xiaopeng Han <******@****.***> 1686841337 +0800
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.3K bytes - Viewed (0) -
istioctl/pkg/cli/mock_client.go
Xiaopeng Han <******@****.***> 1709887099 +0800
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
* the type is irrelevant at runtime. */ mock = mock(LoadingCache.class); forward = new ForwardingLoadingCache<String, Boolean>() { @Override protected LoadingCache<String, Boolean> delegate() { return mock; } }; } public void testGet() throws ExecutionException { when(mock.get("key")).thenReturn(Boolean.TRUE);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
* the type is irrelevant at runtime. */ mock = mock(LoadingCache.class); forward = new ForwardingLoadingCache<String, Boolean>() { @Override protected LoadingCache<String, Boolean> delegate() { return mock; } }; } public void testGet() throws ExecutionException { when(mock.get("key")).thenReturn(Boolean.TRUE);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/ForwardingCacheTest.java
* the type is irrelevant at runtime. */ mock = mock(Cache.class); forward = new ForwardingCache<String, Boolean>() { @Override protected Cache<String, Boolean> delegate() { return mock; } }; } public void testGetIfPresent() throws ExecutionException { when(mock.getIfPresent("key")).thenReturn(Boolean.TRUE);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jan 05 19:41:03 GMT 2023 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ForwardingCacheTest.java
* the type is irrelevant at runtime. */ mock = mock(Cache.class); forward = new ForwardingCache<String, Boolean>() { @Override protected Cache<String, Boolean> delegate() { return mock; } }; } public void testGetIfPresent() throws ExecutionException { when(mock.getIfPresent("key")).thenReturn(Boolean.TRUE);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.1K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerPrivateTest.java
class DefaultToolchainManagerPrivateTest { // Mocks to inject into toolchainManager @Mock private Logger logger; @InjectMocks private DefaultToolchainManagerPrivate toolchainManager; @Mock private ToolchainFactory toolchainFactory_basicType; @Mock private ToolchainFactory toolchainFactory_rareType; @BeforeEach void setUp() {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jan 05 19:41:03 GMT 2023 - 2.5K bytes - Viewed (0)