Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 1,892 for testint (0.09 sec)

  1. cni/pkg/plugin/plugin_cni_conformance.go

    // limitations under the License.
    
    package plugin
    
    import (
    	"testing"
    
    	"github.com/containernetworking/cni/pkg/types"
    )
    
    // Validate k8sArgs struct works for unmarshalling kubelet args
    // This is important for CNI plugin conformance
    func TestLoadArgs(t *testing.T) {
    	kubeletArgs := "IgnoreUnknown=1;K8S_POD_NAMESPACE=istio-system;" +
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed May 29 21:50:09 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. tests/embedded_struct_test.go

    package tests_test
    
    import (
    	"database/sql/driver"
    	"encoding/json"
    	"errors"
    	"reflect"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestEmbeddedStruct(t *testing.T) {
    	type ReadOnly struct {
    		ReadOnly *bool
    	}
    
    	type BasePost struct {
    		Id    int64
    		Title string
    		URL   string
    		ReadOnly
    	}
    
    	type Author struct {
    		ID    string
    		Name  string
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. docs/en/docs/reference/testclient.md

    You can use the `TestClient` class to test FastAPI applications without creating an actual HTTP and socket connection, just communicating directly with the FastAPI code.
    
    Read more about it in the [FastAPI docs for Testing](https://fastapi.tiangolo.com/tutorial/testing/).
    
    You can import it directly from `fastapi.testclient`:
    
    ```python
    from fastapi.testclient import TestClient
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 450 bytes
    - Viewed (0)
  4. tests/error_translator_test.go

    package tests_test
    
    import (
    	"errors"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/utils/tests"
    )
    
    func TestDialectorWithErrorTranslatorSupport(t *testing.T) {
    	// it shouldn't translate error when the TranslateError flag is false
    	translatedErr := errors.New("translated error")
    	untranslatedErr := errors.New("some random error")
    	db, _ := gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr})
    
    	err := db.AddError(untranslatedErr)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 12 13:21:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringMultisetGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.SampleElements.Strings;
    import java.util.List;
    
    /**
     * Create multisets of strings for tests.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.testers.ReflectionFreeAssertThrows.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code get()} operations on a list. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. istioctl/pkg/config/config_test.go

    // limitations under the License.
    
    package config
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    
    	"github.com/spf13/viper"
    
    	"istio.io/istio/istioctl/pkg/util/testutil"
    	"istio.io/istio/pkg/config/constants"
    )
    
    func TestConfigList(t *testing.T) {
    	cases := []testutil.TestCase{
    		//{ // case 0
    		//	Args:           strings.Split("get istioNamespace", " "),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. internal/handlers/proxy_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package handlers
    
    import (
    	"net/http"
    	"testing"
    )
    
    type headerTest struct {
    	key      string // header key
    	val      string // header val
    	expected string // expected result
    }
    
    func TestGetScheme(t *testing.T) {
    	headers := []headerTest{
    		{xForwardedProto, "https", "https"},
    		{xForwardedProto, "http", "http"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 22 00:56:55 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

    import com.google.common.collect.testing.IteratorTester;
    import com.google.common.collect.testing.ListIteratorTester;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import com.google.common.collect.testing.google.ListMultimapTestSuiteBuilder;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.testing.features.MapFeature;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code BiMap.clear}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top