package test.ccn.security.access;

import static org.junit.Assert.*;

import org.junit.BeforeClass;
import org.junit.Test;

public class GroupTest {
	
	/**
	 * Have to make a bunch of users.
	 * @throws Exception
	 */

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@Test
	public void testReady() {
		fail("Not yet implemented");
	}

	@Test
	public void testPrivateKeyDirectory() {
		fail("Not yet implemented");
	}

	@Test
	public void testFriendlyName() {
		fail("Not yet implemented");
	}

	@Test
	public void testMembershipList() {
		fail("Not yet implemented");
	}

	@Test
	public void testMembershipListName() {
		fail("Not yet implemented");
	}

	@Test
	public void testMembershipListVersion() {
		fail("Not yet implemented");
	}

	@Test
	public void testClearCachedMembershipList() {
		fail("Not yet implemented");
	}

	@Test
	public void testPublicKey() {
		fail("Not yet implemented");
	}

	@Test
	public void testPublicKeyName() {
		fail("Not yet implemented");
	}

	@Test
	public void testPublicKeyVersion() {
		fail("Not yet implemented");
	}

	@Test
	public void testSetMembershipList() {
		fail("Not yet implemented");
	}

	@Test
	public void testNewGroupPublicKey() {
		fail("Not yet implemented");
	}

	@Test
	public void testCreateGroupPublicKey() {
		fail("Not yet implemented");
	}

	@Test
	public void testUpdateGroupPublicKey() {
		fail("Not yet implemented");
	}

	@Test
	public void testModify() {
		fail("Not yet implemented");
	}

	@Test
	public void testDelete() {
		fail("Not yet implemented");
	}

}

@@ -121,174 +121,1047 @@
 t;%0A%0A
-public class GroupTest %7B%0A%09%0A%09/**%0A%09 * Have to make a bunch of users.%0A%09 * @throws Exception%0A%09 */%0A%0A%09@BeforeClass%0A%09public static void setUpBeforeClass() throws Exception %7B
+import com.parc.ccn.Library;%0Aimport com.parc.ccn.data.ContentName;%0Aimport com.parc.ccn.library.CCNLibrary;%0A%0Apublic class GroupTest %7B%0A%09%0A%09static boolean USE_REPO = true;%0A%09static int NUM_USERS = 20;%0A%09static char %5B%5D USER_PASSWORD = new String(%22password%22).toCharArray();%0A%09%0A%09static ContentName testStorePrefix = null;%0A%09static ContentName userStore = null;%0A%09static ContentName groupStore = null;%0A%09%0A%09/**%0A%09 * Have to make a bunch of users.%0A%09 * @throws Exception%0A%09 */%0A%09static TestUserData users = null;%0A%09static CCNLibrary userLibrary = null;%0A%0A%09@BeforeClass%0A%09public static void setUpBeforeClass() throws Exception %7B %0A%09%09try %7B%0A%09%09%09testStorePrefix = ContentName.fromNative(%22/test/access%22);%0A%09%09%09userStore = ContentName.fromNative(testStorePrefix, %22Users%22);%0A%09%09%09groupStore = ContentName.fromNative(testStorePrefix, %22Groups%22);%0A%0A%09%09%09users = new TestUserData(userStore, NUM_USERS, USE_REPO, USER_PASSWORD, userLibrary);%0A%09%09%7D catch (Exception e) %7B%0A%09%09%09Library.logger().warning(%22Exception in setupBeforeClass: %22 + e);%0A%09%09%09Library.warningStackTrace(e);%0A%09%09%09throw e;%0A%09%09%7D
 %0A%09%7D%0A

Build test users.