Facet origin missing for UISelectOne labels
by Ivan St. Ivanov
Hey everybody,
I am trying to add a test for the TestingSetupCommand, part of the testing
addon, that I want to develop. What is particular about this command and
the addon:
- They use the simple furnace container instead of cdi
- The command has UISelectOne input which values are supposed to be
implementations of the TestingFacet interface (JUnitTestingFacet and
TestNGTestingFacet)
The testing facet base class that is extended by both facet implementations
has a method that returns the dependency facet of the currently selected
project:
private DependencyFacet getDependencyFacet()
{
return getFaceted().getFacet(DependencyFacet.class);
}
And this method works fine when it is called when the test sets up the test
project. However, when I "select" a testing framework form the UISelectOne,
the value that I get back (in my case TestNGTestingFacet) does not have a
valid origin field (it's null). Is it possible that upon setup the
UISelectOne's items are not initialized properly?
You can check the code in my repository:
https://github.com/ivannov/core/tree/FORGE-2545
Just put a breakpoint in AbstractTestingFacet::getDependencyFacet and run
TestSetupCommandTest::testSetupTestNG. Check the content of the
getFaceted() return value.
Thanks,
Ivan
8 years, 9 months
Forge meeting minutes - 16/02/2016
by George Gastaldi
==============
#forge Meeting
==============
Meeting started by gastaldi at 15:14:01 UTC. The full logs are available
athttp://transcripts.jboss.org/meeting/irc.freenode.org/forge/2016/forge....
.
Meeting summary
---------------
* Agenda (gastaldi, 15:14:07)
* Status and Priorities (gastaldi, 15:18:14)
* I have been in the F2F meeting in Brno last week, that's why we
haven't had a meeting last week (gastaldi, 15:18:36)
* Forge 3.0.0.CR1 is scheduled to be released today (gastaldi,
15:19:03)
* There is a minor change that should be updated in our docs regarding
the creation of Forge addon projects. FORGE-2597 renames the `--type
addon` to `--type forge-addon` option name in project-new for
consistency purposes (gastaldi, 15:20:11)
* I am working with Joshua Wilson on a Forge Initializr, based on
http://start.spring.io/ (gastaldi, 15:21:56)
Meeting ended at 15:36:10 UTC.
Action Items
------------
Action Items, by person
-----------------------
* **UNASSIGNED**
* (none)
People Present (lines said)
---------------------------
* gastaldi (16)
* jbossbot (5)
* jbott (3)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
8 years, 9 months