001 /* 002 * file AllCcDemos.java 003 * 004 * Licensed Materials - Property of IBM 005 * Restricted Materials of IBM - you are allowed to copy, modify and 006 * redistribute this file as part of any program that interfaces with 007 * IBM Rational CM API. 008 * 009 * com.ibm.rational.stp.client.samples.AllCcDemos 010 * 011 * © Copyright IBM Corporation 2008. All Rights Reserved. 012 * Note to U.S. Government Users Restricted Rights: Use, duplication or 013 * disclosure restricted by GSA ADP Schedule Contract with IBM Corp. 014 */ 015 package com.ibm.rational.stp.client.samples.cc; 016 017 import junit.framework.Test; 018 import junit.framework.TestSuite; 019 020 /** 021 * JUnit suite to run all ClearCase CM API demonstration programs. 022 */ 023 public class AllClearCaseDemos { 024 025 static Class[] allTests = { 026 AuthenticationDemo.class, 027 CheckoutDemo.class, 028 CreateActivityDemo.class, 029 ListVobsDemo.class, 030 ReadWritePropertiesDemo.class, 031 }; 032 033 public static Test suite() { 034 TestSuite suite = new TestSuite("ClearCase CM API demo programs"); 035 for (Class c : allTests) { 036 suite.addTestSuite(c); 037 } 038 return suite; 039 } 040 }