# # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (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.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS" basis, # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License # for the specific language governing rights and limitations under the # License. # # The Original Code is mozilla.org code. # # The Initial Developer of the Original Code is # Mozilla.org. # Portions created by the Initial Developer are Copyright (C) 2009 # the Initial Developer. All Rights Reserved. # # Contributor(s): # # Alternatively, the contents of this file may be used under the terms of # either of the GNU General Public License Version 2 or later (the "GPL"), # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), # in which case the provisions of the GPL or the LGPL are applicable instead # of those above. If you wish to allow use of your version of this file only # under the terms of either the GPL or the LGPL, and not to allow others to # use your version of this file under the terms of the MPL, indicate your # decision by deleting the provisions above and replace them with the notice # and other provisions required by the GPL or the LGPL. If you do not delete # the provisions above, a recipient may use your version of this file under # the terms of any one of the MPL, the GPL or the LGPL. # # ***** END LICENSE BLOCK ***** DEPTH = ../../../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ relativesrcdir = content/xul/templates/tests/chrome include $(DEPTH)/config/autoconf.mk include $(topsrcdir)/config/rules.mk # NOTE: it is important that the first test of the test_tmpl_* tests here use # datasources="rdf:null" to ensure that the real animals.rdf datasource # can be synchronously loaded before the tests run. _TEST_FILES = \ test_bug476634.xul \ templates_shared.js \ animals.rdf \ animals.xml \ animals.sqlite \ test_tmpl_bindingsextendedsyntax.xul \ test_tmpl_bindingsmultiple.xul \ test_tmpl_bindingsquerysyntax.xul \ test_tmpl_bindingsreversed.xul \ test_tmpl_bindingssameastriple.xul \ test_tmpl_containerandmembervariablechanged.xul \ test_tmpl_containervariablechanged.xul \ test_tmpl_containmentattribute.xul \ test_tmpl_defaultcontainervariableisuri.xul \ test_tmpl_extendedsyntaxemptyconditions.xul \ test_tmpl_extendedsyntaxotherrefvariable.xul \ test_tmpl_extendedsyntaxremoveunmatched.xul \ test_tmpl_extendedsyntaxsimplevariablesubstitution.xul \ test_tmpl_extendedsyntaxtworulesrecurse.xul \ test_tmpl_extendedsyntaxusinganinterveningcontainer.xul \ test_tmpl_extendedsyntax.xul \ test_tmpl_extendedvariablesubstitution.xul \ test_tmpl_gridelement.xul \ test_tmpl_htmlelementextendedsyntaxwithbinding.xul \ test_tmpl_htmlelementquerysyntaxrecursive.xul \ test_tmpl_htmlelementquerysyntaxwithmultiplerules.xul \ test_tmpl_htmlelementsimplesyntaxusingatextnode.xul \ test_tmpl_htmlelementsimplesyntax.xul \ test_tmpl_listboxelement.xul \ test_tmpl_literalasmember.xul \ test_tmpl_membervariablechanged.xul \ test_tmpl_membervariablesubstitution.xul \ test_tmpl_menuelementrecursive.xul \ test_tmpl_menuelement.xul \ test_tmpl_menulistelement.xul \ test_tmpl_mixedsyntaxiscontainerisempty.xul \ test_tmpl_mixedsyntaxiscontainer.xul \ test_tmpl_mixedsyntaxisempty.xul \ test_tmpl_noactionuriattribute.xul \ test_tmpl_noaction.xul \ test_tmpl_parentconditions.xul \ test_tmpl_parentcontenttag.xul \ test_tmpl_parentsimplesyntax.xul \ test_tmpl_query3tripleswherecontains.xul \ test_tmpl_query3triples.xul \ test_tmpl_querymember3tripleswhereequals.xul \ test_tmpl_querymemberandtwotriples.xul \ test_tmpl_querymembertriplemembertriple.xul \ test_tmpl_queryresourcematch.xul \ test_tmpl_queryreversetriple.xul \ test_tmpl_queryselfwithtriple.xul \ test_tmpl_querysetone.xul \ test_tmpl_querysettwowithcondition.xul \ test_tmpl_querysettwo.xul \ test_tmpl_querysyntaxmultiplerulesfirstconditionall.xul \ test_tmpl_querysyntaxmultiplerulestwoconditions.xul \ test_tmpl_querysyntaxmultiplerules.xul \ test_tmpl_querysyntax.xul \ test_tmpl_querytripleandmembermerge.xul \ test_tmpl_querytripleobjecttosubject.xul \ test_tmpl_querytwomembersfiltered.xul \ test_tmpl_querytwomembers.xul \ test_tmpl_querytwotriples.xul \ test_tmpl_queryupwardsmember.xul \ test_tmpl_queryupwardsmembertripleandfilteringtriple.xul \ test_tmpl_querywithemptyconditions.xul \ test_tmpl_referenceasmember.xul \ test_tmpl_selfgenerationextendedsyntax.xul \ test_tmpl_selfgenerationsimplesyntax.xul \ test_tmpl_simplesyntaxenclosedinacontainerwitharule.xul \ test_tmpl_simplesyntaxenclosedinacontainer.xul \ test_tmpl_simplesyntaxiteratingoverasinglevalue.xul \ test_tmpl_simplesyntaxusinganinterveningcontainer.xul \ test_tmpl_simplesyntaxusingatextnode.xul \ test_tmpl_simplesyntaxusingcontainerasthegenerationelement.xul \ test_tmpl_simplesyntaxusingdontrecurse.xul \ test_tmpl_simplesyntaxusingrecursivegenerationagain.xul \ test_tmpl_simplesyntaxusingrecursivegeneration.xul \ test_tmpl_simplesyntaxwithtwovariablesused.xul \ test_tmpl_simplevariablesubstitutioncaretsatbeginningandend.xul \ test_tmpl_simplevariablesubstitutioncaretsubstitution.xul \ test_tmpl_simplevariablesubstitutionnovariable.xul \ test_tmpl_simplevariablesubstitutionquestionmarkaspartofvariable.xul \ test_tmpl_simplevariablesubstitutionquestionmarksubstitution.xul \ test_tmpl_simplevariablesubstitutiontextandvariable.xul \ test_tmpl_simplevariablesubstitutionvariableandtextconcatenated.xul \ test_tmpl_simplevariablesubstitutionvariablesconcatenated.xul \ test_tmpl_simplesyntaxfilterwithmultiplerules.xul \ test_tmpl_simplesyntaxfilterwithrule.xul \ test_tmpl_simplesyntaxfilter.xul \ test_tmpl_sortascendingquerysyntax.xul \ test_tmpl_sortdescendingquerysyntax.xul \ test_tmpl_sortunknownascendingquerysyntax.xul \ test_tmpl_sortresourceascendingquerysyntax.xul \ test_tmpl_sortresourcedescendingquerysyntax.xul \ test_tmpl_sortresourcesettopredicateascendingquerysyntax.xul \ test_tmpl_sortresourcesettopredicatedescendingquerysyntax.xul \ test_tmpl_sortresource2settopredicateascendingquerysyntax.xul \ test_tmpl_sortresource2settopredicatedescendingquerysyntax.xul \ test_tmpl_sorttworesourcessettopredicateascendingquerysyntax.xul \ test_tmpl_sorttworesourcesasstringsettopredicatedescendingquerysyntax.xul \ test_tmpl_sorttwovariablesascendingquerysyntax.xul \ test_tmpl_sorttwovariablesascendingsimplesyntax.xul \ test_tmpl_sorttwovariablesdescendingquerysyntax.xul \ test_tmpl_sortresource2descendingsimplesyntax.xul \ test_tmpl_sortascendingtworulesquerysyntax.xul \ test_tmpl_sortascendingtworuleswithcontainerquerysyntax.xul \ test_tmpl_sortascendingtworuleswithdifferentcontainerquerysyntax.xul \ test_tmpl_sortquerymemberandtwotriples.xul \ test_tmpl_storage_baddatasource.xul \ test_tmpl_storage_badquery.xul \ test_tmpl_storage_dynamicparameters.xul \ test_tmpl_storage_listbox.xul \ test_tmpl_storage_multiqueries.xul \ test_tmpl_storage_parameters.xul \ test_tmpl_storage_rule.xul \ test_tmpl_storage_simple.xul \ test_tmpl_storage_sortintegerasc.xul \ test_tmpl_storage_sortintegerdesc.xul \ test_tmpl_storage_sortstringasc.xul \ test_tmpl_storage_sortstringdesc.xul \ test_tmpl_storage_tree.xul \ test_tmpl_twogenerationnodes.xul \ test_tmpl_treeelementquerysyntaxtreebuilder.xul \ test_tmpl_treeelementquerysyntax.xul \ test_tmpl_treeelementsimplesyntaxrecursivetreebuilder.xul \ test_tmpl_treeelementsimplesyntaxrecursive.xul \ test_tmpl_treeelementsimplesyntaxnotrecursivetreebuilder.xul \ test_tmpl_treeelementsimplesyntaxnotrecursive.xul \ test_tmpl_treeelementquerysyntaxrecursivetreebuilder.xul \ test_tmpl_treeelementquerysyntaxrecursive.xul \ test_tmpl_treeelementquerysyntaxnotrecursivetreebuilder.xul \ test_tmpl_treeelementquerysyntaxnotrecursive.xul \ test_tmpl_treeelementquerysyntaxrecursivemultiplerulestreebuilder.xul \ test_tmpl_treeelementquerysyntaxrecursivemultiplerules.xul \ test_tmpl_treeelementtreecell.xul \ test_tmpl_treeelementtreecelltreebuilder.xul \ test_tmpl_treeelementtreecellsortascending.xul \ test_tmpl_treeelementtreecellsortascendingtreebuilder.xul \ test_tmpl_treeelementtreeitemonly.xul \ test_tmpl_treeelementtreeitemsortascending.xul \ test_tmpl_whereequals.xul \ test_tmpl_whereequalswrongcase.xul \ test_tmpl_whereequalssamevariable.xul \ test_tmpl_wheresubjectequalsvariable.xul \ test_tmpl_wherestartswith.xul \ test_tmpl_wherestartswithvariable.xul \ test_tmpl_wherestartswithunknownvariable.xul \ test_tmpl_wheresubjectstartswithvariable.xul \ test_tmpl_whereendswith.xul \ test_tmpl_wherecontains.xul \ test_tmpl_wherebeforeuppercase.xul \ test_tmpl_wherebeforelowercase.xul \ test_tmpl_whereafteruppercase.xul \ test_tmpl_whereafterlowercase.xul \ test_tmpl_whereequalsignorecase.xul \ test_tmpl_wherestartswithignorecase.xul \ test_tmpl_whereendswithignorecase.xul \ test_tmpl_wherecontainsignorecase.xul \ test_tmpl_wherebeforeignorecase.xul \ test_tmpl_whereafterignorecase.xul \ test_tmpl_whereequalsmultiple.xul \ test_tmpl_wherestartswithmultiple.xul \ test_tmpl_whereequalsnegation.xul \ test_tmpl_whereequalsnegationwrongcase.xul \ test_tmpl_whereequalsnegationignorecase.xul \ test_tmpl_whereequalsmultiplenegation.xul \ test_tmpl_whereequalsmultiplenegationignorecase.xul \ test_tmpl_wherestartswithnegation.xul \ test_tmpl_whereendswithnegation.xul \ test_tmpl_wherecontainsnegation.xul \ test_tmpl_wherebeforenegation.xul \ test_tmpl_whereafternegation.xul \ test_tmpl_wherenorel.xul \ test_tmpl_wherenovalue.xul \ test_tmpl_wherenosubject.xul \ test_tmpl_whereequalsresource.xul \ test_tmpl_wherecontainsresource.xul \ test_tmpl_wherecontainstwo.xul \ test_tmpl_whereequalsothervariable.xul \ test_tmpl_wheregreater.xul \ test_tmpl_whereless.xul \ test_tmpl_wheregreaternegation.xul \ test_tmpl_wherelessnegation.xul \ test_tmpl_whereequalsnumber.xul \ test_tmpl_wherecontainsnumber.xul \ test_tmpl_wheregreaterstring.xul \ test_tmpl_wherelessstring.xul \ test_tmpl_wheregreaternegationstring.xul \ test_tmpl_wherelessnegationstring.xul \ test_tmpl_wherecontainsnumberstring.xul \ test_tmpl_xmlquerysimple.xul \ test_tmpl_xmlquerywithdifferentmember.xul \ test_tmpl_xmlquerywithassign.xul \ test_tmpl_xmlquerywithassignmentandcondition.xul \ test_tmpl_xmlquerywithassignmentandconditiondontrecurse.xul \ test_tmpl_xmlquerywithbindinginbindings.xul \ test_tmpl_xmlquerywithbindinginrule.xul \ test_tmpl_xmlquerywithsort.xul \ test_tmpl_xmlquerywithsortotherfield.xul \ test_tmpl_xmlquerywithmultiplequeries.xul \ test_tmpl_xmlquerywithothertypes.xul \ test_tmpl_xmlquerywithinlinedata.xul \ test_tmpl_xmlquerywithinlinedatawithmultiplequeries.xul \ $(NULL) libs:: $(_TEST_FILES) $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir)