1and1 / ioc-unit Goto Github PK
View Code? Open in Web Editor NEWA toolbox to create tests for deployments using jpa, resteasy, ejb, jta, jms, validation,...
License: Apache License 2.0
A toolbox to create tests for deployments using jpa, resteasy, ejb, jta, jms, validation,...
License: Apache License 2.0
To support this, Datasources until now can only be produced by PersistenceFactory-objects.
Incorrect Maven coordinates for dependency in README
Observed/Actual Result:
<groupId>net.oneandone</groupId>
<artifactId>ioc-unit</artifactId>
Expected Result:
<groupId>net.oneandone.ioc-unit</groupId>
<artifactId>ioc-unit</artifactId>
ioc-unit-jta-narayana allows it to use tras and persistence without ejb. Try tohandle dbunit without ejb as well.
The lookup of the class path in the method com.oneandone.ejbcdiunit.cfganalyzer.TestConfigAnalyzer#isCdiClass
will always fall if the url contains a space:
URL location = c.getProtectionDomain().getCodeSource().getLocation()
--> will return an url with the space escaped (%20), "file:/my%20folder"
cdiClasspathEntries
--> contains the url without escaping: "file:/my folder"
Using Restassured a Restservice can be called quite easily. If this restservice itself consumes rest-Services, these must be simulated as Java-Beans.
Hello,
I'm wondering if this project accepts contributions from people not affiliated with 1&1?
If so, is there any roadmap?
I've checked TODO.md in the root and all existing issues but I can't say I see directly actionable items there.
Any suggestions for first task and/or issue to investigate?
to search for transactionattributes
Scenario:
@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
class NonEjbSuper {
public void doSomeDbChanges(){
//...
}
}
@Stateless
class EjbChild extends Super {
}
The TransactionalInterceptor only checks if the declaring class of the method is an EJB. When I instantiate EjbChild class, the method doSomeDbChanges doesn't have transaction although it should.
The same scenario works in arquillian
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.