Changeset 1544:53ed2231403b in nginx-tests


Ignore:
Timestamp:
01/16/20 16:15:25 (5 weeks ago)
Author:
Dmitry Volyntsev <xeioex@…>
Branch:
default
Phase:
public
Message:

Tests: js TODO adjusted.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • js_subrequests.t

    r1543 r1544  
    433433is(get_json('/sr_options_args'), '{"h":"xxx"}', 'sr_options_args');
    434434is(get_json('/sr_options_method?m=POST'), '["POST"]', 'sr method POST');
    435 
    436 TODO: {
    437 local $TODO = 'not yet'
    438         unless http_get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.3.3';
    439 
    440435is(get_json('/sr_options_method?m=PURGE'), '["PURGE"]', 'sr method PURGE');
    441 
    442 }
    443 
    444436is(get_json('/sr_options_body'), '["REQ-BODY"]', 'sr_options_body');
    445437is(get_json('/sr_options_method_head'), '{"c":200,"s":0}',
  • stream_js.t

    r1441 r1544  
    368368is(stream('127.0.0.1:' . port(8084))->read(), 'sess_unk=undefined', 's.unk');
    369369
    370 TODO: {
    371 local $TODO = 'not yet'
    372         unless get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.2.4';
    373 
    374370is(stream('127.0.0.1:' . port(8086))->io('0'), '0122345',
    375371        'async handlers order');
     
    385381like(get('/p/return'), qr/foo/, 'js_filter_injected_header');
    386382is(stream('127.0.0.1:' . port(8096))->io('x'), 'z', 'js_filter_search');
    387 
    388 }
    389383
    390384stream('127.0.0.1:' . port(8097))->io('x');
  • stream_js_variables.t

    r1442 r1544  
    9292###############################################################################
    9393
    94 TODO: {
    95 local $TODO = 'not yet'
    96         unless get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.2.8';
    97 
    9894is(stream('127.0.0.1:' . port(8081))->read(), 'test_var400', 'var set');
    9995is(stream('127.0.0.1:' . port(8082))->read(), 'not_found', 'not found set');
    100 
    101 }
    10296
    10397$t->stop();
Note: See TracChangeset for help on using the changeset viewer.