⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 runtests.js

📁 sarissa用于支持多浏览器的浏览及编程
💻 JS
字号:
/***************************************************************************** * * Copyright (c) 2003-2004 EcmaUnit Contributors. All rights reserved. * * This software is distributed under the terms of the EcmaUnit * License. See LICENSE.txt for license text. For a list of EcmaUnit * Contributors see CREDITS.txt. * *****************************************************************************/// $Id$/*  Test runner for command-line environments, such as spidermonkey*/function runTests() {    reporter = new StdoutReporter;    var testcase = new TestTestCase();    testcase.initialize(reporter);    testcase.runTests();    var testcase2 = new TestTestCase2();    testcase2.initialize(reporter);    testcase2.runTests();    var testsuite = new TestSuite(reporter);    testsuite.registerTest(TestTestCase);    testsuite.registerTest(TestTestCase2);    testsuite.runSuite();};runTests();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -