- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for testValue (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java
converterLookup = new DefaultConverterLookup(); evaluator = mock(ExpressionEvaluator.class); listener = mock(ConfigurationListener.class); when(evaluator.evaluate(anyString())).thenReturn("testValue"); for (int i = 0; i < 10; i++) { when(evaluator.evaluate(Integer.toString(i))).thenReturn(i); } when(evaluator.evaluate("123")).thenReturn(123);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 17 07:40:49 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
// Given: NdrShort with test value int testValue = 123; NdrShort ndrShort = new NdrShort(testValue); // When: Encoding the value ndrShort.encode(mockBuffer); // Then: Should call enc_ndr_short with masked value verify(mockBuffer).enc_ndr_short(testValue & 0xFF); verifyNoMoreInteractions(mockBuffer); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
}; for (long testValue : testValues) { FileInternalInfo testInfo = new FileInternalInfo(); byte[] buffer = new byte[8]; SMBUtil.writeInt8(testValue, buffer, 0); int bytesDecoded = testInfo.decode(buffer, 0, buffer.length); assertEquals(8, bytesDecoded); assertEquals(testValue, testInfo.getIndexNumber());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
// Test various values long[] testValues = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 0x123456789ABCDEFL }; for (long testValue : testValues) { // Create and encode FileEndOfFileInformation original = new FileEndOfFileInformation(testValue); byte[] buffer = new byte[8]; int encoded = original.encode(buffer, 0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
@BeforeEach void onSetup() { // MockitoAnnotations.openMocks(this); Map<String, String> envVarMap = new HashMap<>(); envVarMap.put("testKey", "testValue"); envVarMap.put("testSpecialCharactersKey", "<test&Value>"); OperatingSystemUtils.setEnvVarSource(new TestEnvVarSource(envVarMap)); } @Test void testBuildEmptyRequest() throws Exception {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0) -
statement.go
destValue := reflect.ValueOf(stmt.Dest) for destValue.Kind() == reflect.Ptr { destValue = destValue.Elem() } if stmt.ReflectValue != destValue { if !destValue.CanAddr() { destValueCanAddr := reflect.New(destValue.Type()) destValueCanAddr.Elem().Set(destValue) stmt.Dest = destValueCanAddr.Interface() destValue = destValueCanAddr.Elem() }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 20.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} catch (UnsupportedOperationException | NullPointerException e) { // Expected. } } assertInvariants(map); } public void testValues() { Map<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } assertInvariants(map);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0)