major source structure and module name changes
This commit is contained in:
69
micasad/test/verbs/TestAddKeychains.cs
Normal file
69
micasad/test/verbs/TestAddKeychains.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
/***********************************************************************
|
||||
*
|
||||
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; version 2.1
|
||||
* of the License.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, Novell, Inc.
|
||||
*
|
||||
* To contact Novell about this file by physical or electronic mail,
|
||||
* you may find current contact information at www.novell.com.
|
||||
*
|
||||
***********************************************************************/
|
||||
|
||||
#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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
65
micasad/test/verbs/TestCloseSecretStore.cs
Normal file
65
micasad/test/verbs/TestCloseSecretStore.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
/***********************************************************************
|
||||
*
|
||||
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; version 2.1
|
||||
* of the License.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, Novell, Inc.
|
||||
*
|
||||
* To contact Novell about this file by physical or electronic mail,
|
||||
* you may find current contact information at www.novell.com.
|
||||
*
|
||||
***********************************************************************/
|
||||
|
||||
#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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
68
micasad/test/verbs/TestEnumerateKeyChainIDs.cs
Normal file
68
micasad/test/verbs/TestEnumerateKeyChainIDs.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
/***********************************************************************
|
||||
*
|
||||
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; version 2.1
|
||||
* of the License.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, Novell, Inc.
|
||||
*
|
||||
* To contact Novell about this file by physical or electronic mail,
|
||||
* you may find current contact information at www.novell.com.
|
||||
*
|
||||
***********************************************************************/
|
||||
|
||||
#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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
69
micasad/test/verbs/TestEnumerateSecIDs.cs
Normal file
69
micasad/test/verbs/TestEnumerateSecIDs.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
/***********************************************************************
|
||||
*
|
||||
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; version 2.1
|
||||
* of the License.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, Novell, Inc.
|
||||
*
|
||||
* To contact Novell about this file by physical or electronic mail,
|
||||
* you may find current contact information at www.novell.com.
|
||||
*
|
||||
***********************************************************************/
|
||||
|
||||
#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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
84
micasad/test/verbs/TestOpenSecretStore.cs
Normal file
84
micasad/test/verbs/TestOpenSecretStore.cs
Normal file
@@ -0,0 +1,84 @@
|
||||
/***********************************************************************
|
||||
*
|
||||
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; version 2.1
|
||||
* of the License.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, Novell, Inc.
|
||||
*
|
||||
* To contact Novell about this file by physical or electronic mail,
|
||||
* you may find current contact information at www.novell.com.
|
||||
*
|
||||
***********************************************************************/
|
||||
|
||||
#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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
69
micasad/test/verbs/TestReadSecret.cs
Normal file
69
micasad/test/verbs/TestReadSecret.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
/***********************************************************************
|
||||
*
|
||||
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; version 2.1
|
||||
* of the License.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, Novell, Inc.
|
||||
*
|
||||
* To contact Novell about this file by physical or electronic mail,
|
||||
* you may find current contact information at www.novell.com.
|
||||
*
|
||||
***********************************************************************/
|
||||
|
||||
#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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
70
micasad/test/verbs/TestRemoveKeyChain.cs
Normal file
70
micasad/test/verbs/TestRemoveKeyChain.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
/***********************************************************************
|
||||
*
|
||||
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; version 2.1
|
||||
* of the License.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, Novell, Inc.
|
||||
*
|
||||
* To contact Novell about this file by physical or electronic mail,
|
||||
* you may find current contact information at www.novell.com.
|
||||
*
|
||||
***********************************************************************/
|
||||
|
||||
#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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
71
micasad/test/verbs/TestWriteSecret.cs
Normal file
71
micasad/test/verbs/TestWriteSecret.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
/***********************************************************************
|
||||
*
|
||||
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; version 2.1
|
||||
* of the License.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, Novell, Inc.
|
||||
*
|
||||
* To contact Novell about this file by physical or electronic mail,
|
||||
* you may find current contact information at www.novell.com.
|
||||
*
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#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