﻿<?xml version="1.0" encoding="UTF-8"?>
<Template Title = "Test Suite">
  <import-xml src = "Templates/TemplateTools.xml" id = "TemplateTools" />
  <import-xml src = "Fragments/TestSuite.xml" id = "TestSuiteFragment" />

  <embedded-script>
    <![CDATA[
    template_init : function(){
      this.setTests();
			if(typeof this.resizeTo == "function"){
				this.resizeTo(600,400);
				this.setCanResize(0);
			}

    },
    setTests : function(s,p){
      if(!s) s = [];
      s.push("custom");
      this.getObjects().tests = s;
      if(!p) p = "Tests/";
      this.GetElementByRID("test_path").value = p;
      this.RefreshTestCases();
		}
	]]>
  </embedded-script>
</Template>
