Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 475 for actuel (0.06 sec)

  1. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

          public int hashCode() {
            return 1;
          }
        }
      }
    
      private static void assertContains(String expectedSubstring, String actual) {
        // TODO(kevinb): use a Truth assertion here
        if (!actual.contains(expectedSubstring)) {
          fail("expected <" + actual + "> to contain <" + expectedSubstring + ">");
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. okhttp/src/androidUnitTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.android.kt

    package okhttp3.internal.publicsuffix
    
    import androidx.test.core.app.ApplicationProvider
    import okhttp3.internal.platform.PlatformRegistry
    import org.robolectric.RobolectricTestRunner
    
    actual typealias PublicSuffixTestRunner = RobolectricTestRunner
    
    actual fun beforePublicSuffixTest() {
      PlatformRegistry.applicationContext = ApplicationProvider.getApplicationContext()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 08:21:20 UTC 2025
    - 974 bytes
    - Viewed (0)
  3. cmd/http-tracer_test.go

    			}
    		}(i)
    	}
    	wg.Wait()
    
    	finalStats := stats.Load(false)
    	expected := numGoroutines * opsPerGoroutine
    	actual := finalStats["TestAPI"]
    	if actual != expected {
    		t.Errorf("Race condition detected: expected %d, got %d (lost %d increments)",
    			expected, actual, expected-actual)
    	}
    }
    
    // TestBucketHTTPStatsRaceCondition tests concurrent access to bucket-level HTTP stats.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java

                    + LS + "  \t2) dependency2" + LS + LS;
            String actual = AbstractArtifactResolutionException.constructMissingArtifactMessage(
                    message, indentation, groupId, artifactId, version, type, classifier, downloadUrl, path);
            assertEquals(expected, actual);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            resp.received = true;
    
            session.transport(); // initialise transport
    
            // Mock the sessionSetup behavior to avoid actual network calls
            // The sessionSetup method would normally send authentication messages
            // Only mark the sessionSetup response as received, not the actual request/response
            doAnswer(invocation -> {
                ServerMessageBlock request = invocation.getArgument(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt

          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    
      @Test
      fun testBuildIfSupported() {
        val actual = OpenJSSEPlatform.buildIfSupported()
        assertThat(actual).isNotNull()
      }
    
      private fun enableTls() {
        // Generate a self-signed cert for the server to serve and the client to trust.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

     * limitations under the License.
     */
    package okhttp3
    
    import android.content.Context
    import okhttp3.internal.CONST_VERSION
    import okhttp3.internal.platform.PlatformRegistry
    
    actual object OkHttp {
      @JvmField
      actual val VERSION: String = CONST_VERSION
    
      /**
       * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running
       * a robolectric test.
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            // This would need to be implemented based on the actual SmbTransport constructor
            // For now, return null - this needs integration with the actual transport creation
            throw new UnsupportedOperationException("Transport creation needs integration with SmbTransportPool");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/CollectorTester.java

          assertEquivalent(expectedResult, collector.finisher().apply(finalAccum));
        }
      }
    
      private void assertEquivalent(R expected, R actual) {
        assertTrue(
            "Expected " + expected + " got " + actual + " modulo equivalence " + equivalence,
            equivalence.test(expected, actual));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java

            assertNotNull(context, "Context should be created");
            assertNotNull(context.options(), "Options should be available");
    
            // Test that icon methods don't throw exceptions
            // (The actual icon choice depends on terminal charset capabilities)
            context.success("Test success message");
            context.failure("Test failure message");
            context.warning("Test warning message");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top