Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 721 - 730 of 1,418 for SetUp (0.28 seconds)

  1. src/test/java/jcifs/context/BaseContextTest.java

    @DisplayName("BaseContext Tests")
    class BaseContextTest extends BaseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private BaseContext context;
    
        @BeforeEach
        void setUp() throws CIFSException {
            // Setup mock configuration with required methods
            when(mockConfig.getDefaultUsername()).thenReturn(null);
            when(mockConfig.getDefaultPassword()).thenReturn(null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                return super.encodeMessage(msg, out);
            }
        }
    
        private TestDcerpcHandle handle;
    
        @BeforeEach
        void setUp() {
            // Setup buffer cache mocks with lenient stubbing
            lenient().when(mockContext.getBufferCache()).thenReturn(mockBufferCache);
            lenient().when(mockBufferCache.getBuffer()).thenReturn(new byte[8192]);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class JobExecutorTest extends UnitFessTestCase {
    
        private JobExecutor jobExecutor;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            // Create a concrete implementation for testing
            jobExecutor = new TestJobExecutor();
        }
    
        @Test
        public void test_execute() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

    public class ImplementedInvokerAssistantTest extends UnitFessTestCase {
    
        private ImplementedInvokerAssistant invokerAssistant;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            invokerAssistant = new ImplementedInvokerAssistant();
        }
    
        // Test constructor
        @Test
        public void test_constructor() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

      String charsetName;
    
      @Param ReadStrategy strategy;
    
      @Param({"10", "1024", "1048576"})
      int size;
    
      Charset charset;
      ByteSource data;
    
      @BeforeExperiment
      public void setUp() {
        charset = Charset.forName(charsetName);
        StringBuilder sb = new StringBuilder();
        Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior
        sb.ensureCapacity(size);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

      String charsetName;
    
      @Param ReadStrategy strategy;
    
      @Param({"10", "1024", "1048576"})
      int size;
    
      Charset charset;
      ByteSource data;
    
      @BeforeExperiment
      public void setUp() {
        charset = Charset.forName(charsetName);
        StringBuilder sb = new StringBuilder();
        Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior
        sb.ensureCapacity(size);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

        @Mock
        private Configuration mockConfig;
    
        private static byte[] blobCred() {
            return "blobdata".getBytes(StandardCharsets.UTF_8);
        }
    
        @BeforeEach
        void setup() {
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockNegotiate.getServerData()).thenReturn(new ServerDataStub());
        }
    
        private void setupNegotiateStubs() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

      @Param({"0", "1", "16", "32", "100"})
      int componentLength;
    
      private Iterable<String> components;
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
        String component = Strings.repeat("a", componentLength);
        String[] raw = new String[count];
        Arrays.fill(raw, component);
        components = Arrays.asList(raw);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/context/AbstractCIFSContextTest.java

    import jcifs.smb.NtlmPasswordAuthenticator;
    
    class AbstractCIFSContextTest {
    
        private TestAbstractCIFSContext context;
    
        @Mock
        private Credentials mockCredentials;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            context = new TestAbstractCIFSContext(mockCredentials);
        }
    
        // Concrete implementation for testing AbstractCIFSContext
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

    /**
     * Tests {@link PropertyProfileActivator}.
     *
     */
    @Deprecated
    class PropertyProfileActivatorTest extends AbstractProfileActivatorTest<PropertyProfileActivator> {
    
        @BeforeEach
        @Override
        void setUp() throws Exception {
            activator = new PropertyProfileActivator();
        }
    
        private Profile newProfile(String key, String value) {
            ActivationProperty ap =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top