Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6580

CDVWhitelistTests are failing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: cordova-ios
    • Labels:
      None

      Description

      Test Case '-[CDVWhitelistTests testIpWildcardMatch]' started.
      2014-04-30 15:07:50.650 CordovaLibApp[31414:90b] ERROR whitelist rejection: url='http://apache.org'
      2014-04-30 15:07:50.650 CordovaLibApp[31414:90b] ERROR whitelist rejection: url='http://192.168.1.1'
      /Users/shaz/Documents/Git/Apache/cordova-ios/CordovaLibTests/CDVWhitelistTests.m:155: error: -[CDVWhitelistTests testIpWildcardMatch] : "[whitelist URLIsAllowed:[NSURL URLWithString:@"http://192.168.1.1"]]" should be true. 
      2014-04-30 15:07:50.651 CordovaLibApp[31414:90b] ERROR whitelist rejection: url='http://192.168.1.2'
      /Users/shaz/Documents/Git/Apache/cordova-ios/CordovaLibTests/CDVWhitelistTests.m:156: error: -[CDVWhitelistTests testIpWildcardMatch] : "[whitelist URLIsAllowed:[NSURL URLWithString:@"http://192.168.1.2"]]" should be true. 
      2014-04-30 15:07:50.657 CordovaLibApp[31414:90b] ERROR whitelist rejection: url='http://192.168.2.1'
      /Users/shaz/Documents/Git/Apache/cordova-ios/CordovaLibTests/CDVWhitelistTests.m:157: error: -[CDVWhitelistTests testIpWildcardMatch] : "[whitelist URLIsAllowed:[NSURL URLWithString:@"http://192.168.2.1"]]" should be true. 
      2014-04-30 15:07:50.658 CordovaLibApp[31414:90b] ERROR whitelist rejection: url='http://192.168.2.2'
      /Users/shaz/Documents/Git/Apache/cordova-ios/CordovaLibTests/CDVWhitelistTests.m:158: error: -[CDVWhitelistTests testIpWildcardMatch] : "[whitelist URLIsAllowed:[NSURL URLWithString:@"http://192.168.2.2"]]" should be true. 
      2014-04-30 15:07:50.658 CordovaLibApp[31414:90b] ERROR whitelist rejection: url='http://192.168.3.1'
      Test Case '-[CDVWhitelistTests testIpWildcardMatch]' failed (0.009 seconds).
      

        Attachments

          Activity

            People

            • Assignee:
              shazron Shazron Abdullah
              Reporter:
              shazron Shazron Abdullah
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: