- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for expectations (0.1 seconds)
-
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
findNtStatus(dosErr).ifPresent(mock::consume); verify(mock).consume(expectedNt); } @Test @DisplayName("DOS_ERROR_MESSAGES length matches expectations") void testMessageArrayLength() { assertNotNull(DosError.DOS_ERROR_MESSAGES, "DOS_ERROR_MESSAGES should be non‑null");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
* validating constants. */ public class SmbConstantsTest { /** * Verify that the hard‑coded default values are present. */ @Test @DisplayName("Default constant values match expectations") void defaultValues() { assertEquals(445, SmbConstants.DEFAULT_PORT); assertEquals(10, SmbConstants.DEFAULT_MAX_MPX_COUNT); assertEquals(30000, SmbConstants.DEFAULT_RESPONSE_TIMEOUT);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
@BeforeEach public void setUp() { MockitoAnnotations.openMocks(this); } @Test public void testConstructorInitializesFields() { // Test constructor initialization with proper expectations String pipeName = "\\\\pipe\\testPipe"; TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName); // Verify the name is set correctly assertEquals(pipeName, pipe.name);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
public class SmbResourceLocatorTest { /** * A very small concrete implementation used only by the tests. It parses * the URL string and performs minimal validation – just enough to make the * happy-path expectations deterministic. */ private static class DummySmbResourceLocator implements SmbResourceLocator { private final String urlStr; private final String host; private final String path;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
architecture/standards/0010-gradle-properties-naming.md
Since the name of the property is the primary source of immediate information for users, both the names themselves and their structure should convey enough information to set the right expectations. Previously, there was no formalization of property naming; only loose conventions were followed.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 06 09:25:54 GMT 2026 - 8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
assertThat(matcher.trimFrom(s)).isEqualTo(""); assertEquals(s.length(), matcher.countIn(s)); } // Kotlin subSequence()/replace() always return new strings, violating expectations of this test @J2ktIncompatible public void testGeneral() { doTestGeneral(is('a'), 'a', 'b'); doTestGeneral(isNot('a'), 'b', 'a'); doTestGeneral(anyOf("x"), 'x', 'z');
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 32.4K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
canonicalizeWildcardsInType(((GenericArrayType) type).getGenericComponentType())); } return type; } // WARNING: the returned type may have empty upper bounds, which may violate common expectations // by user code or even some of our own code. It's fine for the purpose of checking subtypes. // Just don't ever let the user access it. private static WildcardType canonicalizeWildcardType(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.8K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.26.md
- Clarified the CFS quota as 100ms in the code comments and set the minimum `cpuCFSQuotaPeriod` to 1ms to match Linux kernel expectations. ([#112123](https://github.com/kubernetes/kubernetes/pull/112123), [@paskal](https://github.com/paskal))
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Tue Sep 02 13:51:56 GMT 2025 - 425.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/BigDecimalMathTest.java
for (Map.Entry<RoundingMode, Double> entry : expectedValues.entrySet()) { RoundingMode mode = entry.getKey(); Double expectation = entry.getValue(); assertWithMessage("roundToDouble(%s, %s)", input, mode) .that(BigDecimalMath.roundToDouble(input, mode)) .isEqualTo(expectation); } if (!expectedValues.containsKey(UNNECESSARY)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 11K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
val bufferedRequestBody = exchange.createRequestBody(request, true).buffer() requestBody.writeTo(bufferedRequestBody) } else { // Write the request body if the "Expect: 100-continue" expectation was met. val bufferedRequestBody = exchange.createRequestBody(request, false).buffer() requestBody.writeTo(bufferedRequestBody) bufferedRequestBody.close() } } else {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 7.6K bytes - Click Count (0)