--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/javascript/qunit/Makefile Fri Jul 31 14:38:43 2015 -0700
@@ -0,0 +1,63 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME= qunit
+COMPONENT_VERSION= 1.18.0
+COMPONENT_PROJECT_URL= http://qunitjs.com/
+COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE= $(COMPONENT_VERSION).tar.gz
+COMPONENT_ARCHIVE_HASH= sha256:4b66ea61546142aef95c6cb135fc66d646f2d6527b5c190d8596f15424c05041
+COMPONENT_ARCHIVE_URL= https://github.com/jquery/qunit/archive/$(COMPONENT_ARCHIVE)
+COMPONENT_BUGDB= javascript/qunit
+
+TPNO= 23283
+
+include ../../../make-rules/prep.mk
+include ../../../make-rules/ips.mk
+
+# common targets
+publish: download prep
+
+# To run the test, you'll need to get pre-built installer of node.js for
+# Solaris at nodejs.org since node.js is not delivered as part of Solaris
+# yet.
+# Then go to qunit's source code root, 'qunit-1.18.0',
+# run `npm install -g grunt-cli` to have a global grunt binary,
+# and run `npm install` to get required node modules for additional grunt tasks.
+# Finally run `grunt` to start running all the test tasks.
+# However, phantomjs is not supported well in Solaris and there is not an intutive
+# patch for fixing it, therefore `npm install` fails when it tries to install
+# phantomjs, and the test taks can't be run.
+# The phantomjs issue is discussed at:
+#
+# https://github.com/ariya/phantomjs/issues/10521
+#
+# These test tasks are passed sucessfully in a Mac OSX laptop. It'd be fine
+# to use QUnit in the browser.
+test: $(NO_TESTS)
+
+system-test: $(NO_TESTS)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/javascript/qunit/other-licenses.txt Fri Jul 31 14:38:43 2015 -0700
@@ -0,0 +1,24 @@
+/*istanbul ignore next */
+// jscs:disable maximumLineLength
+/*
+* This file is a modified version of google-diff-match-patch's JavaScript implementation
+* (https://code.google.com/p/google-diff-match-patch/source/browse/trunk/javascript/diff_match_patch_uncompressed.js),
+* modifications are licensed as more fully set forth in LICENSE.txt.
+*
+* The original source of google-diff-match-patch is attributable and licensed as follows:
+*
+* Copyright 2006 Google Inc.
+* http://code.google.com/p/google-diff-match-patch/
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/javascript/qunit/qunit.p5m Fri Jul 31 14:38:43 2015 -0700
@@ -0,0 +1,44 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri \
+ value=pkg:/library/javascript/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="A Javascript unit testing framework"
+set name=pkg.description \
+ value="QUnit is a powerful, easy-to-use JavaScript unit testing framework written in Javascript. It's used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic Javascript code."
+set name=com.oracle.info.description \
+ value="QUnit, a Javascript unit testing framework"
+set name=com.oracle.info.tpno value=$(TPNO)
+set name=info.classification \
+ value="org.opensolaris.category.2008:Development/Other Languages"
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2015/298
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+file qunit/qunit.css path=usr/share/lib/javascript/qunit/1.18.0/qunit.css
+file qunit/qunit.js path=usr/share/lib/javascript/qunit/1.18.0/qunit.js
+link path=usr/share/lib/javascript/qunit/latest target=1.18.0
+license other-licenses.txt license="Apache 2.0"
+license LICENSE.txt license=MIT