- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 1,418 for SetUp (0.02 seconds)
-
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
import jcifs.smb1.smb1.SmbException; @ExtendWith(MockitoExtension.class) class LsaPolicyHandleTest { @Mock private DcerpcHandle mockDcerpcHandle; @BeforeEach void setUp() { // Setup is handled by MockitoExtension } @Test void constructor_shouldOpenPolicySuccessfully() throws IOException { // Arrange String server = "testServer"; int access = 123;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
@DisplayName("SmbComSeekResponse tests") class SmbComSeekResponseTest { @Mock private Configuration mockConfig; private SmbComSeekResponse response; @BeforeEach void setUp() { // Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSeekResponse(mockConfig); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
/** * Tests may use this to intercept messages that are logged by the code under test. Example: * * <pre> * TestLogHandler handler; * * protected void setUp() throws Exception { * super.setUp(); * handler = new TestLogHandler(); * SomeClass.logger.addHandler(handler); * addTearDown(new TearDown() { * public void tearDown() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
private final int attributes = 1; private final long createTime = System.currentTimeMillis(); private final long lastWriteTime = System.currentTimeMillis(); @BeforeEach void setUp() { trans2SetFileInformation = new Trans2SetFileInformation(fid, attributes, createTime, lastWriteTime); } @Test void testConstructor() { // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
import jakarta.validation.Payload; public class CustomSizeValidatorTest extends UnitFessTestCase { private CustomSizeValidator validator; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); validator = new CustomSizeValidator(); } @Test public void test_constructor() { assertNotNull(validator); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0) -
.github/workflows/go-healing.yml
runs-on: ${{ matrix.os }} strategy: matrix: go-version: [1.24.x] os: [ubuntu-latest] steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} check-latest: true - name: Build on ${{ matrix.os }} if: matrix.os == 'ubuntu-latest' env: CGO_ENABLED: 0Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 1.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java
*/ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class UncaughtExceptionHandlersTest extends TestCase { private RuntimeWrapper runtimeMock; @Override protected void setUp() { runtimeMock = mock(RuntimeWrapper.class); } public void testExiter() { new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception()); verify(runtimeMock).exit(1); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacGroupTest.java
/** * Tests for the {@link PacGroup} class. */ class PacGroupTest { private SID mockSid; private PacGroup pacGroup; private final int attributes = 42; @BeforeEach void setUp() { // Mock the SID object mockSid = mock(SID.class); pacGroup = new PacGroup(mockSid, attributes); } /** * Test method for {@link jcifs.pac.PacGroup#PacGroup(jcifs.smb.SID, int)}.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
.github/workflows/go-lint.yml
runs-on: ${{ matrix.os }} strategy: matrix: go-version: [1.24.x] os: [ubuntu-latest] steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} check-latest: true - name: Build on ${{ matrix.os }} if: matrix.os == 'ubuntu-latest' env: CGO_ENABLED: 0Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 1010 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java
import org.junit.jupiter.api.TestInfo; public class FileTypeHelperTest extends UnitFessTestCase { private FileTypeHelper fileTypeHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); fileTypeHelper = new FileTypeHelper(); } @Test public void test_init() { try { fileTypeHelper.init();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 5.6K bytes - Click Count (0)