Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 205 for utiltest (0.14 sec)

  1. pkg/kubelet/kubeletconfig/util/files/files_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package files
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"testing"
    
    	utiltest "k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/test"
    	utilfs "k8s.io/kubernetes/pkg/util/filesystem"
    )
    
    const (
    	prefix = "test-util-files"
    )
    
    type file struct {
    	name string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  2. pkg/kubelet/kubeletconfig/configfiles/configfiles_test.go

    	kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config"
    	kubeletscheme "k8s.io/kubernetes/pkg/kubelet/apis/config/scheme"
    	utilfiles "k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/files"
    	utiltest "k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/test"
    	utilfs "k8s.io/kubernetes/pkg/util/filesystem"
    )
    
    const configDir = "/test-config-dir"
    const relativePath = "relative/path/test"
    const kubeletFile = "kubelet"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy

            """.stripIndent()
    
            and:
            file("src/test/java/org/gradle/testing/UnitTest.java") << """
                $packageAndImportsWithCategory
                public class UnitTest {
                    @Test public void foo() {
                        System.out.println("org.gradle.testing.UnitTest#foo");
                    }
                }
            """.stripIndent()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  4. src/go/types/util_test.go

    // Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
    // Source: ../../cmd/compile/internal/types2/util_test.go
    
    // Copyright 2023 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.
    
    // This file exports various functionality of util.go
    // so that it can be used in (package-external) tests.
    
    package types
    
    import (
    	"go/token"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 626 bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GUtilTest.groovy

    import static org.gradle.util.internal.GUtil.toEnum
    import static org.gradle.util.internal.GUtil.toEnumSet
    import static org.gradle.util.internal.GUtil.toLowerCamelCase
    import static org.gradle.util.internal.GUtil.toWords
    
    class GUtilTest extends Specification {
        static sep = File.pathSeparator
    
        def convertStringToCamelCase() {
            expect:
            toCamelCase(null) == null
            toCamelCase("") == ""
            toCamelCase("word") == "Word"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. pkg/api/service/util_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package service
    
    import (
    	"strings"
    	"testing"
    
    	api "k8s.io/kubernetes/pkg/apis/core"
    	utilnet "k8s.io/utils/net"
    )
    
    func TestGetLoadBalancerSourceRanges(t *testing.T) {
    	checkError := func(v string) {
    		t.Helper()
    		annotations := make(map[string]string)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testing/test-suite-plugin/groovy/src/test/java/example/UnitTest.java

     * limitations under the License.
     */
    
    package example;
    
    import org.junit.jupiter.api.Assertions;
    import org.junit.jupiter.api.Test;
    
    public class UnitTest {
        @Test
        public void unitTest() {
            Assertions.assertTrue(true);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 820 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/testing/test-suite-plugin/kotlin/src/test/java/example/UnitTest.java

     * limitations under the License.
     */
    
    package example;
    
    import org.junit.jupiter.api.Assertions;
    import org.junit.jupiter.api.Test;
    
    public class UnitTest {
        @Test
        public void unitTest() {
            Assertions.assertTrue(true);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 820 bytes
    - Viewed (0)
  9. pkg/api/v1/service/util_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package service
    
    import (
    	"strings"
    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	utilnet "k8s.io/utils/net"
    )
    
    func TestGetLoadBalancerSourceRanges(t *testing.T) {
    	checkError := func(v string) {
    		t.Helper()
    		annotations := make(map[string]string)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/Utf8Test.java

    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Utf8}.
     *
     * @author Jon Perlow
     * @author Martin Buchholz
     * @author Clément Roux
     */
    @GwtCompatible(emulated = true)
    public class Utf8Test extends TestCase {
    
      private static final ImmutableList<String> ILL_FORMED_STRINGS;
    
      static {
        ImmutableList.Builder<String> builder = ImmutableList.builder();
        char[] surrogates = {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top