Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for muck (0.21 sec)

  1. 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 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. istioctl/pkg/cli/mock_test.go

    Xiaopeng Han <******@****.***> 1686841337 +0800
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  3. istioctl/pkg/cli/mock_client.go

    Xiaopeng Han <******@****.***> 1709887099 +0800
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/AboutTheStubs.html

    specific language governing permissions and limitations
    under the License.
    -->
    
    <html>
    <head>
        <title>About these stubs</title>
    </head>
    <body>
    <h2>Design</h2>
    These stubs can be thought of as hand-coded mock objects. They allow unit tests to test only specific
    aspects of a component while ignoring others.
    
    These stubs form an internally consistent data-set that is not expected to change. They are
    HTML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Jul 02 16:47:10 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  5. 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)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaDataTest.groovy

        }
    
        def usesSetterToLocateOverriddenPropertyWhenGetterDoesNotOverrideAnything() {
            MethodMetaData getter = Mock()
            MethodMetaData setter = Mock()
            MethodMetaData overriddenSetter = Mock()
            ClassMetaData overriddenClass = Mock()
            PropertyMetaData overriddenProperty = Mock()
            propertyMetaData.getter = getter
            propertyMetaData.setter = setter
    
            when:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Viewed (0)
  7. 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)
  8. guava-tests/test/com/google/common/io/FlushablesTest.java

        // 'swallowException' when the mock does not throw an exception.
        setupFlushable(false);
        doFlush(mockFlushable, false, false);
    
        setupFlushable(false);
        doFlush(mockFlushable, true, false);
      }
    
      public void testFlush_flushableWithEatenException() throws IOException {
        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception on flush.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

                  public T apply(Object delegate) {
                    T mock = mock(forwarderClass, CALLS_REAL_METHODS);
                    try {
                      T stubber = doReturn(delegate).when(mock);
                      DELEGATE_METHOD.invoke(stubber);
                    } catch (Exception e) {
                      throw new RuntimeException(e);
                    }
                    return mock;
                  }
                });
      }
    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)
  10. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

        // Mocks to inject into toolchainManager
        @Mock
        private Logger logger;
    
        @InjectMocks
        private DefaultToolchainManager toolchainManager;
    
        @Mock
        private ToolchainFactory toolchainFactory_basicType;
    
        @Mock
        private ToolchainFactory toolchainFactory_rareType;
    
        @BeforeEach
        void onSetup() throws Exception {
            MockitoAnnotations.initMocks(this);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Apr 16 12:54:16 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top