Index: src/extensions/i18n/header.js |
diff --git a/test/cctest/test-platform.cc b/src/extensions/i18n/header.js |
similarity index 81% |
copy from test/cctest/test-platform.cc |
copy to src/extensions/i18n/header.js |
index 6c20b853c5e7408b1877ee74617c01c3fc32ed5f..1c0a2d8874b5aa982ca2be2fb39f2ead1c4a9622 100644 |
--- a/test/cctest/test-platform.cc |
+++ b/src/extensions/i18n/header.js |
@@ -24,14 +24,18 @@ |
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+// limitations under the License. |
-#include <stdlib.h> |
+// ECMAScript 402 API implementation is broken into separate files for |
+// each service. The build system combines them together into one |
+// Intl namespace. |
-#include "cctest.h" |
-#include "platform.h" |
+/** |
+ * Intl object is a single object that has some named properties, |
+ * all of which are constructors. |
+ */ |
+var Intl = (function() { |
-using namespace ::v8::internal; |
+'use strict'; |
-TEST(NumberOfCores) { |
- CHECK_GT(OS::NumberOfCores(), 0); |
-} |
+var Intl = {}; |