Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Test4 (0.04 sec)

  1. test/ken/embed.go

    		println("t5", 1)
    		panic("fail")
    	}
    	if i.test2() != s.test2() {
    		println("t5", 2)
    		panic("fail")
    	}
    	if i.test3() != s.test3() {
    		println("t5", 3)
    		panic("fail")
    	}
    	if i.test4() != s.test4() {
    		println("t5", 4)
    		panic("fail")
    	}
    	if i.test5() != s.test5() {
    		println("t5", 5)
    		panic("fail")
    	}
    	if i.test6() != s.test6() {
    		println("t5", 6)
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 03 17:03:15 UTC 2016
    - 4.3K bytes
    - Viewed (0)
  2. src/net/hosts_test.go

    	{"test3.example.com", "3.test"},
    	{"3.test", "3.test"},
    	// 127.0.0.4
    	{"example.com", "example.com"},
    	// 127.0.0.5
    	{"test5.example.com", "test4.example.com"},
    	{"5.test", "test4.example.com"},
    	{"4.test", "test4.example.com"},
    	{"test4.example.com", "test4.example.com"},
    }
    
    func TestLookupStaticHostAliases(t *testing.T) {
    	defer func(orig string) { hostsFilePath = orig }(hostsFilePath)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. test/recover1.go

    // license that can be found in the LICENSE file.
    
    // Test of recover during recursive panics.
    // Here be dragons.
    
    package main
    
    import "runtime"
    
    func main() {
    	test1()
    	test2()
    	test3()
    	test4()
    	test5()
    	test6()
    	test7()
    }
    
    func die() {
    	runtime.Breakpoint()	// can't depend on panic
    }
    
    func mustRecover(x interface{}) {
    	mustNotRecover()	// because it's not a defer call
    	v := recover()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ReproducibleArchivesIntegrationTest.groovy

                    rename { it == 'test1.txt' ? 'test4.txt' : 'test3.txt' }
                }
            }
            """
    
            when:
            succeeds taskName
    
            then:
            def archiveFile = archive(file("build/test.${fileExtension}"))
            archiveFile.hasDescendants('test3.txt', 'test4.txt')
            archiveFile.content('test3.txt') == 'test2'
            archiveFile.content('test4.txt') == 'test1'
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. test/recover2.go

    // Test of recover for run-time errors.
    
    // TODO(rsc):
    //	null pointer accesses
    
    package main
    
    import "strings"
    
    var x = make([]byte, 10)
    
    func main() {
    	test1()
    	test2()
    	test3()
    	test4()
    	test5()
    	test6()
    	test7()
    }
    
    func mustRecover(s string) {
    	v := recover()
    	if v == nil {
    		panic("expected panic")
    	}
    	if e := v.(error).Error(); strings.Index(e, s) < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 03 20:41:29 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  6. src/net/testdata/aliases

    127.0.0.1 test
    127.0.0.2 test2.example.com 2.test
    127.0.0.3 3.test test3.example.com
    127.0.0.4 example.com
    127.0.0.5 test4.example.com 4.test 5.test test5.example.com
    
    # must be a non resolvable domain on the internet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:29:14 UTC 2022
    - 257 bytes
    - Viewed (0)
  7. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/SourceFolderTest.groovy

    import spock.lang.Specification
    
    class SourceFolderTest extends Specification {
        final static String XML_TEXT = '''
                    <classpathentry including="**/Test1*|**/Test2*" excluding="**/Test3*|**/Test4*" kind="src" output="bin2" path="src">
                        <attributes>
                            <attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="mynative"/>
                        </attributes>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue8613.go

    var zero int
    
    func main() {
    	wantPanic("test1", func() {
    		out = 1 / zero
    	})
    	wantPanic("test2", func() {
    		_ = 1 / zero
    	})
    	wantPanic("test3", func() {
    		v := 0
    		_ = 1 / v
    	})
    	wantPanic("test4", func() { divby(0) })
    }
    
    func wantPanic(test string, fn func()) {
    	defer func() {
    		if e := recover(); e == nil {
    			panic(test + ": expected panic")
    		}
    	}()
    	fn()
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 23 22:01:32 UTC 2016
    - 608 bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        public void testPutAll() throws Exception {
            Map<String, String> m = new HashMap<String, String>();
            m.put("3", "test3");
            m.put("4", "test4");
            map.putAll(m);
            assertThat(map.get("3"), is("test3"));
            assertThat(map.get("4"), is("test4"));
            assertThat(map.size(), is(5));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            performProfileActivation(parser.parse(options, new String[] {"-P", "test1,+test2,?test3,+?test4"}), activation);
            assertThat(activation.getRequiredActiveProfileIds(), containsInAnyOrder("test1", "test2"));
            assertThat(activation.getOptionalActiveProfileIds(), containsInAnyOrder("test3", "test4"));
    
            activation = new ProfileActivation();
            performProfileActivation(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
Back to top