Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 612 for Initialize (0.05 sec)

  1. android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt

          hasMessage("Unable to load PublicSuffixDatabase.list resource.")
          cause().isNotNull().all {
            hasMessage(
              "Platform applicationContext not initialized. " +
                "Startup Initializer possibly disabled, " +
                "call OkHttp.initialize before test.",
            )
            hasClass<IOException>()
          }
        }
      }
    
      companion object {
        @AfterClass
        @JvmStatic
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 16:25:39 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

      /**
       * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running
       * a robolectric test.
       *
       * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but
       * may expand in the future.
       */
      fun initialize(applicationContext: Context) {
        if (PlatformRegistry.applicationContext == null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/MsrpcGetMembersInAliasTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Should correctly initialize MsrpcGetMembersInAlias with provided parameters")
        void testConstructorInitialization() {
            // Given
            // Mocks are already initialized by @BeforeEach
    
            // When
            MsrpcGetMembersInAlias msrpcGetMembersInAlias = new MsrpcGetMembersInAlias(mockAliasHandle, mockSids);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/labeltype/CreateForm.java

        /**
         * The timestamp when this label type was created.
         */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
         * Initializes the form with default values.
         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
            sortOrder = 0;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/scheduler/CreateForm.java

        /**
         * The timestamp when this scheduled job was created.
         */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
         * Initializes the form with default values for creating a new scheduled job.
         */
        public void initialize() {
            target = Constants.DEFAULT_JOB_TARGET;
            cronExpression = Constants.DEFAULT_CRON_EXPRESSION;
            scriptType = Constants.DEFAULT_JOB_SCRIPT_TYPE;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            // Initialize NameQueryResponse before each test
            nameQueryResponse = new NameQueryResponse(mockConfig);
        }
    
        @Test
        void constructor_shouldInitializeRecordName() throws NoSuchFieldException, IllegalAccessException {
            // Verify that the 'recordName' field in the superclass (NameServicePacket) is initialized
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. cmd/config-migrate.go

    	configFiles := []string{
    		getConfigFile(),
    		getConfigFile() + ".deprecated",
    		configFile,
    	}
    
    	newServerCfg := func() (config.Config, error) {
    		// Initialize server config.
    		srvCfg := newServerConfig()
    
    		return srvCfg, saveServerConfig(ctx, objAPI, srvCfg)
    	}
    
    	var data []byte
    	var err error
    
    	cfg := &serverConfigV33{}
    	for _, cfgFile := range configFiles {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. cmd/bucket-policy-handlers_test.go

    		},
    	}
    
    	// Iterating over the test cases, calling the function under test and asserting the response.
    	for i, testCase := range testCases {
    		// obtain the put bucket policy request body.
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		recV4 := httptest.NewRecorder()
    		// construct HTTP request for PUT bucket policy endpoint.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/role/CreateForm.java

        public String name;
    
        /**
         * The attributes map for the role.
         */
        public Map<String, String> attributes = new HashMap<>();
    
        /**
         * Initializes the form with default values for creating a new role.
         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/badword/CreateForm.java

        /**
         * The timestamp when this bad word entry was created.
         */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
         * Initializes the form with default values including current user and timestamp.
         */
        public void initialize() {
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top