Ignore:
Timestamp:
Jul 25, 2008, 5:05:16 AM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Simon Hausmann.

Move JavaScriptCore API tests into a subdirectory of their own to avoid header name
conflicts and developer confusion.

  • API/JSNode.c: Removed.
  • API/JSNode.h: Removed.
  • API/JSNodeList.c: Removed.
  • API/JSNodeList.h: Removed.
  • API/Node.c: Removed.
  • API/Node.h: Removed.
  • API/NodeList.c: Removed.
  • API/NodeList.h: Removed.
  • API/minidom.c: Removed.
  • API/minidom.html: Removed.
  • API/minidom.js: Removed.
  • API/testapi.c: Removed.
  • API/testapi.js: Removed.
  • API/tests: Added.
  • API/tests/JSNode.c: Copied from JavaScriptCore/API/JSNode.c.
  • API/tests/JSNode.h: Copied from JavaScriptCore/API/JSNode.h.
  • API/tests/JSNodeList.c: Copied from JavaScriptCore/API/JSNodeList.c.
  • API/tests/JSNodeList.h: Copied from JavaScriptCore/API/JSNodeList.h.
  • API/tests/Node.c: Copied from JavaScriptCore/API/Node.c.
  • API/tests/Node.h: Copied from JavaScriptCore/API/Node.h.
  • API/tests/NodeList.c: Copied from JavaScriptCore/API/NodeList.c.
  • API/tests/NodeList.h: Copied from JavaScriptCore/API/NodeList.h.
  • API/tests/minidom.c: Copied from JavaScriptCore/API/minidom.c.
  • API/tests/minidom.html: Copied from JavaScriptCore/API/minidom.html.
  • API/tests/minidom.js: Copied from JavaScriptCore/API/minidom.js.
  • API/tests/testapi.c: Copied from JavaScriptCore/API/testapi.c.
  • API/tests/testapi.js: Copied from JavaScriptCore/API/testapi.js.
  • GNUmakefile.am:
  • JavaScriptCore.vcproj/testapi/testapi.vcproj:
  • JavaScriptCore.xcodeproj/project.pbxproj:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r35159 r35342  
    3939                140B7D1D0DC69AF7009C42B8 /* JSActivation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 14DA818F0D99FD2000B0A4FB /* JSActivation.cpp */; };
    4040                141211310A48794D00480255 /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 932F5BD90822A1C700736975 /* JavaScriptCore.framework */; };
    41                 141211340A48795800480255 /* minidom.c in Sources */ = {isa = PBXBuildFile; fileRef = 141211020A48780900480255 /* minidom.c */; };
     41                141211340A48795800480255 /* tests/minidom.c in Sources */ = {isa = PBXBuildFile; fileRef = 141211020A48780900480255 /* tests/minidom.c */; };
    4242                1421359B0A677F4F00A8195E /* JSBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1421359A0A677F4F00A8195E /* JSBase.cpp */; };
    4343                143A97E60A4A06E200456B66 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6560A4CF04B3B3E7008AE952 /* CoreFoundation.framework */; };
    44                 1440057F0A5335640005F061 /* JSNode.c in Sources */ = {isa = PBXBuildFile; fileRef = 1440F6420A4F8B6A0005F061 /* JSNode.c */; };
    45                 144005CB0A5338D10005F061 /* JSNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 1440F6410A4F8B6A0005F061 /* JSNode.h */; };
    46                 144005CC0A5338F80005F061 /* Node.h in Headers */ = {isa = PBXBuildFile; fileRef = 1440051F0A531D3B0005F061 /* Node.h */; };
    47                 1440063F0A53598A0005F061 /* Node.c in Sources */ = {isa = PBXBuildFile; fileRef = 144005200A531D3B0005F061 /* Node.c */; };
    48                 1440074A0A536CC20005F061 /* NodeList.h in Headers */ = {isa = PBXBuildFile; fileRef = 144007480A536CC20005F061 /* NodeList.h */; };
    49                 1440074B0A536CC20005F061 /* NodeList.c in Sources */ = {isa = PBXBuildFile; fileRef = 144007490A536CC20005F061 /* NodeList.c */; };
    50                 144007570A5370D20005F061 /* JSNodeList.h in Headers */ = {isa = PBXBuildFile; fileRef = 144007550A5370D20005F061 /* JSNodeList.h */; };
    51                 144007580A5370D20005F061 /* JSNodeList.c in Sources */ = {isa = PBXBuildFile; fileRef = 144007560A5370D20005F061 /* JSNodeList.c */; };
     44                1440057F0A5335640005F061 /* tests/JSNode.c in Sources */ = {isa = PBXBuildFile; fileRef = 1440F6420A4F8B6A0005F061 /* tests/JSNode.c */; };
     45                144005CB0A5338D10005F061 /* tests/JSNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 1440F6410A4F8B6A0005F061 /* tests/JSNode.h */; };
     46                144005CC0A5338F80005F061 /* tests/Node.h in Headers */ = {isa = PBXBuildFile; fileRef = 1440051F0A531D3B0005F061 /* tests/Node.h */; };
     47                1440063F0A53598A0005F061 /* tests/Node.c in Sources */ = {isa = PBXBuildFile; fileRef = 144005200A531D3B0005F061 /* tests/Node.c */; };
     48                1440074A0A536CC20005F061 /* tests/NodeList.h in Headers */ = {isa = PBXBuildFile; fileRef = 144007480A536CC20005F061 /* tests/NodeList.h */; };
     49                1440074B0A536CC20005F061 /* tests/NodeList.c in Sources */ = {isa = PBXBuildFile; fileRef = 144007490A536CC20005F061 /* tests/NodeList.c */; };
     50                144007570A5370D20005F061 /* tests/JSNodeList.h in Headers */ = {isa = PBXBuildFile; fileRef = 144007550A5370D20005F061 /* tests/JSNodeList.h */; };
     51                144007580A5370D20005F061 /* tests/JSNodeList.c in Sources */ = {isa = PBXBuildFile; fileRef = 144007560A5370D20005F061 /* tests/JSNodeList.c */; };
    5252                1440F6100A4F85670005F061 /* testapi.c in Sources */ = {isa = PBXBuildFile; fileRef = 14BD5A2D0A3E91F600BAF59C /* testapi.c */; };
    5353                1440F8920A508B100005F061 /* JSCallbackFunction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1440F8900A508B100005F061 /* JSCallbackFunction.cpp */; };
     
    425425                06D358A20DAAD9C4003B174E /* MainThread.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MainThread.cpp; sourceTree = "<group>"; };
    426426                06D358A30DAAD9C4003B174E /* MainThread.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainThread.h; sourceTree = "<group>"; };
    427                 141211020A48780900480255 /* minidom.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = minidom.c; sourceTree = "<group>"; };
    428                 1412110D0A48788700480255 /* minidom.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = minidom.js; sourceTree = "<group>"; };
     427                141211020A48780900480255 /* tests/minidom.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tests/minidom.c; sourceTree = "<group>"; };
     428                1412110D0A48788700480255 /* tests/minidom.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = tests/minidom.js; sourceTree = "<group>"; };
    429429                141211200A48793C00480255 /* minidom */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = minidom; sourceTree = BUILT_PRODUCTS_DIR; };
    430430                1419D32C0CEA7CDE00FF507A /* RefCounted.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RefCounted.h; sourceTree = "<group>"; };
    431431                1421359A0A677F4F00A8195E /* JSBase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSBase.cpp; sourceTree = "<group>"; };
    432432                142711380A460BBB0080EEEA /* JSBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSBase.h; sourceTree = "<group>"; };
    433                 1440051F0A531D3B0005F061 /* Node.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Node.h; sourceTree = "<group>"; };
    434                 144005200A531D3B0005F061 /* Node.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = Node.c; sourceTree = "<group>"; };
    435                 144007480A536CC20005F061 /* NodeList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NodeList.h; sourceTree = "<group>"; };
    436                 144007490A536CC20005F061 /* NodeList.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = NodeList.c; sourceTree = "<group>"; };
    437                 144007550A5370D20005F061 /* JSNodeList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSNodeList.h; sourceTree = "<group>"; };
    438                 144007560A5370D20005F061 /* JSNodeList.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = JSNodeList.c; sourceTree = "<group>"; };
    439                 1440F6410A4F8B6A0005F061 /* JSNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSNode.h; sourceTree = "<group>"; };
    440                 1440F6420A4F8B6A0005F061 /* JSNode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = JSNode.c; sourceTree = "<group>"; };
     433                1440051F0A531D3B0005F061 /* tests/Node.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tests/Node.h; sourceTree = "<group>"; };
     434                144005200A531D3B0005F061 /* tests/Node.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tests/Node.c; sourceTree = "<group>"; };
     435                144007480A536CC20005F061 /* tests/NodeList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tests/NodeList.h; sourceTree = "<group>"; };
     436                144007490A536CC20005F061 /* tests/NodeList.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tests/NodeList.c; sourceTree = "<group>"; };
     437                144007550A5370D20005F061 /* tests/JSNodeList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tests/JSNodeList.h; sourceTree = "<group>"; };
     438                144007560A5370D20005F061 /* tests/JSNodeList.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tests/JSNodeList.c; sourceTree = "<group>"; };
     439                1440F6410A4F8B6A0005F061 /* tests/JSNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tests/JSNode.h; sourceTree = "<group>"; };
     440                1440F6420A4F8B6A0005F061 /* tests/JSNode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tests/JSNode.c; sourceTree = "<group>"; };
    441441                1440F88F0A508B100005F061 /* JSCallbackFunction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSCallbackFunction.h; sourceTree = "<group>"; };
    442442                1440F8900A508B100005F061 /* JSCallbackFunction.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCallbackFunction.cpp; sourceTree = "<group>"; };
     
    484484                14BD5A2A0A3E91F600BAF59C /* JSContextRef.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSContextRef.h; sourceTree = "<group>"; };
    485485                14BD5A2B0A3E91F600BAF59C /* JSValueRef.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSValueRef.cpp; sourceTree = "<group>"; };
    486                 14BD5A2D0A3E91F600BAF59C /* testapi.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testapi.c; path = API/testapi.c; sourceTree = "<group>"; };
     486                14BD5A2D0A3E91F600BAF59C /* testapi.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testapi.c; path = API/tests/testapi.c; sourceTree = "<group>"; };
    487487                14D792640DAA03FB001A9F05 /* RegisterFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterFile.h; path = VM/RegisterFile.h; sourceTree = "<group>"; };
    488488                14D792650DAA03FB001A9F05 /* RegisterFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegisterFile.cpp; path = VM/RegisterFile.cpp; sourceTree = "<group>"; };
    489                 14D857740A4696C80032146C /* testapi.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = testapi.js; path = API/testapi.js; sourceTree = "<group>"; };
     489                14D857740A4696C80032146C /* testapi.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = testapi.js; path = API/tests/testapi.js; sourceTree = "<group>"; };
    490490                14DA818E0D99FD2000B0A4FB /* JSActivation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSActivation.h; sourceTree = "<group>"; };
    491491                14DA818F0D99FD2000B0A4FB /* JSActivation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSActivation.cpp; sourceTree = "<group>"; };
     
    912912                        isa = PBXGroup;
    913913                        children = (
    914                                 1440F6420A4F8B6A0005F061 /* JSNode.c */,
    915                                 1440F6410A4F8B6A0005F061 /* JSNode.h */,
    916                                 144007560A5370D20005F061 /* JSNodeList.c */,
    917                                 144007550A5370D20005F061 /* JSNodeList.h */,
    918                                 141211020A48780900480255 /* minidom.c */,
    919                                 1412110D0A48788700480255 /* minidom.js */,
    920                                 144005200A531D3B0005F061 /* Node.c */,
    921                                 1440051F0A531D3B0005F061 /* Node.h */,
    922                                 144007490A536CC20005F061 /* NodeList.c */,
    923                                 144007480A536CC20005F061 /* NodeList.h */,
     914                                1440F6420A4F8B6A0005F061 /* tests/JSNode.c */,
     915                                1440F6410A4F8B6A0005F061 /* tests/JSNode.h */,
     916                                144007560A5370D20005F061 /* tests/JSNodeList.c */,
     917                                144007550A5370D20005F061 /* tests/JSNodeList.h */,
     918                                141211020A48780900480255 /* tests/minidom.c */,
     919                                1412110D0A48788700480255 /* tests/minidom.js */,
     920                                144005200A531D3B0005F061 /* tests/Node.c */,
     921                                1440051F0A531D3B0005F061 /* tests/Node.h */,
     922                                144007490A536CC20005F061 /* tests/NodeList.c */,
     923                                144007480A536CC20005F061 /* tests/NodeList.h */,
    924924                        );
    925925                        name = minidom;
     
    13151315                        buildActionMask = 2147483647;
    13161316                        files = (
    1317                                 144005CB0A5338D10005F061 /* JSNode.h in Headers */,
    1318                                 144007570A5370D20005F061 /* JSNodeList.h in Headers */,
    1319                                 144005CC0A5338F80005F061 /* Node.h in Headers */,
    1320                                 1440074A0A536CC20005F061 /* NodeList.h in Headers */,
     1317                                144005CB0A5338D10005F061 /* tests/JSNode.h in Headers */,
     1318                                144007570A5370D20005F061 /* tests/JSNodeList.h in Headers */,
     1319                                144005CC0A5338F80005F061 /* tests/Node.h in Headers */,
     1320                                1440074A0A536CC20005F061 /* tests/NodeList.h in Headers */,
    13211321                                A72701B90DADE94900E548D7 /* ExceptionHelpers.h in Headers */,
    13221322                                A7C31DAA0DBEBA4300FDF8EB /* SegmentedVector.h in Headers */,
     
    16331633                        runOnlyForDeploymentPostprocessing = 0;
    16341634                        shellPath = /bin/sh;
    1635                         shellScript = "cp \"${SRCROOT}/API/minidom.js\" \"${BUILT_PRODUCTS_DIR}\"";
     1635                        shellScript = "cp \"${SRCROOT}/API/tests/minidom.js\" \"${BUILT_PRODUCTS_DIR}\"";
    16361636                };
    16371637                14D857B50A469C100032146C /* ShellScript */ = {
     
    16461646                        runOnlyForDeploymentPostprocessing = 0;
    16471647                        shellPath = /bin/sh;
    1648                         shellScript = "cp \"${SRCROOT}/API/testapi.js\" \"${BUILT_PRODUCTS_DIR}\"";
     1648                        shellScript = "cp \"${SRCROOT}/API/tests/testapi.js\" \"${BUILT_PRODUCTS_DIR}\"";
    16491649                };
    16501650                1C395CBC0C6BCC16000D1E52 /* Generate 64-bit Export File */ = {
     
    17461746                        buildActionMask = 2147483647;
    17471747                        files = (
    1748                                 1440057F0A5335640005F061 /* JSNode.c in Sources */,
    1749                                 144007580A5370D20005F061 /* JSNodeList.c in Sources */,
    1750                                 1440063F0A53598A0005F061 /* Node.c in Sources */,
    1751                                 1440074B0A536CC20005F061 /* NodeList.c in Sources */,
    1752                                 141211340A48795800480255 /* minidom.c in Sources */,
     1748                                1440057F0A5335640005F061 /* tests/JSNode.c in Sources */,
     1749                                144007580A5370D20005F061 /* tests/JSNodeList.c in Sources */,
     1750                                1440063F0A53598A0005F061 /* tests/Node.c in Sources */,
     1751                                1440074B0A536CC20005F061 /* tests/NodeList.c in Sources */,
     1752                                141211340A48795800480255 /* tests/minidom.c in Sources */,
    17531753                        );
    17541754                        runOnlyForDeploymentPostprocessing = 0;
Note: See TracChangeset for help on using the changeset viewer.