Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 1,418 for SetUp (0.04 seconds)

  1. src/test/java/jcifs/smb/PreauthIntegrityTest.java

        @Mock
        private Address address;
    
        @Mock
        private Smb2NegotiateResponse negotiateResponse;
    
        private SmbTransportImpl transport;
    
        @BeforeEach
        void setUp() throws Exception {
            when(context.getConfig()).thenReturn(config);
            when(config.isSigningEnforced()).thenReturn(false);
            when(config.getSessionTimeout()).thenReturn(30_000);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

        @Mock
        private SmbTransport transport;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            // Setup transport fields that are accessed directly
            transport.tconHostName = "testHost";
            // Setup session.transport field (accessed directly in SmbTree)
            session.transport = transport;
            // Setup session to return transport via method call
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/SerializableTester.java

     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
     * serialization tests require more setup. This no-op behavior allows test authors to intersperse
     * {@code SerializableTester} calls with other, GWT-compatible tests.
     *
     * @author Mike Bostock
     * @since 10.0
     */
    @GwtCompatible // but no-op!
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SessionSetupHandler.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    /**
     * Handler for SMB session setup operations.
     *
     * This interface defines methods for handling the session
     * setup process in SMB authentication.
     *
     * @author mbechler
     */
    public interface SessionSetupHandler {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1017 bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPlugin.java

            SourceSet yamlTestSourceSet = sourceSets.create(SOURCE_SET_NAME);
    
            registerTestTask(project, yamlTestSourceSet);
    
            // setup the dependencies
            setupTestDependenciesDefaults(project, yamlTestSourceSet);
    
            // setup the copy for the rest resources
            project.getTasks().withType(CopyRestApiTask.class).configureEach(copyRestApiTask -> {
                copyRestApiTask.setSourceResourceDir(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

        private TestSearchEngineClient searchEngineClient;
        private TestIngestFactory ingestFactory;
        private FessConfig.SimpleImpl fessConfig;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
    
            // Clear cached components in ComponentUtil using reflection
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

        private NotificationHelper notificationHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            notificationHelper = new NotificationHelper();
        }
    
        @Test
        public void test_sendToSlack_withBlankWebhookUrls() {
            // Setup mock configuration with blank webhook URLs
            ComponentUtil.setFessConfig(new MockFessConfig() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 20K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

        private PurgeLogJob purgeLogJob;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            purgeLogJob = new PurgeLogJob();
        }
    
        // Test all services execute successfully
        @Test
        public void test_execute_allSuccess() {
            // Setup tracking variables
            final boolean[] deleteCrawlingInfoCalled = { false };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 32.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * SMB2 Session Setup response message. This response contains the server's authentication
     * challenge or confirms successful session establishment.
     *
     * @author mbechler
     *
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (1)
  10. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

      @Param("1234")
      private SpecialRandom random;
    
      @Param({"ImmutableSetImpl", "HashSetImpl"})
      private SetImpl impl;
    
      // the following must be set during setUp
      private Set<Element> setToTest;
    
      @BeforeExperiment
      void setUp() {
        CollectionBenchmarkSampleData sampleData =
            new CollectionBenchmarkSampleData(true, random, 0.8, size);
        setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
Back to Top