Moving micasa 1.5 trunk to Novell forge.
This commit is contained in:
47
c_micasad/test/verbs/TestAddKeychains.cs
Normal file
47
c_micasad/test/verbs/TestAddKeychains.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
#if DEBUG
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
//using System.InvalidOperationException;
|
||||
|
||||
using NUnit.Framework;
|
||||
|
||||
using sscs.common;
|
||||
using sscs.cache;
|
||||
using sscs.verbs;
|
||||
|
||||
namespace sscs.verbs
|
||||
{
|
||||
|
||||
[TestFixture]
|
||||
public class TestAddKeyChain
|
||||
{
|
||||
|
||||
|
||||
|
||||
[SetUp]
|
||||
public void Init()
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// TBD: Need to construct the input buf and output buf and call the processRequest()
|
||||
//As of now all internal functions are tested and the cachelib test code
|
||||
// also indirectly tests this function.
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
43
c_micasad/test/verbs/TestCloseSecretStore.cs
Normal file
43
c_micasad/test/verbs/TestCloseSecretStore.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
#if DEBUG
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
//using System.InvalidOperationException;
|
||||
|
||||
using NUnit.Framework;
|
||||
|
||||
using sscs.common;
|
||||
using sscs.cache;
|
||||
using sscs.verbs;
|
||||
|
||||
namespace sscs.verbs
|
||||
{
|
||||
|
||||
[TestFixture]
|
||||
public class TestCloseSecretStore
|
||||
{
|
||||
|
||||
|
||||
|
||||
[SetUp]
|
||||
public void Init()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// TBD: Need to construct the input buf and output buf and call the processRequest()
|
||||
//As of now all internal functions are tested and the cachelib test code
|
||||
// also indirectly tests this function.
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
46
c_micasad/test/verbs/TestEnumerateKeyChainIDs.cs
Normal file
46
c_micasad/test/verbs/TestEnumerateKeyChainIDs.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
#if DEBUG
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
//using System.InvalidOperationException;
|
||||
|
||||
using NUnit.Framework;
|
||||
|
||||
using sscs.common;
|
||||
using sscs.cache;
|
||||
using sscs.verbs;
|
||||
|
||||
namespace sscs.verbs
|
||||
{
|
||||
|
||||
[TestFixture]
|
||||
public class TestEnumerateKeyChainID
|
||||
{
|
||||
|
||||
|
||||
|
||||
[SetUp]
|
||||
public void Init()
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// TBD: Need to construct the input buf and output buf and call the processRequest()
|
||||
//As of now all internal functions are tested and the cachelib test code
|
||||
// also indirectly tests this function.
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
47
c_micasad/test/verbs/TestEnumerateSecIDs.cs
Normal file
47
c_micasad/test/verbs/TestEnumerateSecIDs.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
#if DEBUG
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
//using System.InvalidOperationException;
|
||||
|
||||
using NUnit.Framework;
|
||||
|
||||
using sscs.common;
|
||||
using sscs.cache;
|
||||
using sscs.verbs;
|
||||
|
||||
namespace sscs.verbs
|
||||
{
|
||||
|
||||
[TestFixture]
|
||||
public class TestEnumerateSecID
|
||||
{
|
||||
|
||||
|
||||
|
||||
[SetUp]
|
||||
public void Init()
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// TBD: Need to construct the input buf and output buf and call the processRequest()
|
||||
//As of now all internal functions are tested and the cachelib test code
|
||||
// also indirectly tests this function.
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
62
c_micasad/test/verbs/TestOpenSecretStore.cs
Normal file
62
c_micasad/test/verbs/TestOpenSecretStore.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
#if DEBUG
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
//using System.InvalidOperationException;
|
||||
|
||||
using NUnit.Framework;
|
||||
|
||||
using sscs.common;
|
||||
using sscs.cache;
|
||||
using sscs.verbs;
|
||||
|
||||
namespace sscs.verbs
|
||||
{
|
||||
|
||||
[TestFixture]
|
||||
public class TestOpenSecretStore
|
||||
{
|
||||
|
||||
|
||||
|
||||
[SetUp]
|
||||
public void Init()
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
[Test]
|
||||
[ExpectedException(typeof(InvalidOperationException))]
|
||||
public void TestNullVerb()
|
||||
{
|
||||
|
||||
SSVerb verb = new OpenSecretStore();
|
||||
verb.processRequest(UserId);
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
// TBD: Need to construct the input buf and output buf and call the processRequest()
|
||||
//As of now all internal functions are tested and the cachelib test code
|
||||
// also indirectly tests this function.
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
47
c_micasad/test/verbs/TestReadSecret.cs
Normal file
47
c_micasad/test/verbs/TestReadSecret.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
#if DEBUG
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
//using System.InvalidOperationException;
|
||||
|
||||
using NUnit.Framework;
|
||||
|
||||
using sscs.common;
|
||||
using sscs.cache;
|
||||
using sscs.verbs;
|
||||
|
||||
namespace sscs.verbs
|
||||
{
|
||||
|
||||
[TestFixture]
|
||||
public class TestReadSecret
|
||||
{
|
||||
|
||||
|
||||
|
||||
[SetUp]
|
||||
public void Init()
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// TBD: Need to construct the input buf and output buf and call the processRequest()
|
||||
//As of now all internal functions are tested and the cachelib test code
|
||||
// also indirectly tests this function.
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
48
c_micasad/test/verbs/TestRemoveKeyChain.cs
Normal file
48
c_micasad/test/verbs/TestRemoveKeyChain.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
#if DEBUG
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
//using System.InvalidOperationException;
|
||||
|
||||
using NUnit.Framework;
|
||||
|
||||
using sscs.common;
|
||||
using sscs.cache;
|
||||
using sscs.verbs;
|
||||
|
||||
namespace sscs.verbs
|
||||
{
|
||||
|
||||
[TestFixture]
|
||||
public class TestRemoveKeyChain
|
||||
{
|
||||
|
||||
|
||||
|
||||
[SetUp]
|
||||
public void Init()
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// TBD: Need to construct the input buf and output buf and call the processRequest()
|
||||
//As of now all internal functions are tested and the cachelib test code
|
||||
// also indirectly tests this function.
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
48
c_micasad/test/verbs/TestWriteSecret.cs
Normal file
48
c_micasad/test/verbs/TestWriteSecret.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
#if DEBUG
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
//using System.InvalidOperationException;
|
||||
|
||||
using NUnit.Framework;
|
||||
|
||||
using sscs.common;
|
||||
using sscs.cache;
|
||||
using sscs.verbs;
|
||||
|
||||
namespace sscs.verbs
|
||||
{
|
||||
|
||||
[TestFixture]
|
||||
public class TestWriteSecret
|
||||
{
|
||||
|
||||
|
||||
|
||||
[SetUp]
|
||||
public void Init()
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// TBD: Need to construct the input buf and output buf and call the processRequest()
|
||||
//As of now all internal functions are tested and the cachelib test code
|
||||
// also indirectly tests this function.
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user