org.apache.aries.unittest.fixture
Class ArchiveFixture.AbstractFixture
java.lang.Object
org.apache.aries.unittest.fixture.ArchiveFixture.AbstractFixture
- All Implemented Interfaces:
- ArchiveFixture.Fixture
- Direct Known Subclasses:
- ArchiveFixture.FileFixture, ArchiveFixture.IStreamFixture, ArchiveFixture.ManifestFixture, ArchiveFixture.ZipFixture
- Enclosing class:
- ArchiveFixture
public abstract static class ArchiveFixture.AbstractFixture
- extends Object
- implements ArchiveFixture.Fixture
Abstract base class for fixtures. Archive fixtures are by nature hierarchical.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArchiveFixture.AbstractFixture
protected ArchiveFixture.AbstractFixture(ArchiveFixture.ZipFixture parent)
end
public ArchiveFixture.ZipFixture end()
- Ends the current flow target and returns the parent flow target. For example, in the
following code snippet the
end
after .version("2.0.0")
marks
the end of the manifest. Commands after that relate to the parent jar file of the manifest.
ArchiveFixtures.ZipFixture zip = ArchiveFixtures.newZip()
.jar("test.jar")
.manifest()
.symbolicName("com.ibm.test")
.version("2.0.0")
.end()
.file("random.txt", "Some text")
.end();
- Returns:
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.