- Sort Score
- Result 10 results
- Languages All
Results 21 - 29 of 29 for testClass (0.07 sec)
-
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
@BeforeEach void setUp() throws Exception { // Create a real NtlmPasswordAuthentication instance auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass"); // Initialize ServerData to avoid NullPointerException SmbTransport.ServerData serverData = transport.new ServerData(); serverData.security = 0; // Set to 0 or appropriate value for SECURITY_SHARE
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
assertEquals(Ordering.natural().min(filtered), first); } catch (NoSuchElementException e) { assertTrue(filtered.isEmpty()); } } } public void testLast() { for (List<Integer> contents : SAMPLE_INPUTS) { C filtered = filter(createUnfiltered(contents), EVEN); try { Integer first = filtered.last();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
rDataLengthField.set(response, 31); // 1 + 18 + 6 + 6 // Number of names src[srcIndex] = 0x01; // Name entry with all flags set String name = "TESTFLAGS "; System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 1, 16); src[srcIndex + 16] = 0x00; // hex code src[srcIndex + 17] = (byte) 0xFE; // All flags except one: 11111110
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
// Given Configuration configWithCreds = mock(Configuration.class); when(configWithCreds.getDefaultUsername()).thenReturn("testuser"); when(configWithCreds.getDefaultPassword()).thenReturn("testpass"); when(configWithCreds.getDefaultDomain()).thenReturn("TESTDOMAIN"); when(configWithCreds.getBufferCacheSize()).thenReturn(16); when(configWithCreds.getMaximumBufferSize()).thenReturn(65536);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
assertEquals( Integer.MIN_VALUE, ContiguousSet.create(Range.<Integer>all(), integers()).first().intValue()); } public void testLast() { assertEquals(3, ContiguousSet.create(Range.closed(1, 3), integers()).last().intValue()); assertEquals(3, ContiguousSet.create(Range.open(0, 4), integers()).last().intValue()); assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
assertEquals( Integer.MIN_VALUE, ContiguousSet.create(Range.<Integer>all(), integers()).first().intValue()); } public void testLast() { assertEquals(3, ContiguousSet.create(Range.closed(1, 3), integers()).last().intValue()); assertEquals(3, ContiguousSet.create(Range.open(0, 4), integers()).last().intValue()); assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
assertEquals(null, sortedMultiset.tailMultiset(c.getElement(), OPEN).firstEntry()); } @CollectionSize.Require(SEVERAL) public void testLast() { assertEquals(c, sortedMultiset.lastEntry()); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL) public void testPollLast() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 20:14:36 UTC 2024 - 26K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
} /** * */ @Test public void testCopyBeanToNewBean_DestClassNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[destClass] is null.")); BeanUtil.copyBeanToNewBean(new Object(), (Class<?>) null); } /** * */ @Test public void testCopyMapToNewBean_SrcNull() {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 34.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
assertEquals(null, sortedMultiset.tailMultiset(c.getElement(), OPEN).firstEntry()); } @CollectionSize.Require(SEVERAL) public void testLast() { assertEquals(c, sortedMultiset.lastEntry()); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL) public void testPollLast() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 20:14:36 UTC 2024 - 26K bytes - Viewed (0)