aboutsummaryrefslogtreecommitdiffstats
path: root/ajdoc/testsrc/org/aspectj/tools/ajdoc/PointcutVisibilityTest.java
blob: 760e4c22c5a613b460218eaa85be6a74eb91c797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * Created on Jan 12, 2005
  */
package org.aspectj.tools.ajdoc;

import java.io.File;

import junit.framework.TestCase;

/**
 * @author Mik Kersten
 */
public class PointcutVisibilityTest extends TestCase {

    protected File file1 = new File("testdata/bug82340/Pointcuts.java");
    protected File outdir = new File("testdata/bug82340/doc");
    
    public void testCoveragePublicMode() {
        outdir.delete();
        String[] args = { 
              "-XajdocDebug",
            "-protected",
            "-d", 
            outdir.getAbsolutePath(),
            file1.getAbsolutePath()
        };
        org.aspectj.tools.ajdoc.Main.main(args);
    }
}