- Sort Score
- Num 10 results
- Language All
Results 821 - 830 of 1,163 for Setup (0.03 seconds)
-
src/test/java/jcifs/http/HandlerTest.java
@ExtendWith(MockitoExtension.class) class HandlerTest { @Mock private CIFSContext mockCifsContext; private Handler handler; private Properties originalSystemProperties; @BeforeEach void setUp() throws Exception { // Backup system properties to restore them after each test originalSystemProperties = (Properties) System.getProperties().clone();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
import jcifs.smb.SmbException; /** * Test cases for ServerResponseValidator */ public class ServerResponseValidatorTest { private ServerResponseValidator validator; @BeforeEach public void setUp() { validator = new ServerResponseValidator(); } @Test public void testValidBuffer() throws Exception { byte[] buffer = new byte[1024]; validator.validateBuffer(buffer, 100, 2048);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
private File projectDir private File docsRoot private File samplesRoot private File sampleDoc private File sampleSampleDoc private File releaseNotes private File linkErrors private setup() { docsRoot = new File(projectDir, "docsRoot") new File(docsRoot, 'javadoc').mkdirs() sampleDoc = new File(docsRoot, "sample.adoc") new File(projectDir,"build/working/samples/docs").mkdirs()Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Aug 21 16:24:54 GMT 2025 - 11.6K bytes - Click Count (0) -
schema/field.go
case reflect.Int8, reflect.Uint8: field.Size = 8 case reflect.Int16, reflect.Uint16: field.Size = 16 case reflect.Int32, reflect.Uint32, reflect.Float32: field.Size = 32 } } // setup permission if val, ok := field.TagSettings["-"]; ok { val = strings.ToLower(strings.TrimSpace(val)) switch val { case "-": field.Creatable = false field.Updatable = false field.Readable = false
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 32.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
*/ class Trans2GetDfsReferralResponseTest { @Mock private Configuration mockConfig; private Trans2GetDfsReferralResponse response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); response = new Trans2GetDfsReferralResponse(mockConfig); } @Nested @DisplayName("Constructor and Initialization Tests") class ConstructorTests {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
*/ @DisplayName("Smb2TreeConnectResponse Tests") class Smb2TreeConnectResponseTest extends BaseTest { private Configuration mockConfig; private Smb2TreeConnectResponse response; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); response = new Smb2TreeConnectResponse(mockConfig); } @Test @DisplayName("Should create response with configuration")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
private static final String TEST_REMARK = "Test share remark"; private static final int TEST_TYPE = 0x00000000; // Standard share type @BeforeEach void setUp() { shareInfo = new SmbShareInfo(); } @Test @DisplayName("Test default constructor") void testDefaultConstructor() { // Verify default values
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
} void setThrowExceptionOnReadData(boolean value) { this.throwExceptionOnReadData = value; } } @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getMaximumBufferSize()).thenReturn(65535); when(mockConfig.getPid()).thenReturn(1234);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestTest.java
@Mock private CIFSContext context; @Mock private CommonServerMessageBlock disconnectRequest; @Mock private CommonServerMessageBlockRequest nextRequest; @BeforeEach void setUp() { // Reset mocks before each test reset(request, response, context, disconnectRequest, nextRequest); } @Test @DisplayName("Test initResponse returns initialized response")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
/** * Tests for {@link Closer}. * * @author Colin Decker */ @NullUnmarked public class CloserTest extends TestCase { private TestSuppressor suppressor; @Override protected void setUp() throws Exception { suppressor = new TestSuppressor(); } public void testNoExceptionsThrown() throws IOException { Closer closer = new Closer(suppressor);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.8K bytes - Click Count (0)