jQuery: The Write Less, Do More JavaScript Library

Changeset 4448

Show
Ignore:
Timestamp:
01/14/08 20:17:21 (7 months ago)
Author:
jeresig
Message:

Excluded a couple Ajax tests from running locally.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/test/unit/core.js

    r4447 r4448  
    218218}); 
    219219 
     220if ( !isLocal ) { 
    220221test("$(selector, xml).text(str) - Loaded via XML document", function() { 
    221222    expect(2); 
     
    229230    }); 
    230231}); 
     232} 
    231233 
    232234test("length", function() { 
     
    951953 
    952954test("clone()", function() { 
    953     expect(6); 
     955    expect(4); 
    954956    ok( 'This is a normal link: Yahoo' == $('#en').text(), 'Assert text for #en' ); 
    955957    var clone = $('#yahoo').clone(); 
     
    959961    var cl = $("#nonnodes").contents().clone(); 
    960962    ok( cl.length >= 2, "Check node,textnode,comment clone works (some browsers delete comments on clone)" ); 
    961  
     963}); 
     964 
     965if (!isLocal) { 
     966test("clone() on XML nodes", function() { 
     967    expect(2); 
    962968    stop(); 
    963969    $.get("data/dashboard.xml", function (xml) { 
     
    970976    }); 
    971977}); 
     978} 
    972979 
    973980test("is(String)", function() {