Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 114 for testutil (0.14 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.io.IOException
    import java.util.Arrays
    import kotlin.test.assertFailsWith
    import okhttp3.TestUtil.headerEntries
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

    import assertk.fail
    import java.io.File
    import java.io.FileNotFoundException
    import java.io.IOException
    import java.util.ArrayDeque
    import kotlin.test.assertFailsWith
    import okhttp3.SimpleProvider
    import okhttp3.TestUtil
    import okhttp3.internal.cache.DiskLruCache.Editor
    import okhttp3.internal.cache.DiskLruCache.Snapshot
    import okhttp3.internal.concurrent.TaskFaker
    import okhttp3.internal.io.FaultyFileSystem
    import okio.FileSystem
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.TestUtil.assumeNotWindows
    import okhttp3.TestUtil.awaitGarbageCollection
    import okhttp3.internal.DoubleInetAddressDns
    import okhttp3.internal.RecordingOkAuthenticator
    import okhttp3.internal.USER_AGENT
    import okhttp3.internal.addHeaderLenient
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * @author shinsuke
     * @author kaorufuzita
     *
     */
    public final class TextUtil {
        private static final Logger logger = LoggerFactory.getLogger(TextUtil.class);
    
        private TextUtil() {
        }
    
        public static class TextNormalizeContext {
    
            private final Reader reader;
    
            private int initialCapacity = 10000;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

    import javax.net.ssl.X509TrustManager
    import okhttp3.internal.platform.Platform
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.HeldCertificate
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    object TlsUtil {
      val password = "password".toCharArray()
    
      private val localhost: HandshakeCertificates by lazy {
        // Generate a self-signed cert for the server to serve and the client to trust.
        val heldCertificate =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.TestUtil.assertSuppressed
    import okhttp3.internal.RecordingAuthenticator
    import okhttp3.internal.RecordingOkAuthenticator
    import okhttp3.internal.USER_AGENT
    import okhttp3.internal.addHeaderLenient
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  7. src/main/resources/mail/testmail.dfmail

    Shinsuke Sugaya <******@****.***> 1455285178 +0900
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Feb 12 13:52:58 UTC 2016
    - 146 bytes
    - Viewed (0)
  8. cni/pkg/install/cniconfig_test.go

    					}
    					t.Fatalf("did not expect to retrieve a CNI config file %s", resultFilepath)
    				}
    
    				resultConfig := testutils.ReadFile(t, resultFilepath)
    
    				goldenFilepath := filepath.Join("testdata", c.goldenConfName)
    				goldenConfig := testutils.ReadFile(t, goldenFilepath)
    				testutils.CompareBytes(t, resultConfig, goldenConfig, goldenFilepath)
    			}
    		}
    		t.Run("network-config-file "+c.name, test(cfgFile))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. cmd/erasure-sets_test.go

    	for i, testCase := range testCases {
    		if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash {
    			t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.sipHash, sipHashElement)
    		}
    	}
    
    	if sipHashElement := hashKey("SIPMOD", "This will fail", -1, testUUID); sipHashElement != -1 {
    		t.Errorf("Test: Expected \"-1\" but got \"%v\"", sipHashElement)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. cni/pkg/install/install_test.go

    			}
    
    			// check if conf file is deleted/conflist file is updated
    			if c.chainedCNIPlugin {
    				resultConfig := testutils.ReadFile(t, cniConfigFilePath)
    
    				goldenFilepath := filepath.Join("testdata", c.expectedConfigFilename)
    				goldenConfig := testutils.ReadFile(t, goldenFilepath)
    				testutils.CompareBytes(t, resultConfig, goldenConfig, goldenFilepath)
    			} else if file.Exists(cniConfigFilePath) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top