source: tol/tol_tests/tol/Bugzilla/bug_001228/test.tol

devel
Last change on this file was e188ff5, checked in by Víctor de Buen <vdebuen@…>, 15 years ago

Refs #1228

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@3583 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 1.2 KB
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_ =  1228;
9  Text email_ = "vdebuen@tol-project.org";
10  Text summary_="Managing Descriptions. ClassMembers and member descriptions";
11  Text link_ = GetTolBugzillaLink(bugNum_);
12
13  //Write here the initial test TOL code if needed
14
15Real numErr0 = Copy(NError);
16Real numWar0 = Copy(NWarning);
17#Embed "check.tol";
18Real numErr1 = Copy(NError);
19Real numWar1 = Copy(NWarning);
20
21
22  Set partialResults_ = [[ numErr0,numErr1,numWar1,numWar0, ok.1, ok.2]];
23
24//This is a messure of the success of the test
25  Real quality_ = Group("And",[[numErr1==numErr0,numWar1==numWar0,ok.1,ok.1]]);
26
27//Return the results
28  Set resultStr_ = @strTestStatus(summary_, link_, quality_,
29                    "Partial results = "<<partialResults_,
30                    "NO DBServerType", "NO DBServerHost", "NO DBAlias",
31                    email_);
32  WriteLn(""<<resultStr_);
33  resultStr_;
34
35/* */
36
Note: See TracBrowser for help on using the repository browser.