Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for testnode (0.2 sec)

  1. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

                XmlNode child = children.get(filteredIndex);
                if (testNode(child)) {
                    filteredChildren.add(child);
                }
            }
        }
    
        private boolean testNode(XmlNode node) {
            if (test == null) {
                return true;
            }
            if (test instanceof NodeNameTest) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers_test.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/monitoring/monitortest"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestExistingPodAddedWhenNsLabeled(t *testing.T) {
    	setupLogging()
    	NodeName = "testnode"
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/cni-watcher_test.go

    	valid := CNIPluginAddEvent{
    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    		IPs: []IPConfig{{
    			Address: *addr,
    		}},
    	}
    
    	setupLogging()
    	NodeName = "testnode"
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod-bingo",
    			Namespace: "funkyns",
    		},
    		Spec: corev1.PodSpec{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 08:18:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

    /**
     * Validates which environment is used by the IDE.
     */
    class PlatformRuleTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testMode() {
        println(PlatformRule.getPlatformSystemProperty())
        println(Platform.get().javaClass.simpleName)
      }
    
      @Test
      fun testGreenCase() {
      }
    
      @Test
      fun testGreenCaseFailingOnLater() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    	allClusterGVKs = helmreconciler.ClusterResources
    )
    
    func init() {
    	if kubeBuilderInstalled() {
    		// TestMode is required to not wait in the go client for resources that will never be created in the test server.
    		helmreconciler.TestMode = true
    		// Add install and controller to the list of commands to run tests against.
    		testedManifestCmds = append(testedManifestCmds, cmdApply, cmdController)
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/bytes/buffer_test.go

    	check(t, testname+" (empty 1)", buf, s)
    
    	for {
    		n, err := buf.Read(fub)
    		if n == 0 {
    			break
    		}
    		if err != nil {
    			t.Errorf(testname+" (empty 2): err should always be nil, found err == %s", err)
    		}
    		s = s[n:]
    		check(t, testname+" (empty 3)", buf, s)
    	}
    
    	check(t, testname+" (empty 4)", buf, "")
    }
    
    func TestBasicOperations(t *testing.T) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 20 01:07:29 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  7. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.codenarc.rules;
    
    import org.codehaus.groovy.ast.ASTNode;
    import org.codehaus.groovy.ast.ClassNode;
    import org.codehaus.groovy.ast.MethodNode;
    import org.codehaus.groovy.ast.expr.Expression;
    import org.codehaus.groovy.ast.expr.MethodCallExpression;
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  8. cni/pkg/plugin/cnieventclient_test.go

    	err := PushCNIEvent(cniC, fakeCmdArgs, []*cniv1.IPConfig{&fakePrevResultIPConfig}, "testpod", "testns")
    
    	assert.Error(t, err)
    	assert.Equal(t, strings.Contains(err.Error(), fmt.Sprintf("unable to push CNI event, error was %d", http.StatusInternalServerError)), true)
    }
    
    func TestPushCNIAddEventGoodPayload(t *testing.T) {
    	testPod := "testpod"
    	testNS := "testns"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/test/java/org/apache/maven/lifecycle/test/AppTest.java

    /**
     * Unit test for simple App.
     */
    public class AppTest
        extends TestCase
    {
        /**
         * Create the test case
         *
         * @param testName name of the test case
         */
        public AppTest( String testName )
        {
            super( testName );
        }
    
        /**
         * @return the suite of tests being tested
         */
        public static Test suite()
        {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Feb 03 09:12:28 GMT 2017
    - 657 bytes
    - Viewed (0)
  10. tests/connection_test.go

    	}
    }
    
    func getSetSQL(driverName string) (string, string) {
    	switch driverName {
    	case mysql.Dialector{}.Name():
    		return "SET @testName := ?", "SELECT @testName"
    	default:
    		return "", ""
    	}
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Jan 28 14:16:42 GMT 2022
    - 963 bytes
    - Viewed (0)
Back to top