The replacment is org.junit.Assert.
Change-Id: I44bd6da6e19f9d69f91eb1ad251bd6e259ff67a9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/30629
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Initial tests and refactoring to support tests
Change-Id: Ia14961b4a13ad7e8f2e1d75be264243f7432fe2d
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30462
-Dtarget-platform can be used to specify which target to use.
For example, the default is target-platform=cdt-e4.4 but
-Dtarget-platform==cdt-e4.3 can also be used. The cdt.e4.3 target
file has been updated. Except the launchbar plugin doesn't compile
against 4.3 for now.
Change-Id: I6ce634f5567620d4f27a58ba0d711a3b87e617d1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30539
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Tested-by: Hudson CI
Change-Id: I8cda245f8bc34b21e3088de561442982b86f05ef
Reviewed-on: https://git.eclipse.org/r/30540
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Added null checks to the ASTWriter.doNodesHaveSameOffset and a test case
reproducing the problem.
Change-Id: I538806cf32683f5689dbf582b7a7dcb6615a899e
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30334
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
* If provider only wants to associate lc type with target the
only thing is needed is to specy this lc type somewhere and framework
should take care of the rest
Change-Id: I3f60c7a0a5b1334f989e972fe8f773c6e2d7f71a
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30381
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
Set another target to the active target if there is one available. Set
activeTarget to null if the list is empty.
Also fixed an NPE if setActiveLaunchTarget() was called with null.
Change-Id: I79d0a9c8a6b6e93b403dfbdf0d8bf0c8ea441297
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30386
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Change-Id: Ife27f47f483c9f80e5b9da94a180affee2baff61
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30265
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Prevents LLVM page being top level and makes LLVM threated more like
XLC.
Change-Id: I189f9fb00f256c9721d95b7a163284db4e31d370
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/30296
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
This allows compiling in the IDE and not fail because of exception not
used in catch block.
Change-Id: I162645b25162d80b4447d87edabc4d436d6d9d2f
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/30295
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Also provides the default launch descriptor as API to allow other
descriptor types to reuse it.
Change-Id: Ifd9f5d9a22d5752e8c139ec4cc37ac181b245ec9
Reviewed-on: https://git.eclipse.org/r/30254
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Tested-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Prompt user with error dialog when they attempt to edit a launch
configuration with no active target selected.
Change-Id: I3b0a649312259beba73437223e5b96e99396d31e
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30184
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
upon failure.
Change-Id: Ia3cfe4fb455f4ca5048e629c623bba6331264b09
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30096
Tested-by: Hudson CI
concurency issue where the AsyncCompletionWaitor was being accessed by
more than one thread but was not properly synchronized.
Change-Id: I5c6f063ca519787a0cc45281c0632fcf07b763d5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30089
Tested-by: Hudson CI
Also a slight refactoring of ILaunchConfigurationProvider for to enable
this.
Change-Id: I3e51e2277ee1a2b8875790d02ab6e5350595c946
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30078
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Hudson CI
Change-Id: I830ca99f83548a5fc0e6fcfdeb26d00cd68e3060
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/29608
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Cleanup test cases in AST2CSpecTest
Signed-off-by: qdagans <anders.xb.dahlberg@ericsson.com>
Change-Id: I4d546019a2ec61418d33d7b0cb1e888e609b4006
Reviewed-on: https://git.eclipse.org/r/29830
Tested-by: Hudson CI
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
I added a checkbox to enable gCov via a single checkbox to
enable gcov in the compiler. It then uses the
applicability calculator to automatically enable the linker if
the compiler option is set.
Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Change-Id: I561d7263d578a7807e890fce5518e6fc2ebb2bb2
Reviewed-on: https://git.eclipse.org/r/29403
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Tested-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Introduces a whole lot new concepts that will be documented in the
wiki.
Change-Id: Idd05d5232b88be7ac1d400e5b9618cf08716abf4
Reviewed-on: https://git.eclipse.org/r/29849
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
fixed drop down selector to show actual mode names and icons instead of
only debug and run
Change-Id: Idd80cf8a14b382b76d5bd16ed6a52b98790fe865
Reviewed-on: https://git.eclipse.org/r/29833
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>