[Test]
title GetContactDataList
create tserviceregistrytest testModule
testModule GetMetaDataListL 0 0 InputStart ServiceName Service.Contact InterfaceName IDataSource MinimumVersion 1.0 MaximumVersion 5.0 InputEnd  ExpectedStart StartMap ServiceName Service.Contact InterfaceName IDataSource VersionList 1.0 EndMap ExpectedEnd
delete testModule
[Endtest]


[Test]
title GetAllDataList
create tserviceregistrytest testModule
testModule GetMetaDataListL 0 0 ExpectedStart StartMap ServiceName Service.ServiceRegistry InterfaceName IService MinimumVersion 1.0 EndMap StartMap ServiceName Service.contact InterfaceName IDataSource VersionList 1.0 EndMap ExpectedEnd
delete testModule
[Endtest]

[Test]
title GetDatasourceDataList
create tserviceregistrytest testModule
testModule GetMetaDataListL 0 0 InputStart InterfaceName IDataSource InputEnd ExpectedStart StartMap InterfaceName IDataSource EndMap StartMap InterfaceName IDataSource EndMap ExpectedEnd
delete testModule
[Endtest]


[Test]
title GetServiceNameDataList
create tserviceregistrytest testModule
testModule GetMetaDataListL 0 0 InputStart ServiceName Service.ServiceRegistry InputEnd  ExpectedStart StartMap ServiceName Service.ServiceRegistry InterfaceName IService VersionList 1.0 EndMap ExpectedEnd
delete testModule
[Endtest]

[Test]
title OnlyMinversion
create tserviceregistrytest testModule
testModule GetMetaDataListL 0 0 InputStart MinimumVersion 1.0 InputEnd 
delete testModule
[Endtest] 

[Test]
title OnlyMaxversion
create tserviceregistrytest testModule
testModule GetMetaDataListL 0 0 InputStart MaximumVersion 2.0 InputEnd 
delete testModule
[Endtest]

[Test]
title HighVersionRange
create tserviceregistrytest testModule
testModule GetMetaDataListL 0 0 InputStart MinimumVersion 9999 MaximumVersion 9999 InputEnd 
delete testModule
[Endtest]

[Test]
title InvalidServiceName
create tserviceregistrytest testModule
testModule GetMetaDataListL 0 0 InputStart ServiceName Service InputEnd
delete testModule
[Endtest]


[Test]
title InvalidInterfaceName
create tserviceregistrytest testModule
testModule GetMetaDataListL 0 0 InputStart InterfaceName ooo InputEnd 
delete testModule
[Endtest]


[Test]
title OutofRangeVersion
create tserviceregistrytest testModule
testModule GetMetaDataListL 0 0 InputStart MinimumVersion 1.1234567891011121314151312 InputEnd 
delete testModule
[Endtest]


[Test]
title MaxVerLessThanMinVer
create tserviceregistrytest testModule
testModule GetMetaDataListL 1000 0 InputStart MinimumVersion 1.0 MaximumVersion -1.0 InputEnd 
delete testModule
[Endtest]


[Test]
title CancelRequest
create tserviceregistrytest testModule
testModule GetMetaDataListL 0 1
delete testModule
[Endtest]

[Test]
title LoadProviderTest
create tserviceregistrytest testModule
testModule LoadProviderTest
delete testModule
[Endtest]

[Test]
title GetListTwice
create tserviceregistrytest testModule
testModule GetListTwice
delete testModule
[Endtest]

[Test]
title InvalidCommand
create tserviceregistrytest testModule
testModule InvalidCommand
delete testModule
[Endtest]

[Test]
title CancelInvalidTransID
create tserviceregistrytest testModule
testModule CancelInvalidTransID
delete testModule
[Endtest]

[Test]
title InvalidServiceValue
create tserviceregistrytest testModule
testModule InvalidServiceValue
delete testModule
[Endtest]

[Test]
title InvalidInterfaceValue
create tserviceregistrytest testModule
testModule InvalidInterfaceValue
delete testModule
[Endtest]

[Test]
title InvalidMinVerValue
create tserviceregistrytest testModule
testModule InvalidMinVerValue
delete testModule
[Endtest]

[Test]
title InvalidMaxVerValue
create tserviceregistrytest testModule
testModule InvalidMaxVerValue
delete testModule
[Endtest]

[Test]
title InvalidFilterValue
create tserviceregistrytest testModule
testModule InvalidFilterValue
delete testModule
[Endtest]
