- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 2,990 for SHOULD (0.07 sec)
-
src/test/java/jcifs/netbios/SessionServicePacketTest.java
SessionServicePacket.writeInt2(0xABCD, dst, 4); assertEquals((byte) 0xFF, dst[2]); // Should be unchanged assertEquals((byte) 0xFF, dst[3]); // Should be unchanged assertEquals((byte) 0xAB, dst[4]); assertEquals((byte) 0xCD, dst[5]); } @Test @DisplayName("writeInt4 should correctly write 32-bit integer") void testWriteInt4() { byte[] dst = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
// When the accept method is called boolean result = dosFileFilter.accept(mockFile); // Then the result should be as expected if (expectedResult) { assertTrue(result, "File should be accepted"); } else { assertFalse(result, "File should not be accepted"); } } /** * Tests that the accept method returns true when the file has more attributes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
assertFalse( "Two Maps should not be equal if exactly one of them contains a null value.", getMap().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerMap() { Collection<Entry<K, V>> fewerEntries = getSampleEntries(getNumEntries() - 1); assertFalse(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
@CollectionSize.Require(absent = ZERO) public void testRemove_present() { int initialSize = collection.size(); assertTrue("remove(present) should return true", collection.remove(e0())); assertEquals( "remove(present) should decrease a collection's size by one.", initialSize - 1, collection.size()); expectMissing(e0()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 21:04:02 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
assertNotNull(response, "The response object should not be null."); } /** * Tests the writeSetupWireFormat method. */ @Test void testWriteSetupWireFormat() { byte[] dst = new byte[10]; int result = response.writeSetupWireFormat(dst, 0); assertEquals(0, result, "writeSetupWireFormat should always return 0."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaProviderFactoryTest.java
assertNotNull(provider, "Auto provider selection should return a provider"); assertTrue(provider.isAvailable(), "Returned provider should be available"); } @Test public void testCreateProviderTcp() { RdmaProvider provider = RdmaProviderFactory.createProvider("tcp"); assertNotNull(provider, "TCP provider should always be available");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
int bufferIndex = 0; // Set structure size to 4 (invalid, should be 2) SMBUtil.writeInt2(4, buffer, bufferIndex); SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex), "Should throw SMBProtocolDecodingException for invalid structure size");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
} @Test @DisplayName("Should preserve stack trace") void testStackTracePreservation() { // When RuntimeCIFSException exception = new RuntimeCIFSException("Test exception"); // Then assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Should contain this test method in stack trace
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertNotNull(lock); } @Test @DisplayName("Should create lock with zero offset and length") void testConstructorWithZeroValues() { lock = new Smb2Lock(0L, 0L, 0); assertNotNull(lock); } @Test @DisplayName("Should create lock with maximum values") void testConstructorWithMaxValues() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)