Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testEndpoint (0.13 sec)

  1. samples/bookinfo/src/reviews/reviews-wlpcfg/src/test/java/it/TestApplication.java

    package it;
    
    import org.junit.Test;
    
    public class TestApplication extends EndpointTest {
    
        @Test
        public void testDeployment() {
            testEndpoint("/index.html", "<h1>Welcome to your Liberty Application</h1>");
        }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 17:00:23 UTC 2017
    - 986 bytes
    - Viewed (0)
  2. samples/bookinfo/src/reviews/reviews-wlpcfg/src/test/java/it/rest/LibertyRestEndpointTest.java

    package it.rest;
    
    import it.EndpointTest;
    
    import org.junit.Test;
    
    public class LibertyRestEndpointTest extends EndpointTest {
    
        @Test
        public void testDeployment() {
            testEndpoint("/rest", "Hello from the REST endpoint!");
        }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 17:00:23 UTC 2017
    - 1002 bytes
    - Viewed (0)
  3. samples/bookinfo/src/reviews/reviews-wlpcfg/src/test/java/it/EndpointTest.java

    import javax.ws.rs.client.ClientBuilder;
    import javax.ws.rs.client.Invocation;
    import javax.ws.rs.client.WebTarget;
    import javax.ws.rs.core.Response;
    
    public class EndpointTest {
    
        public void testEndpoint(String endpoint, String expectedOutput) {
            String port = System.getProperty("liberty.test.port");
            String war = System.getProperty("war.name");
            String url = "http://localhost:" + port + "/" + war + endpoint;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 17:00:23 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  4. pilot/pkg/xds/eds_test.go

    // address.
    func testTCPEndpoints(expected string, adsc *adsc.ADSC, t *testing.T) {
    	t.Helper()
    	testEndpoints(expected, "outbound|8080||eds.test.svc.cluster.local", adsc, t)
    }
    
    // Verify server sends the endpoint. This check for a single endpoint with the given
    // address.
    func testEndpoints(expected string, cluster string, adsc *adsc.ADSC, t *testing.T) {
    	t.Helper()
    	lbe, f := adsc.GetEndpoints()[cluster]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/cc_op_gen_test.cc

      GenerateCcOpFiles(env, op_defs, api_def_map, &h_file_text,
                        &internal_h_file_text);
      ExpectSubstrOrder(h_file_text, "Input dim", "Input images");
    }
    
    TEST(CcOpGenTest, TestEndpoints) {
      const string api_def = R"(
    op {
      graph_op_name: "Foo"
      endpoint {
        name: "Foo1"
      }
      endpoint {
        name: "Foo2"
      }
    }
    )";
      Env* env = Env::Default();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 29 20:04:30 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/helpers_test.go

    				// DNAT to an endpoint IP and terminate processing.
    				match := dnatRegexp.FindStringSubmatch(rule)
    				destEndpoint := match[2]
    
    				tracer.matches = append(tracer.matches, ruleObj.Rule)
    				tracer.outputs = append(tracer.outputs, destEndpoint)
    				return true
    
    			case endpointVMAPRegexp.MatchString(rule):
    				// `^numgen random mod \d+ vmap \{(.*)\}$`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 09:57:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top