Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 1,892 for testint (0.08 sec)

  1. cni/pkg/log/uds_test.go

    package log
    
    import (
    	"encoding/json"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    	"time"
    
    	"istio.io/istio/cni/pkg/constants"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestUDSLog(t *testing.T) {
    	// Start UDS log server
    	udsSockDir := t.TempDir()
    	udsSock := filepath.Join(udsSockDir, "cni.sock")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. guava-gwt/src/com/google/common/base/Base.gwt.xml

    <module>
    <source path="">
      <!-- Hack to keep collect from hiding collect.testing supersource: -->
      <exclude name="**/testing/**"/>
    </source>
    
    <!--
        We used to set this only for packages that had manual supersource. That
        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/noncurrentversion_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import "testing"
    
    func Test_NoncurrentVersionsExpiration_Validation(t *testing.T) {
    	testcases := []struct {
    		n   NoncurrentVersionExpiration
    		err error
    	}{
    		{
    			n: NoncurrentVersionExpiration{
    				NoncurrentDays:          0,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 14 17:41:44 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. tests/callbacks_test.go

    package tests_test
    
    import (
    	"fmt"
    	"reflect"
    	"runtime"
    	"strings"
    	"testing"
    
    	"gorm.io/gorm"
    )
    
    func assertCallbacks(v interface{}, fnames []string) (result bool, msg string) {
    	var (
    		got   []string
    		funcs = reflect.ValueOf(v).Elem().FieldByName("fns")
    	)
    
    	for i := 0; i < funcs.Len(); i++ {
    		got = append(got, getFuncName(funcs.Index(i)))
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.Helpers.orderEntriesByKey;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.Helpers.orderEntriesByKey;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/secret_test.go

    package configdump
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"os"
    	"testing"
    
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestSDSWriter_ValidCert(t *testing.T) {
    	testCases := []struct{ sds string }{
    		{sds: "istio"},
    		{sds: "spire"},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.sds, func(t *testing.T) {
    			configDumpFile, err := os.Open(fmt.Sprintf("testdata/secret/%s/config_dump.json", tc.sds))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. cmd/endpoint_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"fmt"
    	"net"
    	"net/url"
    	"path/filepath"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    func TestNewEndpoint(t *testing.T) {
    	u2, _ := url.Parse("https://example.org/path")
    	u4, _ := url.Parse("http://192.168.253.200/path")
    	rootSlashFoo, _ := filepath.Abs("/foo")
    	testCases := []struct {
    		arg              string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. istioctl/pkg/validate/validate_test.go

    	}
    	return b.String()
    }
    
    func createTestFile(t *testing.T, data string) (string, io.Closer) {
    	t.Helper()
    	validFile, err := os.CreateTemp("", "TestValidateCommand")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if _, err := validFile.WriteString(data); err != nil {
    		t.Fatal(err)
    	}
    	return validFile.Name(), validFile
    }
    
    func createTestDirectory(t *testing.T, files map[string]string) string {
    	t.Helper()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.testers.CollectionSpliteratorTester.getSpliteratorNotImmutableCollectionAllowsAddMethod;
    import static com.google.common.collect.testing.testers.CollectionSpliteratorTester.getSpliteratorNotImmutableCollectionAllowsRemoveMethod;
    import static java.util.Arrays.asList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top