format 74
"Tester" // default::Tester
  revision 1
  modified_by 127 "neo"
  // class settings
  //class diagram settings
  draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default
  //use case diagram settings
  package_name_in_tab default show_context default auto_label_position default draw_all_relations default class_drawing_mode default shadow default show_stereotype_properties default
  //sequence diagram settings
  show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default
  //collaboration diagram settings
  show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default
  //object diagram settings
   write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default
  //component diagram settings
  package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default
  draw_component_as_icon default show_component_req_prov default show_component_rea default show_stereotype_properties default
  //deployment diagram settings
  package_name_in_tab default show_context default write_horizontally default auto_label_position default draw_all_relations default shadow default
  draw_component_as_icon default show_component_req_prov default show_component_rea default show_stereotype_properties default
  //state diagram settings
  package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default
  show_activities default region_horizontally default drawing_language default show_stereotype_properties default
  //activity diagram settings
  package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default
  show_infonote default drawing_language default show_stereotype_properties default
  
  comment "This file is part of the Nette Tester.

Copyright (c) 2009 David Grudl (http://davidgrudl.com) 
For the full copyright and license information, please view the file license.txt that was distributed with this source code."
  classview 136191 "Class View"
    //class diagram settings
    draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default
    //collaboration diagram settings
    show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default
    //object diagram settings
     write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default
    //sequence diagram settings
    show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default
    //state diagram settings
    package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default
    show_activities default region_horizontally default drawing_language default show_stereotype_properties default
    //class settings
    //activity diagram settings
    package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default
    show_infonote default drawing_language default show_stereotype_properties default
    class 176639 "DataProvider"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Data provider helpers."
      operation 465023 "load"
	class_operation public explicit_return_type "void"
	nparams 2
	  param in name "$file" explicit_type "mixed"
	  param in name "$query" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 465151 "testQuery"
	class_operation public explicit_return_type "void"
	nparams 2
	  param in name "$input" explicit_type "mixed"
	  param in name "$query" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 465279 "compare"
	class_operation private explicit_return_type "void"
	nparams 3
	  param in name "$l" explicit_type "mixed"
	  param in name "$operator" explicit_type "mixed"
	  param in name "$r" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end
    end

    class 176767 "DomQuery"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "DomQuery simplifies querying (X)HTML documents."
      operation 465407 "fromHtml"
	class_operation public return_type class_ref 176767 // DomQuery
	nparams 1
	  param in name "$html" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 465535 "fromXml"
	class_operation public return_type class_ref 176767 // DomQuery
	nparams 1
	  param in name "$xml" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 465663 "find"
	public explicit_return_type ""
	nparams 1
	  param in name "$selector" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns array of descendants filtered by a selector."
      end

      operation 465791 "has"
	public explicit_return_type "bool"
	nparams 1
	  param in name "$selector" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Check the current document against a selector."
      end

      operation 465919 "css2xpath"
	class_operation public explicit_return_type "string"
	nparams 1
	  param in name "$css" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Transforms CSS expression to XPath."
      end
    end

    class 176895 "Helpers"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Test helpers."
      operation 466047 "setup"
	class_operation public explicit_return_type "void"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Configures PHP environment."
      end

      operation 466175 "purge"
	class_operation public explicit_return_type "void"
	nparams 1
	  param in name "$dir" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Purges directory."
      end

      operation 466303 "skip"
	class_operation public explicit_return_type "void"
	nparams 1
	  param in name "$message" explicit_type "string"
	    defaultvalue "''"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Skips this test."
      end

      operation 466431 "lock"
	class_operation public explicit_return_type "void"
	nparams 2
	  param in name "$name" explicit_type "string"
	    defaultvalue "''"
	  param in name "$path" explicit_type "string"
	    defaultvalue "''"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "locks the parallel tests."
      end

      operation 466559 "with"
	class_operation public explicit_return_type "void"
	nparams 2
	  param in name "$obj" explicit_type "mixed"
	  param in name "$closure" explicit_type ""
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 466687 "parseDocComment"
	class_operation public explicit_return_type "array"
	nparams 1
	  param in name "$s" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Parse phpDoc comment."
      end
    end

    class 177023 "Assert"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Assertion test helpers."
      attribute 271999 "_onFailure"
	class_attribute public explicit_type "array"
	init_value "array(,'assertionFailed')"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 466815 "same"
	class_operation public explicit_return_type "void"
	nparams 2
	  param in name "$expected" explicit_type "mixed"
	  param in name "$actual" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks assertion. Values must be exactly the same."
      end

      operation 466943 "equal"
	class_operation public explicit_return_type "void"
	nparams 2
	  param in name "$expected" explicit_type "mixed"
	  param in name "$actual" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks assertion. The identity of objects and the order of keys in the arrays are ignored."
      end

      operation 467071 "contains"
	class_operation public explicit_return_type "void"
	nparams 2
	  param in name "$needle" explicit_type "mixed"
	  param in name "$actual" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks assertion. Values must contains expected needle."
      end

      operation 467199 "true"
	class_operation public explicit_return_type "void"
	nparams 1
	  param in name "$actual" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks TRUE assertion."
      end

      operation 467327 "false"
	class_operation public explicit_return_type "void"
	nparams 1
	  param in name "$actual" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks FALSE assertion."
      end

      operation 467455 "null"
	class_operation public explicit_return_type "void"
	nparams 1
	  param in name "$actual" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks NULL assertion."
      end

      operation 467583 "exception"
	class_operation public explicit_return_type "void"
	nparams 3
	  param in name "$function" explicit_type "mixed"
	  param in name "$class" explicit_type "mixed"
	  param in name "$message" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks if the function throws exception."
      end

      operation 467711 "throws"
	class_operation public explicit_return_type "void"
	nparams 3
	  param in name "$function" explicit_type "mixed"
	  param in name "$class" explicit_type "mixed"
	  param in name "$message" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks if the function throws exception."
      end

      operation 467839 "error"
	class_operation public explicit_return_type "void"
	nparams 3
	  param in name "$function" explicit_type "mixed"
	  param in name "$level" explicit_type "mixed"
	  param in name "$message" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks if the function throws exception."
      end

      operation 467967 "fail"
	class_operation public explicit_return_type "void"
	nparams 3
	  param in name "$message" explicit_type "mixed"
	  param in name "$expected" explicit_type "mixed"
	    defaultvalue "NULL"
	  param in name "$actual" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Failed assertion"
      end

      operation 468095 "compare"
	class_operation public explicit_return_type "bool"
	nparams 3
	  param in name "$expected" explicit_type "mixed"
	  param in name "$actual" explicit_type "mixed"
	  param in name "$level" explicit_type "int"
	    defaultvalue "0"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Compares two structures. Ignores the identity of objects and the order of keys in the arrays."
      end

      operation 468223 "match"
	class_operation public explicit_return_type "bool"
	nparams 2
	  param in name "$expected" explicit_type "mixed"
	  param in name "$actual" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Compares results using mask:
%a%    one or more of anything except the end of line characters %a?%   zero or more of anything except the end of line characters %A%    one or more of anything including the end of line characters %A?%   zero or more of anything including the end of line characters %s%    one or more white space characters except the end of line characters %s?%   zero or more white space characters except the end of line characters %S%    one or more of characters except the white space %S?%   zero or more of characters except the white space %c%    a single character of any sort (except the end of line) %d%    one or more digits %d?%   zero or more digits %i%    signed integer value %f%    floating point number %h%    one or more HEX digits %ns%   PHP namespace %[..]% reg-exp"
      end

      operation 468351 "assertionFailed"
	class_operation private explicit_return_type "void"
	nparams 3
	  param in name "$message" explicit_type "mixed"
	  param in name "$expected" explicit_type "mixed"
	  param in name "$actual" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Logs big variables to file and throws exception."
      end
    end

    class 177151 "AssertException"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Assertion exception."
      classrelation 164095 // <generalisation>
	relation 164095 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 164095 // <generalisation>
	  b parent class_ref 128511 // Exception
      end
    end

    class 177279 "TestCase"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Single test case."
      operation 468479 "run"
	public explicit_return_type "void"
	nparams 1
	  param in name "$method" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Runs the test case."
      end

      operation 468607 "runTest"
	public explicit_return_type "void"
	nparams 2
	  param in name "$name" explicit_type "mixed"
	  param in name "$args" explicit_type "array"
	    defaultvalue "array()"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Runs the single test."
      end

      operation 468735 "getData"
	protected explicit_return_type "array"
	nparams 1
	  param in name "$provider" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 468863 "setUp"
	protected explicit_return_type "void"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "This method is called before a test is executed."
      end

      operation 468991 "tearDown"
	protected explicit_return_type "void"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "This method is called after a test is executed."
      end
    end

    class 177407 "TestCaseException"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      classrelation 164223 // <generalisation>
	relation 164223 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 164223 // <generalisation>
	  b parent class_ref 128511 // Exception
      end
    end

    class 177535 "Dumper"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Dumps PHP variables."
      operation 469119 "toLine"
	class_operation public explicit_return_type "string"
	nparams 1
	  param in name "$var" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Dumps information about a variable in readable format."
      end

      operation 469247 "toPhp"
	class_operation public explicit_return_type "string"
	nparams 1
	  param in name "$var" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Dumps variable in PHP format."
      end

      operation 469375 "_toPhp"
	class_operation private explicit_return_type "string"
	nparams 2
	  param inout name "$var" explicit_type "mixed"
	  param in name "$level" explicit_type "int"
	    defaultvalue "0"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end
    end
  end

  package_ref 136447 // Runner

  package_ref 136575 // CodeCoverage
end
