org.jboss.shrinkwrap.api.Assignable Java Examples
The following examples show how to use
org.jboss.shrinkwrap.api.Assignable.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TomEEContainer.java From tomee with Apache License 2.0 | 5 votes |
protected Assignable archiveWithTestInfo(final Archive<?> archive) { String name = archive.getName(); if (name.endsWith(".war") || name.endsWith(".ear")) { name = name.substring(0, name.length() - ".war".length()); } return archive.add( new StringAsset(testClass.get().getJavaClass().getName() + '#' + name), ArchivePaths.create("arquillian-tomee-info.txt")); }