Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 828 for Helpers (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/bucket-lifecycle_test.go

    		if actual := tc.restoreStatus.OnDisk(); actual != tc.ondisk {
    			t.Fatalf("Test %d: expected %v but got %v", i+1, tc.ondisk, actual)
    		}
    	}
    }
    
    // TestIsRestoredObjectOnDisk tests isRestoredObjectOnDisk helper function
    func TestIsRestoredObjectOnDisk(t *testing.T) {
    	testCases := []struct {
    		meta   map[string]string
    		ondisk bool
    	}{
    		{
    			// restore in progress
    			meta: map[string]string{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

            verifyPathPattern("AdminWebconfig", "/admin/webconfig/");
        }
    
        private void verifyPathPattern(String prefix, String basePath) throws Exception {
            // Helper method to verify common pattern
            String baseFieldName = "path_" + prefix + "_" + prefix + "Jsp";
            String detailsFieldName = "path_" + prefix + "_" + prefix + "DetailsJsp";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

                if (throwExceptionOnReadData) {
                    throw new SMBProtocolDecodingException("Test exception in readDataWireFormat");
                }
                return dataWireFormatReturn;
            }
    
            // Helper methods for testing
            void setSetupWireFormatReturn(int value) {
                this.setupWireFormatReturn = value;
            }
    
            void setParametersWireFormatReturn(int value) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

     */
    package org.codelibs.fess.ldap;
    
    import java.util.ArrayList;
    import java.util.Hashtable;
    import java.util.List;
    import java.util.concurrent.atomic.AtomicBoolean;
    
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Helper classes for various benchmarks.
     *
     * @author Christopher Swenson
     */
    @NullUnmarked
    final class BenchmarkHelpers {
      /** So far, this is the best way to test various implementations of {@link Set} subclasses. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
     * test with reference to the same "lock-like object", and then their interactions with that object
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SSPContextTest.java

            }
        }
    
        @Nested
        @DisplayName("Mockito interactions")
        class MockitoInteractions {
    
            @Mock
            SSPContext mockCtx;
    
            // Helper exercising all SSPContext methods to verify call interactions.
            private void useContext(SSPContext ctx) throws Exception {
                ctx.getSigningKey();
                ctx.isEstablished();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    
    @ExtendWith(MockitoExtension.class)
    class SmbTreeConnectionTraceTest {
    
        // Helper to build a minimal smb URL
        private static URL smbUrl(String spec) {
            try {
                return new URL(null, spec, new Handler());
            } catch (MalformedURLException e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/MIENameTest.java

    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class MIENameTest {
    
        // Helper to build a valid buffer according to the expected layout.
        private static byte[] buildBuffer(byte[] oidDer, byte[] nameBytes) {
            byte[] tokId = new byte[] { 0x04, 0x01 };
            int oidLen = oidDer.length;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            public void testIsHiddenForDollarShare() throws Exception {
                SmbFile hiddenShare = new SmbFile("smb1://server/C$/");
                assertTrue(hiddenShare.isHidden());
            }
        }
    
        // Helper method to create a mock SmbFile for more advanced tests if needed
        private SmbFile createMockSmbFile(String url, NtlmPasswordAuthentication auth) throws MalformedURLException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top