Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 533 for addTest (0.1 sec)

  1. tests/preload_test.go

    					Country:   nil,
    				},
    				AddressID: org.AddressID,
    				Address:   org.Address,
    				NestedAddress: NestedAddress{EmbeddedAddress{
    					ID:        org.NestedAddress.ID,
    					Name:      org.NestedAddress.Name,
    					CountryID: org.NestedAddress.CountryID,
    					Country:   nil,
    				}},
    			},
    		}, {
    			name:     "postal address country",
    			preloads: map[string][]interface{}{"PostalAddress.Country": {}},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. tests/scan_test.go

    	}
    }
    
    func TestScanToEmbedded(t *testing.T) {
    	person1 := Person{Name: "person 1"}
    	person2 := Person{Name: "person 2"}
    	DB.Save(&person1).Save(&person2)
    
    	address1 := Address{Name: "address 1"}
    	address2 := Address{Name: "address 2"}
    	DB.Save(&address1).Save(&address2)
    
    	DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address1.ID)})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/NetbiosAddress.java

     * @see java.net.InetAddress
     * @since jcifs-0.1
     */
    public interface NetbiosAddress extends Address {
    
        /**
         * Determines if the address is a group address. This is also
         * known as a workgroup name or group name.
         *
         * @param tc
         *            context to use
         * @return whether the given address is a group address
         *
         * @throws UnknownHostException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/witness/MockWitnessService.java

                }
            }
    
            registrations.clear();
            log.info("Mock witness service stopped");
        }
    
        /**
         * Get the address the service is listening on
         *
         * @return the service address
         * @throws IOException if address cannot be determined
         */
        public InetAddress getAddress() throws IOException {
            if (serverSocket == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
            // Setup mock query address
            mockQueryAddress = mock(NbtAddress.class);
            Name mockName = new Name(mockConfig, "TEST", 0x20, null);
            mockQueryAddress.hostName = mockName;
            // Convert IP address to int representation for NbtAddress
            InetAddress inetAddr = InetAddress.getByName("192.168.1.100");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

        for (challenge in challenges) {
          if (!"Basic".equals(challenge.scheme, ignoreCase = true)) {
            continue
          }
    
          val dns = route?.address?.dns ?: defaultDns
          val auth =
            if (proxyAuthorization) {
              val proxyAddress = proxy.address() as InetSocketAddress
              Authenticator.requestPasswordAuthentication(
                proxyAddress.hostName,
                proxy.connectToInetAddress(url, dns),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            when(config.getSessionTimeout()).thenReturn(30_000);
            when(config.getResponseTimeout()).thenReturn(5_000);
            when(address.getHostAddress()).thenReturn("127.0.0.1");
            when(address.getHostName()).thenReturn("testhost");
    
            transport = new SmbTransportImpl(context, address, 445, null, 0, false);
        }
    
        /**
         * Test that pre-auth integrity hash is properly synchronized
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                } else if (value instanceof Address[]) {
                    final int size = ((Address[]) value).length;
                    final String[] values = new String[size];
                    for (int i = 0; i < size; i++) {
                        final Address address = ((Address[]) value)[i];
                        values[i] = getDecodeText(address.toString());
                    }
                    data.putValues(key, values);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

        deferredPlans.isNotEmpty() || nextPlanIndex < plans.size || autoGeneratePlans
    
      override fun sameHostAndPort(url: HttpUrl): Boolean = url.host == address.url.host && url.port == address.url.port
    
      override fun close() {
        factory.close()
      }
    
      inner class FakePlan(
        val id: Int,
      ) : RoutePlanner.Plan {
        var planningThrowable: Throwable? = null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosConstants.java

        String KERBEROS_VERSION = "5";
    
        /** Kerberos AP-REQ message type */
        String KERBEROS_AP_REQ = "14";
    
        /** Address family: Internet (IPv4) */
        int AF_INTERNET = 2;
        /** Address family: CHANET */
        int AF_CHANET = 5;
        /** Address family: XNS */
        int AF_XNS = 6;
        /** Address family: ISO */
        int AF_ISO = 7;
    
        /** Authorization data type: Relevant */
        int AUTH_DATA_RELEVANT = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top