Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for jsTest (0.29 sec)

  1. src/cmd/go/internal/modindex/read.go

    		if pkg == "documentation" {
    			p.IgnoredGoFiles = append(p.IgnoredGoFiles, name)
    			continue
    		}
    		isTest := strings.HasSuffix(name, "_test.go")
    		isXTest := false
    		if isTest && strings.HasSuffix(tf.pkgName(), "_test") && p.Name != tf.pkgName() {
    			isXTest = true
    			pkg = pkg[:len(pkg)-len("_test")]
    		}
    
    		if !isTest && tf.binaryOnly() {
    			p.BinaryOnly = true
    		}
    
    		if p.Name == "" {
    			p.Name = pkg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/test.go

    		return true
    	}
    	return false
    }
    
    // isTest tells whether name looks like a test (or benchmark, according to prefix).
    // It is a Test (say) if there is a character after Test that is not a lower-case letter.
    // We don't want TesticularCancer.
    func isTest(name, prefix string) bool {
    	if !strings.HasPrefix(name, prefix) {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. src/testing/fstest/testfs.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package fstest implements support for testing implementations and users of file systems.
    package fstest
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"io/fs"
    	"path"
    	"reflect"
    	"slices"
    	"strings"
    	"testing/iotest"
    )
    
    // TestFS tests a file system implementation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

            }
    
            @Override
            String toString() {
                return descriptor.displayName
            }
    
            boolean isTest() {
                return descriptor instanceof TestOperationDescriptor
            }
    
            boolean isTestClassOrMethod() {
                return isTest() && (descriptor.className || descriptor.methodName)
            }
    
            boolean isTask() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java

            }
    
            listener.testPlanExecutionFinished(testPlan);
        }
    
        private void dryRun(TestIdentifier testIdentifier, TestPlan testPlan, TestExecutionListener listener) {
            if (testIdentifier.isTest()) {
                listener.executionSkipped(testIdentifier, "Gradle test execution dry run");
            } else {
                listener.executionStarted(testIdentifier);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"bytes"
    	"encoding/hex"
    	"errors"
    	"io"
    	"io/fs"
    	"os"
    	"path"
    	"reflect"
    	"slices"
    	"strings"
    	"testing"
    	"testing/fstest"
    	"testing/iotest"
    	"time"
    )
    
    func bytediff(a, b []byte) string {
    	const (
    		uniqueA  = "-  "
    		uniqueB  = "+  "
    		identity = "   "
    	)
    	var ss []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  7. src/go/build/deps_test.go

    	< net/rpc
    	< net/rpc/jsonrpc;
    
    	# System Information
    	bufio, bytes, internal/cpu, io, os, strings, sync
    	< internal/sysinfo;
    
    	# Test-only
    	log
    	< testing/iotest
    	< testing/fstest;
    
    	FMT, flag, math/rand
    	< testing/quick;
    
    	FMT, DEBUG, flag, runtime/trace, internal/sysinfo, math/rand
    	< testing;
    
    	log/slog, testing
    	< testing/slogtest;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        String message =
            String.format(
                Locale.ROOT,
                "Error in automated %s of %s\n"
                    + "If the class is better tested explicitly, you can add %s() to %sTest",
                description,
                cls,
                explicitTestNames.get(0),
                cls.getName());
        return new AssertionError(message, e);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        String message =
            String.format(
                Locale.ROOT,
                "Error in automated %s of %s\n"
                    + "If the class is better tested explicitly, you can add %s() to %sTest",
                description,
                cls,
                explicitTestNames.get(0),
                cls.getName());
        return new AssertionError(message, e);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. docs/fr/docs/alternatives.md

    **FastAPI** n'est pas réellement une alternative à **Requests**. Leur cadre est très différent.
    
    Il serait en fait plus courant d'utiliser Requests _à l'intérieur_ d'une application FastAPI.
    
    Mais quand même, FastAPI s'est inspiré de Requests.
    
    **Requests** est une bibliothèque pour _interagir_ avec les API (en tant que client), tandis que **FastAPI** est une bibliothèque pour _créer_ des API (en tant que serveur).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top