OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TestServer
(Results
1 - 16
of
16
) sorted by null
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
ShutdownTest.java
50
private class
TestServer
extends NanoHTTPD {
52
public
TestServer
() {
64
TestServer
server = new
TestServer
();
PutStreamIntegrationTest.java
50
public class PutStreamIntegrationTest extends IntegrationTestBase<PutStreamIntegrationTest.
TestServer
> {
52
public static class
TestServer
extends NanoHTTPD {
54
public
TestServer
() {
84
public
TestServer
createTestServer() {
85
return new
TestServer
();
GZipIntegrationTest.java
56
public class GZipIntegrationTest extends IntegrationTestBase<GZipIntegrationTest.
TestServer
> {
58
public static class
TestServer
extends NanoHTTPD {
62
public
TestServer
() {
78
public
TestServer
createTestServer() {
79
return new
TestServer
();
84
testServer
.response = NanoHTTPD.newFixedLengthResponse("This is a test");
96
testServer
.response = NanoHTTPD.newChunkedResponse(NanoHTTPD.Response.Status.OK, "text/plain", data);
107
testServer
.response = NanoHTTPD.newFixedLengthResponse("This is a test");
118
testServer
.response = NanoHTTPD.newFixedLengthResponse("This is a test");
128
testServer
.response = NanoHTTPD.newFixedLengthResponse("This is a test")
[
all
...]
GetAndPostIntegrationTest.java
65
public class GetAndPostIntegrationTest extends IntegrationTestBase<GetAndPostIntegrationTest.
TestServer
> {
67
public static class
TestServer
extends NanoHTTPD {
71
public
TestServer
() {
97
public
TestServer
createTestServer() {
98
return new
TestServer
();
103
this.
testServer
.response = "testGetRequestWithParameters";
114
this.
testServer
.response = "testPostRequestWithFormEncodedParameters";
130
this.
testServer
.response = "testPostRequestWithMultipartEncodedParameters";
146
this.
testServer
.response = "testPostWithNoParameters";
157
this.
testServer
.response = "testSimpleGetRequest"
[
all
...]
/external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpServerTest.java
62
public static class
TestServer
extends NanoHTTPD {
82
public
TestServer
() {
86
public
TestServer
(int port) {
131
protected
TestServer
testServer
;
156
NanoHTTPD.HTTPSession session = this.
testServer
.createSession(this.tempFileManager, inputStream, outputStream);
180
this.
testServer
= new
TestServer
();
191
assertNotNull(this.
testServer
);
HttpSSLServerTest.java
61
Assert.assertEquals(9043, this.
testServer
.getListeningPort());
62
Assert.assertTrue(this.
testServer
.isAlive());
68
this.
testServer
= new
TestServer
(9043);
69
this.
testServer
.makeSecure(NanoHTTPD.makeSSLSocketFactory("/keystore.jks", "password".toCharArray()), null);
71
this.
testServer
.start();
75
while (!this.
testServer
.wasStarted()) {
87
this.
testServer
.stop();
SSLServerSocketFactoryTest.java
62
Assert.assertEquals(9043, this.
testServer
.getListeningPort());
63
Assert.assertTrue(this.
testServer
.isAlive());
69
this.
testServer
= new
TestServer
(9043);
70
this.
testServer
.setServerSocketFactory(new SecureServerSocketFactory(NanoHTTPD.makeSSLSocketFactory("/keystore.jks", "password".toCharArray()), null));
72
this.
testServer
.start();
76
while (!this.
testServer
.wasStarted()) {
88
this.
testServer
.stop();
ServerSocketFactoryTest.java
44
import fi.iki.elonen.HttpServerTest.
TestServer
;
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
OpenSSLServerSocketImplTest.java
88
private
TestServer
server;
93
server = new
TestServer
(socketType.newServerSocket(CIPHER), MESSAGE_SIZE);
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
OpenSSLServerSocketImplTest.java
93
private
TestServer
server;
98
server = new
TestServer
(socketType.newServerSocket(CIPHER), MESSAGE_SIZE);
/external/nanohttpd/fileupload/src/test/java/fi/iki/elonen/
TestNanoFileUpLoad.java
82
protected
TestServer
testServer
;
84
public static class
TestServer
extends NanoHTTPD {
104
public
TestServer
() {
183
FileItem file = this.
testServer
.files.get("upfile").get(0);
194
FileItem file = this.
testServer
.files.get("upfile").get(0);
205
FileItem file = this.
testServer
.files.get("upfile").get(0);
226
this.
testServer
= new
TestServer
();
227
this.
testServer
.start()
[
all
...]
/external/golang-protobuf/protoc-gen-go/testdata/grpc/
grpc.pb.go
313
//
TestServer
is the server API for Test service.
314
type
TestServer
interface {
324
func RegisterTestServer(s *grpc.Server, srv
TestServer
) {
334
return srv.(
TestServer
).UnaryCall(ctx, in)
341
return srv.(
TestServer
).UnaryCall(ctx, req.(*SimpleRequest))
351
return srv.(
TestServer
).Downstream(m, &testDownstreamServer{stream})
368
return srv.(
TestServer
).Upstream(&testUpstreamServer{stream})
394
return srv.(
TestServer
).Bidi(&testBidiServer{stream})
421
HandlerType: (*
TestServer
)(nil),
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
ChannelzServiceTest.java
37
import io.grpc.services.ChannelzTestHelper.
TestServer
;
118
TestServer
server = new
TestServer
();
ChannelzTestHelper.java
120
static final class
TestServer
implements InternalInstrumented<ServerStats> {
ChannelzProtoUtilTest.java
79
import io.grpc.services.ChannelzTestHelper.
TestServer
;
138
private final
TestServer
server = new
TestServer
();
732
TestServer
server2 = new
TestServer
();
/external/python/cpython3/Lib/test/test_asyncio/
test_events.py
[
all
...]
Completed in 664 milliseconds