1 23 24 package com.sun.enterprise.tools.verifier.tests.app; 25 26 27 import com.sun.enterprise.tools.verifier.tests.VerifierTest; 28 import com.sun.enterprise.tools.verifier.tests.VerifierCheck; 29 import com.sun.enterprise.tools.verifier.Result; 30 import com.sun.enterprise.deployment.Descriptor; 31 import com.sun.enterprise.deployment.Application; 32 33 import java.io.File ; 34 35 41 public abstract class ApplicationTest extends VerifierTest implements VerifierCheck, AppCheck 42 { 43 44 54 public Result check(Descriptor descriptor) { 55 return check((Application) descriptor); 56 } 57 58 68 public abstract Result check(Application descriptor); 69 70 71 72 protected String getAbstractArchiveUri(Application desc) { 73 74 String archBase = getVerifierContext().getAbstractArchive(). 75 getArchiveUri(); 76 return archBase; 77 } 78 79 80 } 81 | Popular Tags |