root/tolp/trunk/tol_tests/tol/Bugzilla/bug_001086/test_.tol @ 3139

Revision 3139, 1.2 kB (checked in by vdebuen, 3 years ago)

Refs #1086

  • Property svn:eol-style set to native
Line 
1/* -*- mode: C++ -*- */
2//////////////////////////////////////////////////////////////////////////////
3// FILE   : test.tol
4// PURPOSE: test for a resolved bug
5//////////////////////////////////////////////////////////////////////////////
6
7//Sets the bugzilla identifier number, your e-mail and the bugŽs summary
8  Real bugNum_ =  1018;
9  Text email_ = "vdebuen@tol-project.org"; 
10  Text summary_="DBTFile não funciona";
11  Text link_ = GetTolBugzillaLink(bugNum_);
12
13  //Write here the initial test TOL code if needed
14  Real numErr0 = Copy(NError);
15  Real numWar0 = Copy(NWarning);
16
17#Require MMS;
18Set Ois.Load("ejemploNameBlock.oza");
19
20Real ok.1 = (setNameBlock[1]<:setNameBlock);
21
22
23  Real numErr1 = Copy(NError);
24  Real numWar1 = Copy(NWarning);
25
26  Set partialResults_ = [[ numErr0, numErr1, ok.1]];
27
28//This is a messure of the success of the test
29  Real quality_ = And(numErr1 == numErr0, 
30                      numWar1 == numWar0, ok.1);
31
32//Return the results
33  Set resultStr_ = @strTestStatus(summary_, link_, quality_,
34                    "Partial results = "<<partialResults_,
35                    "NO DBServerType", "NO DBServerHost", "NO DBAlias",
36                    email_);
37  WriteLn(""<<resultStr_);
38  resultStr_;
39
40/* */
41
Note: See TracBrowser for help on using the browser.