/[cwmp]/google/trunk/t/20-methods.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /google/trunk/t/20-methods.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 198 by dpavlin, Sun Oct 28 19:47:30 2007 UTC revision 199 by dpavlin, Wed Nov 14 18:16:14 2007 UTC
# Line 28  sub check_method { Line 28  sub check_method {
28          };          };
29    
30          diag "check_method $command",dump( 'state', @_ ) if $debug;          diag "check_method $command",dump( 'state', @_ ) if $debug;
31          ok( my $xml = $method->$command( $state, @_ ), "generate method $command" . dump(@_) );          ok( my $xml = $method->$command( $state, shift ), "generate method $command" . dump(@_) );
32    
33          my $file = "$abs_path/methods/$command.xml";          my $file = "$abs_path/methods/$command.xml";
34    
# Line 45  sub check_method { Line 45  sub check_method {
45  check_method( 'InformResponse' );  check_method( 'InformResponse' );
46  check_method( 'GetRPCMethods' );  check_method( 'GetRPCMethods' );
47  check_method( 'Reboot' );  check_method( 'Reboot' );
48  check_method( 'SetParameterValues',  check_method( 'SetParameterValues', {
49          'InternetGatewayDevice.DeviceInfo.ProvisioningCode' => 'test provision',          'InternetGatewayDevice.DeviceInfo.ProvisioningCode' => 'test provision',
50          'InternetGatewayDevice.DeviceInfo.X_000E50_Country' => 42,          'InternetGatewayDevice.DeviceInfo.X_000E50_Country' => 42,
51  );  });
52  check_method( 'GetParameterNames', 'InternetGatewayDevice.DeviceInfo.SerialNumber' );  check_method( 'GetParameterNames', [ 'InternetGatewayDevice.DeviceInfo.SerialNumber' ] );
53  check_method( 'GetParameterValues',  check_method( 'GetParameterValues', [
54          'InternetGatewayDevice.DeviceInfo.SerialNumber',          'InternetGatewayDevice.DeviceInfo.SerialNumber',
55          'InternetGatewayDevice.DeviceInfo.VendorConfigFile.',          'InternetGatewayDevice.DeviceInfo.VendorConfigFile.',
56  );  ]);

Legend:
Removed from v.198  
changed lines
  Added in v.199

  ViewVC Help
Powered by ViewVC 1.1.26