samples/apifest1/boolcircuit/test/org/netbeans/apifest/boolcircuit/CircuitTest.java
changeset 153 b5cbb797ec0a
parent 133 50bf1b976c0d
child 154 0fd5e9c500b9
     1.1 --- a/samples/apifest1/boolcircuit/test/org/netbeans/apifest/boolcircuit/CircuitTest.java	Sat Jun 14 09:56:16 2008 +0200
     1.2 +++ b/samples/apifest1/boolcircuit/test/org/netbeans/apifest/boolcircuit/CircuitTest.java	Sat Jun 14 09:58:08 2008 +0200
     1.3 @@ -1,5 +1,31 @@
     1.4 +/*
     1.5 + * The contents of this file are subject to the terms of the Common Development
     1.6 + * and Distribution License (the License). You may not use this file except in
     1.7 + * compliance with the License.
     1.8 + *
     1.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    1.10 + * or http://www.netbeans.org/cddl.txt.
    1.11 + *
    1.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
    1.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
    1.14 + * If applicable, add the following below the CDDL Header, with the fields
    1.15 + * enclosed by brackets [] replaced by your own identifying information:
    1.16 + * "Portions Copyrighted [year] [name of copyright owner]"
    1.17 + *
    1.18 + * The Original Software is NetBeans. The Initial Developer of the Original
    1.19 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    1.20 + * Microsystems, Inc. All Rights Reserved.
    1.21 + */
    1.22 +
    1.23  package org.netbeans.apifest.boolcircuit;
    1.24  
    1.25 +import java.security.CodeSource;
    1.26 +import java.security.Permission;
    1.27 +import java.security.PermissionCollection;
    1.28 +import java.security.Policy;
    1.29 +import java.util.Collection;
    1.30 +import java.util.Collections;
    1.31 +import java.util.Enumeration;
    1.32  import junit.framework.TestCase;
    1.33  import junit.framework.*;
    1.34  
    1.35 @@ -15,24 +41,20 @@
    1.36   *          on output 1 and 1 to 0
    1.37   *   <li>and - has two inputs and one output. The output is 1 only if both 
    1.38   *          inputs are 1, otherwise it is 0
    1.39 - *   <li>or - has two inputs and one output. The output is 1 always, 
    1.40 - *          except in the case when both inputs are 0
    1.41 + *   <li>or - has two inputs and one output. The output is 1 always, except
    1.42 + *          in the case when both inputs are 0
    1.43   * </ul>
    1.44   *
    1.45   * <p>
    1.46 - * The boolean circuit can be used to represent boolean formulas and 
    1.47 - * compute the results for certain values of its inputs. The individual
    1.48 - * tasks described as tests bellow.
    1.49 + * The boolean circuit can be used to represent boolean formulas and compute
    1.50 + * the results for certain values of its inputs. The individual tasks described
    1.51 + * as tests bellow.
    1.52   *
    1.53   * <p>
    1.54   * Links of interest:
    1.55   * <ul>
    1.56 - *   <li>
    1.57 - *      <a href="http://en.wikipedia.org/wiki/Truth_table">
    1.58 - *          Truth table</a>
    1.59 - *   <li>
    1.60 - *      <a href="http://en.wikipedia.org/wiki/Tautology_(logic)">
    1.61 - *          Taugology</a>
    1.62 + *   <li><a href="http://en.wikipedia.org/wiki/Truth_table">Truth table</a>
    1.63 + *   <li><a href="http://en.wikipedia.org/wiki/Tautology_(logic)">Taugology</a>
    1.64   * </ul>
    1.65   */
    1.66  public class CircuitTest extends TestCase {