Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-07-15 16:03:34 -0400
committerrescobar2010-07-15 16:03:34 -0400
commit767f4a24bea71c91b335b956a597689380395f92 (patch)
treef2f40c10b3ae861a18c951ce90c899200dee595f /plugins/org.eclipse.osee.framework.access.test
parent49f5ebf88da7c4a5f200da5a6a430cda788850bc (diff)
downloadorg.eclipse.osee-767f4a24bea71c91b335b956a597689380395f92.tar.gz
org.eclipse.osee-767f4a24bea71c91b335b956a597689380395f92.tar.xz
org.eclipse.osee-767f4a24bea71c91b335b956a597689380395f92.zip
Fixed Duplicate Test
Diffstat (limited to 'plugins/org.eclipse.osee.framework.access.test')
-rw-r--r--plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/internal/PermissionEnumTest.java42
1 files changed, 0 insertions, 42 deletions
diff --git a/plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/internal/PermissionEnumTest.java b/plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/internal/PermissionEnumTest.java
deleted file mode 100644
index 331fea4311..0000000000
--- a/plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/internal/PermissionEnumTest.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.access.test.internal;
-
-import org.eclipse.osee.framework.core.enums.PermissionEnum;
-import org.junit.Assert;
-import org.junit.Test;
-
-/**
- * Test Case for {@link PermissionEnum}
- *
- * @author Jeff C. Phillips
- */
-public class PermissionEnumTest {
-
- @Test
- public void testPermissions() {
- PermissionEnum read = PermissionEnum.READ;
- PermissionEnum write = PermissionEnum.WRITE;
- PermissionEnum deny = PermissionEnum.DENY;
- PermissionEnum full = PermissionEnum.FULLACCESS;
-
- Assert.assertTrue(full.matches(full));
- Assert.assertTrue(read.matches(read));
- Assert.assertTrue(write.matches(read));
- Assert.assertTrue(full.matches(write));
-
- //deny always returns false for a permission
- Assert.assertFalse(deny.matches(deny));
- Assert.assertFalse(deny.matches(write));
- Assert.assertFalse(read.matches(write));
- Assert.assertFalse(write.matches(full));
- }
-}

Back to the top