Server.Test.WhiteBoxTesting Class Reference

Tests the Catalogue.Search function using whitebox testing. More...

Collaboration diagram for Server.Test.WhiteBoxTesting:

Collaboration graph
[legend]
List of all members.

Public Member Functions

[SetUp] void Init ()
 Set up a new catalogue and register a user.
[Test] void IndependentPathTest1 ()
 Search for a query with length < 3.
[Test] void IndependentPathTest2 ()
 Search for an unsupported ResultType.
[Test] void IndependentPathTest3 ()
 Search for ResultType.Literature without any findings.
[Test] void IndependentPathTest4 ()
 Search for ResultType.Literature and find a result.
[Test] void IndependentPathTest5 ()
 Search for ResultType.Person without any findings.
[Test] void IndependentPathTest6 ()
 Search for ResultType.Person and find a result.
[Test] void IndependentPathTest7 ()
 Search for ResultType.Project without any findings.
[Test] void IndependentPathTest8 ()
 Search for ResultType.Project and find a result.
[Test] void IndependentPathTest9 ()
 Search for ResultType.Review without any findings.
[Test] void IndependentPathTest10 ()
 Search for ResultType.Review and find a result.

Private Attributes

IPersistentData pd
Catalogue catalogue

Detailed Description

Tests the Catalogue.Search function using whitebox testing.

Definition at line 14 of file WhiteBoxTesting.cs.


Member Function Documentation

[SetUp] void Server.Test.WhiteBoxTesting.Init (  ) 

Set up a new catalogue and register a user.

Definition at line 23 of file WhiteBoxTesting.cs.

[Test] void Server.Test.WhiteBoxTesting.IndependentPathTest1 (  ) 

Search for a query with length < 3.

Definition at line 35 of file WhiteBoxTesting.cs.

[Test] void Server.Test.WhiteBoxTesting.IndependentPathTest2 (  ) 

Search for an unsupported ResultType.

Definition at line 45 of file WhiteBoxTesting.cs.

[Test] void Server.Test.WhiteBoxTesting.IndependentPathTest3 (  ) 

Search for ResultType.Literature without any findings.

Definition at line 55 of file WhiteBoxTesting.cs.

[Test] void Server.Test.WhiteBoxTesting.IndependentPathTest4 (  ) 

Search for ResultType.Literature and find a result.

Definition at line 65 of file WhiteBoxTesting.cs.

References Shared.LiteratureInfo.summary.

[Test] void Server.Test.WhiteBoxTesting.IndependentPathTest5 (  ) 

Search for ResultType.Person without any findings.

Definition at line 81 of file WhiteBoxTesting.cs.

[Test] void Server.Test.WhiteBoxTesting.IndependentPathTest6 (  ) 

Search for ResultType.Person and find a result.

Definition at line 91 of file WhiteBoxTesting.cs.

References Shared.PersonInfo.email.

[Test] void Server.Test.WhiteBoxTesting.IndependentPathTest7 (  ) 

Search for ResultType.Project without any findings.

Definition at line 107 of file WhiteBoxTesting.cs.

[Test] void Server.Test.WhiteBoxTesting.IndependentPathTest8 (  ) 

Search for ResultType.Project and find a result.

Definition at line 117 of file WhiteBoxTesting.cs.

References Shared.ProjectInfo.synopsis.

[Test] void Server.Test.WhiteBoxTesting.IndependentPathTest9 (  ) 

Search for ResultType.Review without any findings.

Definition at line 136 of file WhiteBoxTesting.cs.

[Test] void Server.Test.WhiteBoxTesting.IndependentPathTest10 (  ) 

Search for ResultType.Review and find a result.

Definition at line 146 of file WhiteBoxTesting.cs.


The documentation for this class was generated from the following file:
Generated on Thu Dec 21 06:25:31 2006 for SCRAML by  doxygen 1.5.1-p1