- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 621 for arrange (0.07 seconds)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResultDataTest.java
import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.dbflute.utflute.core.PlainTestCase; public class ResultDataTest extends PlainTestCase { public void test_setRawData() { // ## Arrange ## final ResultData resultData = new ResultData(); final Object rawData = new Object(); // ## Act ## resultData.setRawData(rawData); // ## Assert ##Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
class BasicTests { @Test @DisplayName("Textual constructor happy path and toString consistency") void testTextualConstructorAndToString() throws Exception { // Arrange SID sid = new SID("S-1-5-21-1-2-3-1029"); // Act & Assert // toString should reconstruct exact textual form assertEquals("S-1-5-21-1-2-3-1029", sid.toString());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
@DisplayName("unwrap, domain, anonymous/guest flags happy paths") void unwrap_and_flags_happy(boolean[] flags) { boolean anonymous = flags[0]; boolean guest = flags[1]; // Arrange Subject subject = new Subject(); TestCredentials creds = new TestCredentials("DOMAIN", anonymous, guest, subject, false); // Act & AssertCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testErrorMessage_ja() throws Exception { // ## Arrange ## Locale.setDefault(Locale.JAPANESE); final SQLException sqlException = new SQLException("some reason", "fooState", 7650); final SQLException sqlException2 = new SQLException("hoge reason", "barState", 7660);
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
class SmbEndOfFileExceptionTest { /** * Verifies the no-arg constructor sets the expected message, status, and no cause. */ @Test void defaultConstructorSetsMessageAndStatus() { // Arrange & Act SmbEndOfFileException ex = new SmbEndOfFileException(); // Assert assertEquals("Unexpectedly reached end of file", ex.getMessage(), "Default message must match");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
} } /** * Test that the constructor initializes all fields correctly */ @Test public void testConstructor() { // Arrange int fid = 0x1234; int offset = 100; int remaining = 50; byte[] buffer = new byte[100]; int off = 10; int len = 40; // ActCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
/** * Test that the constructor copies settings from the wrapped connection. * @throws ProtocolException */ @Test void testConstructorCopiesSettings() throws ProtocolException { // Arrange when(mockConnection.getRequestMethod()).thenReturn("GET"); when(mockConnection.getAllowUserInteraction()).thenReturn(true); when(mockConnection.getDoInput()).thenReturn(true);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
} throw new NoSuchFieldException(name); } @Test @DisplayName("getResponseTimeout returns override for SMB requests") void getResponseTimeout_override() { // Arrange CommonServerMessageBlockRequest req = mock(CommonServerMessageBlockRequest.class); when(req.getOverrideTimeout()).thenReturn(1234); // Act int timeout = transport.getResponseTimeout(req);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
return new SmbPipeHandleImpl(pipe); } @Test @DisplayName("ensureTreeConnected acquires and reuses the tree handle") void ensureTreeConnected_acquireAndReuse() throws Exception { // Arrange SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\test"); when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree); // Act
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
when(tree.getConfig()).thenReturn(config); when(config.getMaximumBufferSize()).thenReturn(65535); when(config.getListSize()).thenReturn(65535); // Arrange: initial page with two entries, then one more entry, then no more files FileEntry fe1 = mock(FileEntry.class); lenient().when(fe1.getName()).thenReturn("file1");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0)