Revision 1846 trunk/tests/test_nntpconnection_backend.c
| test_nntpconnection_backend.c (revision 1846) | ||
|---|---|---|
| 127 | 127 | 
                   | 
              
| 128 | 128 | 
                  /* Wait until there's data */  | 
              
| 129 | 129 | 
                      g_test_message("Waiting for data to arrive");
                 | 
              
| 130 | 
                  g_assert(nntpconnection_ensure_data_is_ready(conn, G_USEC_PER_SEC));  | 
              |
| 130 | 
                  g_assert(nntpconnection_ensure_data_is_ready(conn, G_USEC_PER_SEC * 5));  | 
              |
| 131 | 131 | 
                   | 
              
| 132 | 132 | 
                  /* Read the welcome msg */  | 
              
| 133 | 133 | 
                      g_test_message("Reading welcome message");
                 | 
              
| ... | ... | |
| 147 | 147 | 
                   | 
              
| 148 | 148 | 
                  /* Wait again for data to arrive */  | 
              
| 149 | 149 | 
                      g_test_message("Waiting for data to arrive");
                 | 
              
| 150 | 
                  g_assert(nntpconnection_ensure_data_is_ready(conn, G_USEC_PER_SEC));  | 
              |
| 150 | 
                  g_assert(nntpconnection_ensure_data_is_ready(conn, G_USEC_PER_SEC * 5));  | 
              |
| 151 | 151 | 
                   | 
              
| 152 | 152 | 
                  /* Read the response */  | 
              
| 153 | 153 | 
                      g_test_message("Reading response");
                 | 
              
Also available in: Unified diff
NNTPGrab

