Changeset 248374 in webkit


Ignore:
Timestamp:
Aug 7, 2019, 10:25:26 AM (6 years ago)
Author:
Devin Rousso
Message:

Rebase inspector generator tests.

Rubber-stamped by Brian Burg.

  • inspector/scripts/tests/all/expected/definitions-with-mac-platform.json-result:
  • inspector/scripts/tests/generic/expected/commands-with-async-attribute.json-result:
  • inspector/scripts/tests/generic/expected/commands-with-optional-call-return-parameters.json-result:
  • inspector/scripts/tests/generic/expected/events-with-optional-parameters.json-result:
  • inspector/scripts/tests/generic/expected/generate-domains-with-feature-guards.json-result:
  • inspector/scripts/tests/generic/expected/shadowed-optional-type-setters.json-result:
  • inspector/scripts/tests/generic/expected/type-declaration-object-type.json-result:
  • inspector/scripts/tests/generic/expected/type-requiring-runtime-casts.json-result:
  • inspector/scripts/tests/generic/expected/type-with-open-parameters.json-result:
  • inspector/scripts/tests/mac/expected/definitions-with-mac-platform.json-result:
Location:
trunk/Source/JavaScriptCore
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r248363 r248374  
     12019-08-07  Devin Rousso  <drousso@apple.com>
     2
     3        Rebase inspector generator tests.
     4
     5        Rubber-stamped by Brian Burg.
     6
     7        * inspector/scripts/tests/all/expected/definitions-with-mac-platform.json-result:
     8        * inspector/scripts/tests/generic/expected/commands-with-async-attribute.json-result:
     9        * inspector/scripts/tests/generic/expected/commands-with-optional-call-return-parameters.json-result:
     10        * inspector/scripts/tests/generic/expected/events-with-optional-parameters.json-result:
     11        * inspector/scripts/tests/generic/expected/generate-domains-with-feature-guards.json-result:
     12        * inspector/scripts/tests/generic/expected/shadowed-optional-type-setters.json-result:
     13        * inspector/scripts/tests/generic/expected/type-declaration-object-type.json-result:
     14        * inspector/scripts/tests/generic/expected/type-requiring-runtime-casts.json-result:
     15        * inspector/scripts/tests/generic/expected/type-with-open-parameters.json-result:
     16        * inspector/scripts/tests/mac/expected/definitions-with-mac-platform.json-result:
     17
    1182019-08-07  Caio Lima  <ticaiolima@gmail.com>
    219
  • trunk/Source/JavaScriptCore/inspector/scripts/tests/all/expected/definitions-with-mac-platform.json-result

    r241923 r248374  
    469469            COMPILE_ASSERT(sizeof(NetworkError) == sizeof(JSON::Object), cannot_cast);
    470470
    471             Ref<JSON::Object> result = m_result.releaseNonNull();
    472             return WTFMove(*reinterpret_cast<Ref<NetworkError>*>(&result));
     471            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     472            auto result = WTFMove(*reinterpret_cast<Ref<NetworkError>*>(&jsonResult));
     473            return result;
    473474        }
    474475    };
  • trunk/Source/JavaScriptCore/inspector/scripts/tests/generic/expected/commands-with-async-attribute.json-result

    r240318 r248374  
    687687            COMPILE_ASSERT(sizeof(Error) == sizeof(JSON::Object), cannot_cast);
    688688
    689             Ref<JSON::Object> result = m_result.releaseNonNull();
    690             return WTFMove(*reinterpret_cast<Ref<Error>*>(&result));
     689            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     690            auto result = WTFMove(*reinterpret_cast<Ref<Error>*>(&jsonResult));
     691            return result;
    691692        }
    692693    };
  • trunk/Source/JavaScriptCore/inspector/scripts/tests/generic/expected/commands-with-optional-call-return-parameters.json-result

    r240318 r248374  
    602602            COMPILE_ASSERT(sizeof(Error) == sizeof(JSON::Object), cannot_cast);
    603603
    604             Ref<JSON::Object> result = m_result.releaseNonNull();
    605             return WTFMove(*reinterpret_cast<Ref<Error>*>(&result));
     604            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     605            auto result = WTFMove(*reinterpret_cast<Ref<Error>*>(&jsonResult));
     606            return result;
    606607        }
    607608    };
  • trunk/Source/JavaScriptCore/inspector/scripts/tests/generic/expected/events-with-optional-parameters.json-result

    r241923 r248374  
    443443            COMPILE_ASSERT(sizeof(Error) == sizeof(JSON::Object), cannot_cast);
    444444
    445             Ref<JSON::Object> result = m_result.releaseNonNull();
    446             return WTFMove(*reinterpret_cast<Ref<Error>*>(&result));
     445            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     446            auto result = WTFMove(*reinterpret_cast<Ref<Error>*>(&jsonResult));
     447            return result;
    447448        }
    448449    };
  • trunk/Source/JavaScriptCore/inspector/scripts/tests/generic/expected/generate-domains-with-feature-guards.json-result

    r241923 r248374  
    491491            COMPILE_ASSERT(sizeof(NetworkError) == sizeof(JSON::Object), cannot_cast);
    492492
    493             Ref<JSON::Object> result = m_result.releaseNonNull();
    494             return WTFMove(*reinterpret_cast<Ref<NetworkError>*>(&result));
     493            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     494            auto result = WTFMove(*reinterpret_cast<Ref<NetworkError>*>(&jsonResult));
     495            return result;
    495496        }
    496497    };
  • trunk/Source/JavaScriptCore/inspector/scripts/tests/generic/expected/shadowed-optional-type-setters.json-result

    r240318 r248374  
    382382            COMPILE_ASSERT(sizeof(KeyPath) == sizeof(JSON::Object), cannot_cast);
    383383
    384             Ref<JSON::Object> result = m_result.releaseNonNull();
    385             return WTFMove(*reinterpret_cast<Ref<KeyPath>*>(&result));
     384            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     385            auto result = WTFMove(*reinterpret_cast<Ref<KeyPath>*>(&jsonResult));
     386            return result;
    386387        }
    387388    };
  • trunk/Source/JavaScriptCore/inspector/scripts/tests/generic/expected/type-declaration-object-type.json-result

    r240318 r248374  
    403403            COMPILE_ASSERT(sizeof(Error) == sizeof(JSON::Object), cannot_cast);
    404404
    405             Ref<JSON::Object> result = m_result.releaseNonNull();
    406             return WTFMove(*reinterpret_cast<Ref<Error>*>(&result));
     405            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     406            auto result = WTFMove(*reinterpret_cast<Ref<Error>*>(&jsonResult));
     407            return result;
    407408        }
    408409    };
     
    463464            COMPILE_ASSERT(sizeof(OptionalParameterBundle) == sizeof(JSON::Object), cannot_cast);
    464465
    465             Ref<JSON::Object> result = m_result.releaseNonNull();
    466             return WTFMove(*reinterpret_cast<Ref<OptionalParameterBundle>*>(&result));
     466            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     467            auto result = WTFMove(*reinterpret_cast<Ref<OptionalParameterBundle>*>(&jsonResult));
     468            return result;
    467469        }
    468470    };
     
    631633            COMPILE_ASSERT(sizeof(ParameterBundle) == sizeof(JSON::Object), cannot_cast);
    632634
    633             Ref<JSON::Object> result = m_result.releaseNonNull();
    634             return WTFMove(*reinterpret_cast<Ref<ParameterBundle>*>(&result));
     635            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     636            auto result = WTFMove(*reinterpret_cast<Ref<ParameterBundle>*>(&jsonResult));
     637            return result;
    635638        }
    636639    };
     
    727730            COMPILE_ASSERT(sizeof(ObjectWithPropertyNameConflicts) == sizeof(JSON::Object), cannot_cast);
    728731
    729             Ref<JSON::Object> result = m_result.releaseNonNull();
    730             return WTFMove(*reinterpret_cast<Ref<ObjectWithPropertyNameConflicts>*>(&result));
     732            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     733            auto result = WTFMove(*reinterpret_cast<Ref<ObjectWithPropertyNameConflicts>*>(&jsonResult));
     734            return result;
    731735        }
    732736    };
     
    850854            COMPILE_ASSERT(sizeof(ParameterBundle) == sizeof(JSON::Object), cannot_cast);
    851855
    852             Ref<JSON::Object> result = m_result.releaseNonNull();
    853             return WTFMove(*reinterpret_cast<Ref<ParameterBundle>*>(&result));
     856            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     857            auto result = WTFMove(*reinterpret_cast<Ref<ParameterBundle>*>(&jsonResult));
     858            return result;
    854859        }
    855860    };
  • trunk/Source/JavaScriptCore/inspector/scripts/tests/generic/expected/type-requiring-runtime-casts.json-result

    r240318 r248374  
    422422            COMPILE_ASSERT(sizeof(TypeNeedingCast) == sizeof(JSON::Object), cannot_cast);
    423423
    424             Ref<JSON::Object> result = m_result.releaseNonNull();
    425             return WTFMove(*reinterpret_cast<Ref<TypeNeedingCast>*>(&result));
     424            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     425            auto result = WTFMove(*reinterpret_cast<Ref<TypeNeedingCast>*>(&jsonResult));
     426            return result;
    426427        }
    427428    };
     
    487488            COMPILE_ASSERT(sizeof(RecursiveObject1) == sizeof(JSON::Object), cannot_cast);
    488489
    489             Ref<JSON::Object> result = m_result.releaseNonNull();
    490             return WTFMove(*reinterpret_cast<Ref<RecursiveObject1>*>(&result));
     490            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     491            auto result = WTFMove(*reinterpret_cast<Ref<RecursiveObject1>*>(&jsonResult));
     492            return result;
    491493        }
    492494    };
     
    538540            COMPILE_ASSERT(sizeof(RecursiveObject2) == sizeof(JSON::Object), cannot_cast);
    539541
    540             Ref<JSON::Object> result = m_result.releaseNonNull();
    541             return WTFMove(*reinterpret_cast<Ref<RecursiveObject2>*>(&result));
     542            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     543            auto result = WTFMove(*reinterpret_cast<Ref<RecursiveObject2>*>(&jsonResult));
     544            return result;
    542545        }
    543546    };
  • trunk/Source/JavaScriptCore/inspector/scripts/tests/generic/expected/type-with-open-parameters.json-result

    r240318 r248374  
    373373            COMPILE_ASSERT(sizeof(NoOpenParameters) == sizeof(JSON::Object), cannot_cast);
    374374
    375             Ref<JSON::Object> result = m_result.releaseNonNull();
    376             return WTFMove(*reinterpret_cast<Ref<NoOpenParameters>*>(&result));
     375            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     376            auto result = WTFMove(*reinterpret_cast<Ref<NoOpenParameters>*>(&jsonResult));
     377            return result;
    377378        }
    378379    };
     
    437438            COMPILE_ASSERT(sizeof(OpenParameters) == sizeof(JSON::Object), cannot_cast);
    438439
    439             Ref<JSON::Object> result = m_result.releaseNonNull();
    440             return WTFMove(*reinterpret_cast<Ref<OpenParameters>*>(&result));
     440            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     441            auto result = WTFMove(*reinterpret_cast<Ref<OpenParameters>*>(&jsonResult));
     442            return result;
    441443        }
    442444    };
  • trunk/Source/JavaScriptCore/inspector/scripts/tests/mac/expected/definitions-with-mac-platform.json-result

    r241923 r248374  
    469469            COMPILE_ASSERT(sizeof(NetworkError) == sizeof(JSON::Object), cannot_cast);
    470470
    471             Ref<JSON::Object> result = m_result.releaseNonNull();
    472             return WTFMove(*reinterpret_cast<Ref<NetworkError>*>(&result));
     471            Ref<JSON::Object> jsonResult = m_result.releaseNonNull();
     472            auto result = WTFMove(*reinterpret_cast<Ref<NetworkError>*>(&jsonResult));
     473            return result;
    473474        }
    474475    };
Note: See TracChangeset for help on using the changeset viewer.