- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 3,261 for avoid (0.03 sec)
-
src/test/java/jcifs/smb1/UniAddressTest.java
@Test void constructorAcceptsNonNullObject() { // Arrange : create a dummy address InetAddress dummy = mock(InetAddress.class); // Act UniAddress ua = new UniAddress(dummy); // Assert assertSame(dummy, ua.getAddress(), "constructor should store the supplied address"); } @Test void constructorRejectsNull() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassUtilTest.java
/** * @throws Exception */ @Test(expected = EmptyArgumentException.class) public void testForName_EmptyName() throws Exception { ClassUtil.forName(""); } /** * @throws Exception */ @Test(expected = EmptyArgumentException.class) public void testGetField_EmptyName() throws Exception { ClassUtil.getField(getClass(), ""); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
*/ @Test public void testAdd_int() throws Exception { final int[] array = new int[] { 1 }; final int[] newArray = ArrayUtil.add(array, 2); assertThat(newArray.length, is(2)); assertThat(newArray[0], is(1)); assertThat(newArray[1], is(2)); } /** * @throws Exception */ @Test public void testIndexOf() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
void testOwnerSecurityInfo() { assertEquals(0x1, SecurityInfo.OWNER_SECURITY_INFO); } @Test @DisplayName("Test GROUP_SECURITY_INFO constant value") void testGroupSecurityInfo() { assertEquals(0x2, SecurityInfo.GROUP_SECURITY_INFO); } @Test @DisplayName("Test DACL_SECURITY_INFO constant value") void testDaclSecurityInfo() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
public void testSetValue_invalidType() throws Exception { final MyBean myBean = new MyBean(); final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final PropertyDesc propDesc = beanDesc.getPropertyDesc("url"); propDesc.setValue(myBean, new Object()); } /** * @throws Exception */ @Test(expected = IllegalPropertyRuntimeException.class)
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 11K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
public class MultisetAddTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddUnsupported() { assertThrows(UnsupportedOperationException.class, () -> getMultiset().add(e0())); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddMeansAddOne() { int originalCount = getMultiset().count(e0()); assertTrue(getMultiset().add(e0()));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
*/ @DisplayName("RuntimeCIFSException Tests") class RuntimeCIFSExceptionTest extends BaseTest { @Test @DisplayName("Should create RuntimeCIFSException with default constructor") void testDefaultConstructor() { // When RuntimeCIFSException exception = new RuntimeCIFSException(); // Then assertNotNull(exception); assertNull(exception.getMessage());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
* prod. */ @AndroidIncompatible public void testInterruptIsSlow() throws Exception { CountDownLatch isInterruptibleRegistered = new CountDownLatch(1); SlowChannel slowChannel = new SlowChannel(); InterruptibleTask<@Nullable Void> task = new InterruptibleTask<@Nullable Void>() { @Override @Nullable Void runInterruptibly() throws Exception { slowChannel.doBegin();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
@CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_PUT) public void testPutAllNonEmptyIterableOnPresentKey() { assertTrue(multimap().putAll(k0(), newArrayList(v3(), v4())::iterator)); assertGet(k0(), v0(), v3(), v4()); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_PUT) public void testPutAllNonEmptyCollectionOnPresentKey() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
@DisplayName("Test initial indexNumber value is 0") void testInitialIndexNumber() { assertEquals(0L, fileInternalInfo.getIndexNumber()); } @Test @DisplayName("Test size method returns 8") void testSize() { assertEquals(8, fileInternalInfo.size()); } @Test @DisplayName("Test decode with valid data") void testDecodeWithValidData() throws SMBProtocolDecodingException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)