- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 4,969 for new1 (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
return false; } } return true; }; TypeWithDuplicates a = new TypeWithDuplicates(1, 1); TypeWithDuplicates b1 = new TypeWithDuplicates(2, 1); TypeWithDuplicates b2 = new TypeWithDuplicates(2, 2); TypeWithDuplicates c = new TypeWithDuplicates(3, 1); CollectorTester.of(collector, equivalence) .expectCollects(ImmutableSet.of(a, b1, c), a, b1, c, b2);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
private PropertyConfiguration config; @BeforeEach public void setUp() throws CIFSException { // Create a mock configuration for testing Properties properties = new Properties(); config = new PropertyConfiguration(properties); context = mock(CIFSContext.class); when(context.getConfig()).thenReturn(config); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
public boolean isGuest() { return this.guest; } } static Stream<boolean[]> anonGuestFlags() { return Stream.of(new boolean[] { false, false }, new boolean[] { true, false }, new boolean[] { false, true }, new boolean[] { true, true }); } @ParameterizedTest @MethodSource("anonGuestFlags") @DisplayName("unwrap, domain, anonymous/guest flags happy paths")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
if (is == null) { throw new IOException("Resource not found: non/existent/resource.json"); } // This line should not be reached new String(is.readAllBytes(), StandardCharsets.UTF_8); fail("Should throw IOException for missing resource"); }
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
@AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(ImmutableMultisetTest.class); suite.addTest( MultisetTestSuiteBuilder.using( new TestStringMultisetGenerator() { @Override protected Multiset<String> create(String[] elements) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 20.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
@BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); Properties props = new Properties(); config = new PropertyConfiguration(props); } @Test void testConstructor() { // Test constructor with SMB_INFO_ALLOCATION response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); assertNotNull(response);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
void testEncodeSizeConsistency() { // Given byte[] sourceKey = new byte[SOURCE_KEY_SIZE]; Arrays.fill(sourceKey, (byte) 0x55); SrvCopychunk[] testCases = { new SrvCopychunk(1, 2, 3), new SrvCopychunk(4, 5, 6), new SrvCopychunk(7, 8, 9), new SrvCopychunk(10, 11, 12), new SrvCopychunk(13, 14, 15) };
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
.createTestSuite(); } private static String[] dedupe(String[] elements) { Set<String> tmp = new LinkedHashSet<>(); Collections.addAll(tmp, elements); return tmp.toArray(new String[0]); } static <T> Comparator<T> arbitraryNullFriendlyComparator() { return new NullFriendlyComparator<>(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 19.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
BigDecimal maxDoubleAsBigDecimal = new BigDecimal(Double.MAX_VALUE); new RoundToDoubleTester(maxDoubleAsBigDecimal) .setExpectation(Double.MAX_VALUE, RoundingMode.values()) .test(); } public void testRoundToDouble_maxDoublePlusOne() { BigDecimal maxDoubleAsBigDecimal = new BigDecimal(Double.MAX_VALUE).add(BigDecimal.ONE); new RoundToDoubleTester(maxDoubleAsBigDecimal)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
ClassLoader customClassLoader = new URLClassLoader(new URL[0], null) { @Override public Class<?> loadClass(String name) throws ClassNotFoundException { if ("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager".equals(name)) { // Simulate class not found throw new ClassNotFoundException(name); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0)