Java源码示例:org.apache.tomcat.websocket.TesterMessageCountClient.TesterAnnotatedEndpoint

示例1
@Test
public void testWriterAnnotation() throws Exception {
    doTestWriter(TesterAnnotatedEndpoint.class, true, TEST_MESSAGE_5K);
}
 
示例2
@Test
public void testWriterZeroLengthAnnotation() throws Exception {
    doTestWriter(TesterAnnotatedEndpoint.class, true, "");
}
 
示例3
@Test
public void testStreamAnnotation() throws Exception {
    doTestWriter(TesterAnnotatedEndpoint.class, false, TEST_MESSAGE_5K);
}
 
示例4
@Test
public void testWriterErrorAnnotation() throws Exception {
    doTestWriterError(TesterAnnotatedEndpoint.class);
}
 
示例5
@Test
public void testWriterAnnotation() throws Exception {
    doTestWriter(TesterAnnotatedEndpoint.class, true);
}
 
示例6
@Test
public void testStreamAnnotation() throws Exception {
    doTestWriter(TesterAnnotatedEndpoint.class, false);
}
 
示例7
@Test
public void testWriterAnnotation() throws Exception {
    doTestWriter(TesterAnnotatedEndpoint.class, true);
}
 
示例8
@Test
public void testStreamAnnotation() throws Exception {
    doTestWriter(TesterAnnotatedEndpoint.class, false);
}