Home | History | Annotate | Download | only in test
      1 /*
      2  * CDDL HEADER START
      3  *
      4  * The contents of this file are subject to the terms of the
      5  * Common Development and Distribution License (the "License").
      6  * You may not use this file except in compliance with the License.
      7  *
      8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9  * or http://www.opensolaris.org/os/licensing.
     10  * See the License for the specific language governing permissions
     11  * and limitations under the License.
     12  *
     13  * When distributing Covered Code, include this CDDL HEADER in each
     14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15  * If applicable, add the following below this CDDL HEADER, with the
     16  * fields enclosed by brackets "[]" replaced with your own identifying
     17  * information: Portions Copyright [yyyy] [name of copyright owner]
     18  *
     19  * CDDL HEADER END
     20  */
     21 
     22 /*
     23  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
     24  * Use is subject to license terms.
     25  *
     26  * ident	"@(#)SESMandatoryTestSuite.java	1.5	08/10/16 SMI"
     27  */
     28 
     29 package com.sun.jist.scsi.test;
     30 import com.sun.jist.JISTLogic;
     31 import com.sun.jist.scsi.SCSILogic;
     32 
     33 /**
     34  * JIST - SCSI Enclosure Services - (SES-2) Mandatory Test Branch.
     35  * <p>
     36  * This class validates the following standards:
     37  * <ul>
     38  * <li>Loki Storage Management Specification, Revision 1.13, 11Feb2008.</li>
     39  * <li><a href="http://t10.org">SCSI Enclosure Services - 2</a>,
     40  *     (SES-2), Revision 19b, 30Jan2008.</li>
     41  * </ul>
     42  * <p>
     43  * Related Documentation:
     44  * <ul>
     45  * <li><a href="http://t10.org">ANSI T10 SCSI-3 Architecture Model 4</a>,
     46  *     (SAM-4), Revision 10, 22Mar2007.</li>
     47  * <li><a href="http://t10.org">ANSI T10 SCSI-3 Architecture Model 3</a>,
     48  *     (SAM-3), Revision 14, 21Sep2004.</li>
     49  * <li><a href="http://t10.org">ANSI T10 SCSI-3 Architecture Model 2</a>,
     50  *     (SAM-2), Revision 24, 12Sep2002.</li>
     51  * <li><a href="http://t10.org">ANSI T10 SCSI-3 Architecture Model</a>,
     52  *     (SAM), Revision 18, 17Nov1995.</li>
     53  * <li><a href="http://t10.org">ANSI T10 SCSI-3 Primary Commands 4</a>,
     54  *     (SPC-4), Revision 12, 11Jan2008.</li>
     55  * <li><a href="http://t10.org">ANSI T10 SCSI-3 Primary Commands 3</a>,
     56  *     (SPC-3), Revision 23, 4May2005.</li>
     57  * <li><a href="http://t10.org">ANSI T10 SCSI-3 Primary Commands 2</a>,
     58  *     (SPC-2), Revision 20, 18Jul2001.</li>
     59  * <li><a href="http://t10.org">ANSI T10 SCSI-3 Primary Commands</a>,
     60  *     (SPC), Revision 11a, 28Mar1997.</li>
     61  * <li><a href="http://t10.org">ANSI T10 Small Computer System Interface 2</a>,
     62  *     (SCSI-2), Revision 10L, 07Sep1993.</li>
     63  * </ul>
     64  * <p>
     65  * @author      Angela.Duber-Smith (at) Sun.COM
     66  * @since       6.06
     67  */
     68 public class SESMandatoryTestSuite extends SCSILogic {
     69 
     70 /**
     71  * Method used to detect offshoot Test Branches.
     72  * <p>
     73  * This includes the following Test Branches:
     74  * <p>
     75  * @see SPC12Test#getTree ANSI T10 SCSI OPcode 12 "INQUIRY" Test Branch
     76  * @see SPC1c00Test#getTree ANSI T10 SCSI OPcode 1c "RECEIVE DIAGNOSTIC
     77  * RESULTS"
     78  * Test Branch
     79  * @see SES1c01Test#getTree SCSI Enclosure Services - (SES-2)
     80  * "RECEIVE DIAGNOSTIC RESULTS - Configuration Diagnostic Page" Test Branch.
     81  * @see SES1c02Test#getTree SCSI Enclosure Services - (SES-2)
     82  * "RECEIVE DIAGNOSTIC RESULTS - Enclosure Diagnostic Page" Test Branch
     83  * @see SES1c04Test#getTree SCSI Enclosure Services - (SES-2)
     84  * "RECEIVE DIAGNOSTIC RESULTS - String In Diagnostic Page" Test Branch
     85  * @see SES1c07Test#getTree SCSI Enclosure Services - (SES-2)
     86  * "RECEIVE DIAGNOSTIC RESULTS - String In Diagnostic Page" Test Branch
     87  * @see SES1c0aTest#getTree SCSI Enclosure Services - (SES-2)
     88  * "RECEIVE DIAGNOSTIC RESULTS - Additional Element Status Diagnostic Page"
     89  * Test Branch
     90  * @see SES1c0eTest#getTree SCSI Enclosure Services - (SES-2)
     91  * "RECEIVE DIAGNOSTIC RESULTS -  Download Microcode Diagnostic Page"
     92  * Test Branch
     93  */
     94 public static String[] getTree() {
     95 	return getTree(new String[] {
     96 	    "com.sun.jist.scsi.test.SPC12Test",
     97 	    "com.sun.jist.scsi.test.SPC1c00Test",
     98 	    "com.sun.jist.scsi.test.SES1c01Test",
     99 	    "com.sun.jist.scsi.test.SES1c02Test",
    100 	    "com.sun.jist.scsi.test.SES1c04Test",
    101 	    "com.sun.jist.scsi.test.SES1c07Test",
    102 	    "com.sun.jist.scsi.test.SES1c0aTest",
    103 	    "com.sun.jist.scsi.test.SES1c0eTest",
    104 	    "com.sun.jist.scsi.test.SES1c0fTest"});
    105 }
    106 
    107 } /* Class End */
    108