view m-toolbox/classes/+utils/@models/built_in_model_unittest_template.m @ 40:977eb37f31cb database-connection-manager

User friendlier errors from utils.mysql.connect
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 18:04:03 +0100
parents f0afece42f48
children
line wrap: on
line source

% TEST_<CLASS>_MODEL_<NAME> runs tests for the <CLASS> built-in model <NAME>.
%
% VERSION: $Id: built_in_model_unittest_template.m,v 1.1 2011/04/29 07:05:54 hewitson Exp $
%
classdef test_<CLASS>_model_<NAME> < ltpda_builtin_model_utp
  
  methods
    function utp = test_<CLASS>_model_<NAME>()
      utp = utp@ltpda_builtin_model_utp();
      utp.className     = '<CLASS>';
      utp.methodName    = '<NAME>';
      utp.modelFilename = '<CLASS>_model_<NAME>';
    end
  end
  
end