Skip to content

Commit

Permalink
Applying changes as suggested by mbien.
Browse files Browse the repository at this point in the history
  • Loading branch information
lahodaj committed Apr 15, 2024
1 parent de74254 commit 909eb7e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 33 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,10 @@ jobs:
if: ${{ matrix.java == '17' }}
run: ant $OPTS -f extide/o.apache.tools.ant.module test

- name: apisupport.ant
if: ${{ matrix.java == '17' }}
run: ant $OPTS -f apisupport/apisupport.ant test

- name: Create Test Summary
uses: test-summary/action@v2
if: failure()
Expand Down Expand Up @@ -1544,9 +1548,6 @@ jobs:
- name: Extract
run: tar --zstd -xf build.tar.zst

- name: apisupport.ant
run: ant $OPTS -f apisupport/apisupport.ant test

- name: apisupport.project
run: ant $OPTS -f apisupport/apisupport.project test

Expand Down
33 changes: 5 additions & 28 deletions apisupport/apisupport.ant/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -29,31 +29,8 @@ test-unit-sys-prop.test.nbroot=${nb_all}
test-unit-sys-prop.test.netbeans.dest.dir=${netbeans.dest.dir}
test-unit-sys-prop.java.awt.headless=true

test.config.stableBTD.includes=**/*Test.class
test.config.stableBTD.excludes=\
**/AccessibilityQueryImplTest.class,\
**/AntArtifactProviderImplTest.class,\
**/ApisupportAntUtilsTest.class,\
**/AvoidModuleListInProjectConstructorTest.class,\
**/BrandingSupportTest.class,\
**/BuildZipDistributionTest.class,\
**/ClassPathProviderImplTest.class,\
**/CustomizerLibrariesTest.class,\
**/EvaluatorTest.class,\
**/GlobalJavadocForBinaryImplTest.class,\
**/GlobalSourceForBinaryImplTest.class,\
**/Issue167725DeadlockTest.class,\
**/JavadocForBinaryImplTest.class,\
**/ModuleActionsTest.class,\
**/ModuleListTest.class,\
**/ModuleTypePanelTest.class,\
**/NbModuleProjectTest.class,\
**/ProjectXMLManagerTest.class,\
**/SingleModulePropertiesTest.class,\
**/SourceForBinaryImplTest.class,\
**/SourceLevelQueryImplTest.class,\
**/SubprojectProviderImplTest.class,\
**/SuiteOperationsTest.class,\
**/TestEntryTest.class,\
**/UnitTestForSourceQueryImplTest.class,\
**/UpdateTrackingFileOwnerQueryTest.class
test.config.default.includes=**/*Test.class
test.config.default.excludes=\
**/ExternalBuildDirTest.class,\
**/UseHtml4JavaTest.class

Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ public void testInvalidSpecVersion() throws Exception {
assertFalse("Successfully compiled when is invalid specification version",
testingProject.getModuleJarLocation().exists());
}

public void testCompileAgainstPublicPackage() throws Exception {

// TODO fixme
public void fails_on_11_testCompileAgainstPublicPackage() throws Exception {
NbModuleProject testingProject = TestBase.generateStandaloneModule(getWorkDir(), "testing");
testingProject.open();
FileObject buildScript = findBuildXml(testingProject);
Expand Down

0 comments on commit 909eb7e

Please sign in to comment.