This class tests and illustrates the use of the HashedList class. Tests are in three parts.
Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)
The first section tests the methods that are present in the Collection interface. All of the optional methods of that interface are supported. This involves tests of the HashedClass interface directly.
The second set of tests uses the Cursor returned by the GetCursor() method and tests the standard Cursor methods to display and remove rows from the HashedList.
The third set of tests tests the extended capabilities of the HashedListCursor to add rows to the table, and to work as a cursor to move in a non-linear fashion through the list.
There is as yet no testing that the HashedList fails appropriately and gracefully.
Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)
Syntax
Visual Basic (Declaration) |
---|
<TestFixtureAttribute> Public Class HashedListTester |
C# |
---|
[TestFixtureAttribute] public class HashedListTester |
C++ |
---|
[TestFixtureAttribute] ref class HashedListTester |
J# |
---|
/** @attribute TestFixtureAttribute() */ public class HashedListTester |
JScript |
---|
public TestFixtureAttribute class HashedListTester |
Inheritance Hierarchy
System.Object
nom.tam.util.HashedListTester
nom.tam.util.HashedListTester
Thread Safety
Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.