Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IEP-1311 Ensure that the our runActionHandler only works on our configurations #1034

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

fix: fixing empty execution with no project configs

808c794
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

IEP-1311 Ensure that the our runActionHandler only works on our configurations #1034

fix: fixing empty execution with no project configs
808c794
Select commit
Loading
Failed to load commit list.
GitHub Actions / Linux Test Reports succeeded Sep 13, 2024 in 1s

261 passed, 0 failed and 8 skipped

Tests passed successfully

Report Passed Failed Skipped Time
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.actions.test.ApplyTargetJobTest.xml 5✔️ 121ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.build.test.EspIdfErrorParserTest.xml 3✔️ 33ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.ActiveLaunchConfigurationTest.xml 2✔️ 151ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.DefaultBoardProviderTest.xml 14✔️ 76ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.IDFVersionReaderTest.xml 4✔️ 419ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.InputStreamThreadReaderTest.xml 7✔️ 23ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.OpenocdVariableResolverTest.xml 5✔️ 846ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.OutputStreamThreadTest.xml 5✔️ 22ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.ProcessBuilderFactoryTest.xml 8✔️ 29ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.VersionTest.xml 29✔️ 44ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.ZipUtilityTest.xml 5✔️ 27ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.unittest.DefaultSystemWrapperTest.xml 2✔️ 1ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.unittest.ExecutableFinderTest.xml 7✔️ 8✖️ 18ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.util.test.BigIntDecoderTest.xml 41✔️ 79ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.util.test.HintsUtilTest.xml 4✔️ 99ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.util.test.LaunchBarNameUtilTest.xml 6✔️ 101ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.util.test.LaunchConfigFinderTest.xml 6✔️ 258ms
tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.util.test.NvsBeanValidatorTest.xml 88✔️ 93ms
tests/com.espressif.idf.ui.test/target/surefire-reports/TEST-com.espressif.idf.ui.test.EspressifMenuTest.xml 1✔️ 5s
tests/com.espressif.idf.ui.test/target/surefire-reports/TEST-com.espressif.idf.ui.test.executable.cases.launchconfiguration.LaunchBarCDTConfigurationsTest.xml 2✔️ 22s
tests/com.espressif.idf.ui.test/target/surefire-reports/TEST-com.espressif.idf.ui.test.executable.cases.project.NewEspressifIDFProjectSBOMTest.xml 7✔️ 298s
tests/com.espressif.idf.ui.test/target/surefire-reports/TEST-com.espressif.idf.ui.test.executable.cases.project.NewEspressifIDFProjectTest.xml 10✔️ 480s

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.actions.test.ApplyTargetJobTest.xml

5 tests were completed in 121ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.actions.test.ApplyTargetJobTest 5✔️ 121ms

✔️ com.espressif.idf.core.actions.test.ApplyTargetJobTest

✔️ run whenTargetNameIsEmpty shouldReturnOkStatus
✔️ run whenCoreExceptionThrown shouldReturnCancelStatus
✔️ run whenSuitableTargetFound shouldSetActiveLaunchTarget
✔️ run whenActiveLaunchConfigurationIsNull shouldReturnCancelStatus
✔️ run whenNoSuitableTargetFound shouldShowNoTargetMessage

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.build.test.EspIdfErrorParserTest.xml

3 tests were completed in 33ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.build.test.EspIdfErrorParserTest 3✔️ 33ms

✔️ com.espressif.idf.core.build.test.EspIdfErrorParserTest

✔️ shutdown should trigger property change listener with error hints pairs as new value
✔️ process line returns true if hint available for error line
✔️ process line returns false if no hint found for error line

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.ActiveLaunchConfigurationTest.xml

2 tests were completed in 151ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.test.ActiveLaunchConfigurationTest 2✔️ 151ms

✔️ com.espressif.idf.core.test.ActiveLaunchConfigurationTest

✔️ get active launch configuration returns expected config when init launchbar job is not active
✔️ get active launch configuration returns expected config when init launchbar job is active

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.DefaultBoardProviderTest.xml

14 tests were completed in 76ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.test.DefaultBoardProviderTest 14✔️ 76ms

✔️ com.espressif.idf.core.test.DefaultBoardProviderTest

✔️ getIndexOfDefaultBoard returns expected index for esp32s3 target (String, String[], int)[1] esp32s3, [ESP32-S3 chip (via ESP-PROG), ESP32-S3 chip (via ESP USB Bridge), ESP32-S3 chip (via builtin USB-JTAG)], 2
✔️ getIndexOfDefaultBoard returns expected index for esp32s3 target (String, String[], int)[2] esp32c3, [ESP32-C3 chip (via ESP USB Bridge), ESP32-C3 chip (via builtin USB-JTAG), ESP32-C3 chip (via ESP-PROG)], 1
✔️ getIndexOfDefaultBoard returns expected index for esp32s3 target (String, String[], int)[3] esp32, [ESP-WROVER-KIT 1.8V, ESP32 chip (via ESP USB Bridge), ESP-WROVER-KIT 3.3V], 0
✔️ getIndexOfDefaultBoard returns expected index for esp32s3 target (String, String[], int)[4] esp32s2, [ESP32-S2 chip (via ESP USB Bridge), ESP32-S2-KALUGA-1, ESP32-S2 chip (via ESP-PROG)], 0
✔️ getIndexOfDefaultBoard returns expected index for esp32s3 target (String, String[], int)[5] esp32c2, [ESP32-C2 chip (via ESP-PROG), ESP32-C2 chip (via ESP USB Bridge)], 0
✔️ getIndexOfDefaultBoard returns expected index for esp32s3 target (String, String[], int)[6] esp32c6, [ESP32-C6 chip (via builtin USB-JTAG), ESP32-C6 chip (via ESP-PROG), ESP32-C6 chip (via ESP USB Bridge)], 0
✔️ getIndexOfDefaultBoard returns expected index for esp32s3 target (String, String[], int)[7] esp32h2, [ESP32-H2 chip (via ESP-PROG), ESP32-H2 chip (via ESP USB Bridge), ESP32-H2 chip (via builtin USB-JTAG)], 0
✔️ getIndexOfDefaultBoard ignores case for target and returns expected result (String, String[], int)[1] esp32s3, [ESP32-S3 chip (via ESP-PROG), ESP32-S3 chip (via ESP USB Bridge), ESP32-S3 chip (via builtin USB-JTAG)], 2
✔️ getIndexOfDefaultBoard ignores case for target and returns expected result (String, String[], int)[2] esp32c3, [ESP32-C3 chip (via ESP USB Bridge), ESP32-C3 chip (via builtin USB-JTAG), ESP32-C3 chip (via ESP-PROG)], 1
✔️ getIndexOfDefaultBoard ignores case for target and returns expected result (String, String[], int)[3] esp32, [ESP-WROVER-KIT 1.8V, ESP32 chip (via ESP USB Bridge), ESP-WROVER-KIT 3.3V], 0
✔️ getIndexOfDefaultBoard ignores case for target and returns expected result (String, String[], int)[4] esp32s2, [ESP32-S2 chip (via ESP USB Bridge), ESP32-S2-KALUGA-1, ESP32-S2 chip (via ESP-PROG)], 0
✔️ getIndexOfDefaultBoard ignores case for target and returns expected result (String, String[], int)[5] esp32c2, [ESP32-C2 chip (via ESP-PROG), ESP32-C2 chip (via ESP USB Bridge)], 0
✔️ getIndexOfDefaultBoard ignores case for target and returns expected result (String, String[], int)[6] esp32c6, [ESP32-C6 chip (via builtin USB-JTAG), ESP32-C6 chip (via ESP-PROG), ESP32-C6 chip (via ESP USB Bridge)], 0
✔️ getIndexOfDefaultBoard ignores case for target and returns expected result (String, String[], int)[7] esp32h2, [ESP32-H2 chip (via ESP-PROG), ESP32-H2 chip (via ESP USB Bridge), ESP32-H2 chip (via builtin USB-JTAG)], 0

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.IDFVersionReaderTest.xml

4 tests were completed in 419ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.test.IDFVersionReaderTest 4✔️ 419ms

✔️ com.espressif.idf.core.test.IDFVersionReaderTest

✔️ testCanItDiscardversion335
✔️ testCanGetVersionsMap
✔️ testCanGetVersionsFromDLEspressif
✔️ testIsVersionsFilterWorkingCorrectly

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.InputStreamThreadReaderTest.xml

7 tests were completed in 23ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.test.InputStreamThreadReaderTest 7✔️ 23ms

✔️ com.espressif.idf.core.test.InputStreamThreadReaderTest

✔️ testShouldReadInputStreamWithDefaultCharsetName
✔️ testShouldReadInputStreamWithCustomCharsetName
✔️ testShouldReadInputStreamAndReturnExpectedResult
✔️ testShouldThrowExceptionForNullInputStreamInConstructor
✔️ testShouldThrowExceptionForNullNewLineSeparatorInConstructor
✔️ testShouldReturnEmptyResultOnIOException
✔️ testShouldReturnEmptyResultForEmptyInputStream

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.OpenocdVariableResolverTest.xml

5 tests were completed in 846ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.test.OpenocdVariableResolverTest 5✔️ 846ms

✔️ com.espressif.idf.core.test.OpenocdVariableResolverTest

✔️ resolveValue on openocd path dynamic variable returns openocd path
✔️ resolveValue on openocd scripts dynamic variable returns openocd scripts
✔️ resolveValue on openocd exe dynamic variable returns openocd exe
✔️ resolveValue on non existing enum variable returns variable name
✔️ resolveValue on null throws exception

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.OutputStreamThreadTest.xml

5 tests were completed in 22ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.test.OutputStreamThreadTest 5✔️ 22ms

✔️ com.espressif.idf.core.test.OutputStreamThreadTest

✔️ testOutputStreamShouldBeEmptyIfIncorrectCharsetSent
✔️ testOutputStreamThreadWithNullOutputStreamShouldThrowException
✔️ testOutputStreamThreadShouldWriteContentToOutputStream
✔️ testOutputStreamThreadWithDefaultCharsetShouldWriteContentToOutputStream
✔️ testOutputStreamThreadWithNullContentStreamShouldThrowException

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.ProcessBuilderFactoryTest.xml

8 tests were completed in 29ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.test.ProcessBuilderFactoryTest 8✔️ 29ms

✔️ com.espressif.idf.core.test.ProcessBuilderFactoryTest

✔️ testRunInBackgroundShouldReturnOkStatusWithAllCorrectArguments
✔️ testRunShouldReturnEmptyResultWithDummyCommandAndNullWorkingDir
✔️ testRunShouldReturnEmptyResultWithDummyCommandAndEmptyEnviromentMap
✔️ testRunInBackgroundShouldReturnOkStatusWithOnlyDummyCommand
✔️ testRunShouldReturnEmptyResultWithDummyCommandAndWithAllArguments
✔️ testRunShouldThrowExceptionWithIncorrectWorkingDir
✔️ testRunShouldThrowExceptionWithNonExistingFileCommand
✔️ testRunShouldReturnEmptyResultWithDummyCommandWithNullEnviromentMap

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.VersionTest.xml

29 tests were completed in 44ms with 29 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.test.VersionTest 29✔️ 44ms

✔️ com.espressif.idf.core.test.VersionTest

✔️ Generating hash code for versions should return the same hash code for equal versions
✔️ Equals method should return false when comparing with a different object type
✔️ Comparing version 1.2 to higher version with different numbers of segments ruturns negative[1] 1.2.3
✔️ Comparing version 1.2 to higher version with different numbers of segments ruturns negative[2] 1.2.3.4
✔️ Comparing version 1.2 to higher version with different numbers of segments ruturns negative[3] 1.5.1
✔️ Get version should return the correct version string
✔️ Creating version with null value should throw an IllegalArgumentException
✔️ Equals method should return false when comparing with null
✔️ Comparing different versions for equality should return false
✔️ Hash code should be consistent for the same version object
✔️ Comparing version with itself should return zero
✔️ Comparing same versions for equality should return true
✔️ Comparing version 1.2.3 to higher versions should return negative[1] 1.2.4
✔️ Comparing version 1.2.3 to higher versions should return negative[2] 1.2.4
✔️ Comparing version 1.2.3 to higher versions should return negative[3] 1.3
✔️ Comparing version 1.2.3 to higher versions should return negative[4] 1.2.3.4
✔️ Equals method should return true when comparing object to itself
✔️ Comparing version 1.2.3 to lower versions should return positive[1] 1.2.2
✔️ Comparing version 1.2.3 to lower versions should return positive[2] 1.2.1
✔️ Comparing version 1.2.3 to lower versions should return positive[3] 1.2
✔️ Comparing version 1.2.3 to lower versions should return positive[4] 1.2.1.1
✔️ Comparing version 1.2.3 to lower versions should return positive[5] 1.1
✔️ Comparing version 1.2 to lower version with different numbers of segments ruturns positive[1] 1.1.4
✔️ Comparing version 1.2 to lower version with different numbers of segments ruturns positive[2] 1.1
✔️ Comparing version 1.2 to lower version with different numbers of segments ruturns positive[3] 1.0.5
✔️ Creating version with an invalid format should throw an IllegalArgumentException
✔️ Comparing same versions should return 0
✔️ Hash code should be different for different version objects
✔️ Comparing null version should return a positive result

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.test.ZipUtilityTest.xml

5 tests were completed in 27ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.test.ZipUtilityTest 5✔️ 27ms

✔️ com.espressif.idf.core.test.ZipUtilityTest

✔️ decompress should extract files from zip to output directory (Path)
✔️ decompress nested directories should extract nested files (Path)
✔️ decompress non zip file returns true (Path)
✔️ decompress folder returns false (Path)
✔️ decompress non existent zip file returns false (Path)

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.unittest.DefaultSystemWrapperTest.xml

2 tests were completed in 1ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.unittest.DefaultSystemWrapperTest 2✔️ 1ms

✔️ com.espressif.idf.core.unittest.DefaultSystemWrapperTest

✔️ testGetEnvExecutables
✔️ testGetPathEnv

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.unittest.ExecutableFinderTest.xml

15 tests were completed in 18ms with 7 passed, 0 failed and 8 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.unittest.ExecutableFinderTest 7✔️ 8✖️ 18ms

✔️ com.espressif.idf.core.unittest.ExecutableFinderTest

✖️ testWindowsReturnsNullWhenSystemReturnsIncorrectExecutable
✖️ testWindowsFindReturnsNullOnNull
✔️ testUnixFindReturnsNullOnNull
✖️ testWindowsFindReturnsNullOnFoundableNonExecutable
✔️ testUnixFindReturnsNullOnFoundableNonExecutable
✖️ testWindowsFindReturnsNullOnNonFoundableExecutable
✖️ testWindowsFindReturnsNullWithEmpyPathExt
✔️ testUnixFindReturnsNullOnNonFoundableExecutable
✔️ testUnixFindReturnsNullWithEmpyPath
✔️ testUnixFindReturnsNullOnNonFoundableNonExecutable
✖️ testWindowsFindReturnsNullOnNonFoundableNonExecutable
✖️ testWindowsFindReturnsExpectedResultOnFoundableExecutable
✔️ testUnixFindReturnsExpectedResultOnFoundableExecutable
✔️ testUnixFindReturnsExpectedResultWithEmpyPathExt
✖️ testWindowsFindReturnsNullWithEmpyPath

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.util.test.BigIntDecoderTest.xml

41 tests were completed in 79ms with 41 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.util.test.BigIntDecoderTest 41✔️ 79ms

✔️ com.espressif.idf.core.util.test.BigIntDecoderTest

✔️ test decode positive hexadecimal number (String, int) value '0xA3F' decoded to 2623
✔️ test decode positive hexadecimal number (String, int) value '0XA3F' decoded to 2623
✔️ test decode positive hexadecimal number (String, int) value '0xAA' decoded to 170
✔️ test decode positive hexadecimal number (String, int) value '0XFF' decoded to 255
✔️ test decode negative dec number (String, int) value '-12345' decoded to -12345
✔️ test decode negative dec number (String, int) value '-234' decoded to -234
✔️ test decode negative dec number (String, int) value '-564' decoded to -564
✔️ test decode invalid number
✔️ test decode positive dec number (String, int) value '12345' decoded to 12345
✔️ test decode positive dec number (String, int) value '234' decoded to 234
✔️ test decode positive dec number (String, int) value '564' decoded to 564
✔️ test decode negative hexadecimal number (String, int) value '-0xA3F' decoded to -2623
✔️ test decode negative hexadecimal number (String, int) value '-0XA3F' decoded to -2623
✔️ test decode negative hexadecimal number (String, int) value '-0xAA' decoded to -170
✔️ test decode negative hexadecimal number (String, int) value '-0XFF' decoded to -255
✔️ test decode positive dec with sign number (String, int) value '+12345' decoded to 12345
✔️ test decode positive dec with sign number (String, int) value '+234' decoded to 234
✔️ test decode positive dec with sign number (String, int) value '+564' decoded to 564
✔️ test decode positive hexadecimal hash number (String, int) value '#A3F' decoded to 2623
✔️ test decode positive hexadecimal hash number (String, int) value '#A3F' decoded to 2623
✔️ test decode positive hexadecimal hash number (String, int) value '#AA' decoded to 170
✔️ test decode positive hexadecimal hash number (String, int) value '#FF' decoded to 255
✔️ test decode positive octal number (String, int) value '017' decoded to 15
✔️ test decode positive octal number (String, int) value '023' decoded to 19
✔️ test decode positive octal number (String, int) value '075' decoded to 61
✔️ test decode positive octal number (String, int) value '0127' decoded to 87
✔️ test decode positive octal number (String, int) value '0456' decoded to 302
✔️ test decode positive with sign hexadecimal number (String, int) value '+0xA3F' decoded to 2623
✔️ test decode positive with sign hexadecimal number (String, int) value '+0XA3F' decoded to 2623
✔️ test decode positive with sign hexadecimal number (String, int) value '+0xAA' decoded to 170
✔️ test decode positive with sign hexadecimal number (String, int) value '+0XFF' decoded to 255
✔️ test decode negative octal number (String, int) value '-017' decoded to -15
✔️ test decode negative octal number (String, int) value '-023' decoded to -19
✔️ test decode negative octal number (String, int) value '-075' decoded to -61
✔️ test decode negative octal number (String, int) value '-0127' decoded to -87
✔️ test decode negative octal number (String, int) value '-0456' decoded to -302
✔️ test decode positive with sign octal number (String, int) value '+017' decoded to 15
✔️ test decode positive with sign octal number (String, int) value '+023' decoded to 19
✔️ test decode positive with sign octal number (String, int) value '+075' decoded to 61
✔️ test decode positive with sign octal number (String, int) value '+0127' decoded to 87
✔️ test decode positive with sign octal number (String, int) value '+0456' decoded to 302

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.util.test.HintsUtilTest.xml

4 tests were completed in 99ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.util.test.HintsUtilTest 4✔️ 99ms

✔️ com.espressif.idf.core.util.test.HintsUtilTest

✔️ getHintsYmlPath returns correct hints yml path
✔️ getReHintsList returns simplified entries
✔️ getReHintsList returns empty array when not existing path is provided
✔️ getReHintsList returns correct parsed list

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.util.test.LaunchBarNameUtilTest.xml

6 tests were completed in 101ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.util.test.LaunchBarNameUtilTest 6✔️ 101ms

✔️ com.espressif.idf.core.util.test.LaunchBarNameUtilTest

✔️ saveTargetName should save provided target
✔️ findSuitableTargetForSelectedItem should return launch target with correct port when multiple launch target with same name exist
✔️ findLaunchTargetByName should return correct launch target
✔️ findSuitableTargetForSelectedItem should return correct launch target
✔️ findSuitableTargetForSelectedItem should return launch target even if target has incorrect port
✔️ findSuitableTargetForSelectedItem should return empty optional

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.util.test.LaunchConfigFinderTest.xml

6 tests were completed in 258ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.util.test.LaunchConfigFinderTest 6✔️ 258ms

✔️ com.espressif.idf.core.util.test.LaunchConfigFinderTest

✔️ testFindExistingLaunchConfiguration_NoMatchingName
✔️ testFindAppropriateDebugConfig
✔️ testFindAppropriateDebugConfig_NoMappedResources
✔️ testFindAppropriateDebugConfig_MappedResourcesAreEmpty
✔️ testFindExistingLaunchConfiguration
✔️ testFindAppropriateDebugConfig_NoMatchingType

✔️ tests/com.espressif.idf.core.test/target/surefire-reports/TEST-com.espressif.idf.core.util.test.NvsBeanValidatorTest.xml

88 tests were completed in 93ms with 88 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.core.util.test.NvsBeanValidatorTest 88✔️ 93ms

✔️ com.espressif.idf.core.util.test.NvsBeanValidatorTest

✔️ validate valid integer in range returns empty string (String, String)[1] u8, 0
✔️ validate valid integer in range returns empty string (String, String)[2] u8, 120
✔️ validate valid integer in range returns empty string (String, String)[3] u8, 255
✔️ validate valid integer in range returns empty string (String, String)[4] i8, -128
✔️ validate valid integer in range returns empty string (String, String)[5] i8, 0
✔️ validate valid integer in range returns empty string (String, String)[6] i8, 120
✔️ validate valid integer in range returns empty string (String, String)[7] i8, 127
✔️ validate valid integer in range returns empty string (String, String)[8] u16, 0
✔️ validate valid integer in range returns empty string (String, String)[9] u16, 360
✔️ validate valid integer in range returns empty string (String, String)[10] u16, 65535
✔️ validate valid integer in range returns empty string (String, String)[11] i16, -32768
✔️ validate valid integer in range returns empty string (String, String)[12] i16, 0
✔️ validate valid integer in range returns empty string (String, String)[13] i16, 120
✔️ validate valid integer in range returns empty string (String, String)[14] i16, 32767
✔️ validate valid integer in range returns empty string (String, String)[15] u32, 0
✔️ validate valid integer in range returns empty string (String, String)[16] u32, 1000
✔️ validate valid integer in range returns empty string (String, String)[17] u32, 4294967295
✔️ validate valid integer in range returns empty string (String, String)[18] i32, -2147483648
✔️ validate valid integer in range returns empty string (String, String)[19] i32, 9
✔️ validate valid integer in range returns empty string (String, String)[20] i32, 2147483647
✔️ validate valid integer in range returns empty string (String, String)[21] u64, 0
✔️ validate valid integer in range returns empty string (String, String)[22] u64, 2000
✔️ validate valid integer in range returns empty string (String, String)[23] u64, 18446744073709551615
✔️ validate valid integer in range returns empty string (String, String)[24] i64, -9223372036854775808
✔️ validate valid integer in range returns empty string (String, String)[25] i64, 3000
✔️ validate valid integer in range returns empty string (String, String)[26] i64, 9223372036854775807
✔️ validate non integer number returns validation error
✔️ validate empty value with type other then namespace returns validation error (String)[1] file
✔️ validate empty value with type other then namespace returns validation error (String)[2] data
✔️ validate empty value with type other then namespace returns validation error (String)[3] namespace
✔️ validate key longer then 15 returns validation error
✔️ validate out of limit value with data type and string encoding returns validation error
✔️ validate empty type returns empty string
✔️ validate first bean with type other then namespace returns validation error
✔️ validate non empty value with type namespace returns validation error
✔️ validate valid value with data type and binary encoding returns empty string
✔️ validate supported encoding returns empty string (String, String)[1] file, hex2bin
✔️ validate supported encoding returns empty string (String, String)[2] file, base64
✔️ validate supported encoding returns empty string (String, String)[3] file, string
✔️ validate supported encoding returns empty string (String, String)[4] file, binary
✔️ validate supported encoding returns empty string (String, String)[5] data, u8
✔️ validate supported encoding returns empty string (String, String)[6] data, i8
✔️ validate supported encoding returns empty string (String, String)[7] data, u16
✔️ validate supported encoding returns empty string (String, String)[8] data, i16
✔️ validate supported encoding returns empty string (String, String)[9] data, u32
✔️ validate supported encoding returns empty string (String, String)[10] data, i32
✔️ validate supported encoding returns empty string (String, String)[11] data, u64
✔️ validate supported encoding returns empty string (String, String)[12] data, i64
✔️ validate supported encoding returns empty string (String, String)[13] data, string
✔️ validate supported encoding returns empty string (String, String)[14] data, hex2bin
✔️ validate supported encoding returns empty string (String, String)[15] data, base64
✔️ validate supported encoding returns empty string (String, String)[16] namespace,
✔️ validate supported encoding returns empty string (String, String)[17] ,
✔️ validate empty key returns validation error
✔️ validate not specified index returns empty string
✔️ validate with empty value with type namespace returns empty string
✔️ validate value with type file returns empty string (String)[1] C:
✔️ validate value with type file returns empty string (String)[2] test
✔️ validate value with type file returns empty string (String)[3] file.exe
✔️ validate out of limit value with data type and binary encoding returns validation error
✔️ validate not supported encoding returns validation error
✔️ validate first with namespace type returns empty string
✔️ validate data value with non existing encoding returns empty string
✔️ validate valid value with data type and string encoding returns empty string
✔️ validate valid key returns empty string
✔️ validate valid integer out of range returns validation error (String, String)[1] u8, -1
✔️ validate valid integer out of range returns validation error (String, String)[2] u8, -20
✔️ validate valid integer out of range returns validation error (String, String)[3] u8, 256
✔️ validate valid integer out of range returns validation error (String, String)[4] i8, -129
✔️ validate valid integer out of range returns validation error (String, String)[5] i8, -150
✔️ validate valid integer out of range returns validation error (String, String)[6] i8, 150
✔️ validate valid integer out of range returns validation error (String, String)[7] i8, 128
✔️ validate valid integer out of range returns validation error (String, String)[8] u16, -1
✔️ validate valid integer out of range returns validation error (String, String)[9] u16, -50
✔️ validate valid integer out of range returns validation error (String, String)[10] u16, 65536
✔️ validate valid integer out of range returns validation error (String, String)[11] i16, -32769
✔️ validate valid integer out of range returns validation error (String, String)[12] i16, -2147483649
✔️ validate valid integer out of range returns validation error (String, String)[13] i16, -38000
✔️ validate valid integer out of range returns validation error (String, String)[14] i16, 32768
✔️ validate valid integer out of range returns validation error (String, String)[15] u32, -1
✔️ validate valid integer out of range returns validation error (String, String)[16] u32, -1000
✔️ validate valid integer out of range returns validation error (String, String)[17] u32, 4294967296
✔️ validate valid integer out of range returns validation error (String, String)[18] i32, -2147483649
✔️ validate valid integer out of range returns validation error (String, String)[19] i32, 2147483648
✔️ validate valid integer out of range returns validation error (String, String)[20] u64, -1
✔️ validate valid integer out of range returns validation error (String, String)[21] u64, 18446744073709551616
✔️ validate valid integer out of range returns validation error (String, String)[22] i64, -9223372036854775809
✔️ validate valid integer out of range returns validation error (String, String)[23] i64, 9223372036854775808

✔️ tests/com.espressif.idf.ui.test/target/surefire-reports/TEST-com.espressif.idf.ui.test.EspressifMenuTest.xml

1 tests were completed in 5s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.ui.test.EspressifMenuTest 1✔️ 5s

✔️ com.espressif.idf.ui.test.EspressifMenuTest

✔️ testProductInformation

✔️ tests/com.espressif.idf.ui.test/target/surefire-reports/TEST-com.espressif.idf.ui.test.executable.cases.launchconfiguration.LaunchBarCDTConfigurationsTest.xml

2 tests were completed in 22s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.ui.test.executable.cases.launchconfiguration.LaunchBarCDTConfigurationsTest 2✔️ 22s

✔️ com.espressif.idf.ui.test.executable.cases.launchconfiguration.LaunchBarCDTConfigurationsTest

✔️ creatingNewEspLaunchTarget
✔️ givenNewProjectFromTemplateIsCreatedThenTheLaunchBarHasLaunchDescriptorAddedWithProjectName

✔️ tests/com.espressif.idf.ui.test/target/surefire-reports/TEST-com.espressif.idf.ui.test.executable.cases.project.NewEspressifIDFProjectSBOMTest.xml

7 tests were completed in 298s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.ui.test.executable.cases.project.NewEspressifIDFProjectSBOMTest 7✔️ 298s

✔️ com.espressif.idf.ui.test.executable.cases.project.NewEspressifIDFProjectSBOMTest

✔️ givenNewProjectCreatedBuiltWhenOpenSbomAndAddBackSlashToProjectDescriptionPathThenCheckPathValidation
✔️ givenNewProjectCreatedBuiltWhenOpenSbomAndAddSpaceToOutputFilePathThenCheckPathValidation
✔️ givenNewProjectCreatedBuiltWhenOpenSbomAndAddSpaceToProjectDescriptionPathThenCheckPathValidation
✔️ givenNewProjectCreatedBuiltWhenOpenSbomAndCleanProjectDescriptionPathThenCheckPathValidation
✔️ givenNewProjectCreatedBuiltWhenRunSBOMtoolRedirectOutputToFileThenCheckConsoleAndSbomFile
✔️ givenNewProjectCreatedBuiltWhenRunSbomThenSbomIsGeneratedInConsole
✔️ givenNewProjectCreatedNotBuiltWhenOpenSbomThenSbomIsDisabled

✔️ tests/com.espressif.idf.ui.test/target/surefire-reports/TEST-com.espressif.idf.ui.test.executable.cases.project.NewEspressifIDFProjectTest.xml

10 tests were completed in 480s with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.espressif.idf.ui.test.executable.cases.project.NewEspressifIDFProjectTest 10✔️ 480s

✔️ com.espressif.idf.ui.test.executable.cases.project.NewEspressifIDFProjectTest

✔️ givenNewIDFProjectIsCreatedAndBuiltUsingContextMenuOnProjectThenProjectIsCreatedAndBuilt
✔️ givenNewIDFProjectIsCreatedAndBuiltUsingToolbarButtonThenProjectIsBuilt
✔️ givenNewIDFProjectIsSelectedFromTemplateThenProjectIsCreatedAndAddedToProjectExplorerWithRequiredFiles
✔️ givenNewIDFProjectIsSelectedThenProjectIsCreatedAndAddedToProjectExplorer
✔️ givenNewProjectCreatedAndRenamedAfterThenProjectIsBuildSuccessfully
✔️ givenNewProjectCreatedBuiltAndThenProjectCleanUsingContextMenu
✔️ givenNewProjectCreatedBuiltAndThenProjectFullCleanUsingContextMenu
✔️ givenNewProjectCreatedBuiltAndThenProjectPythonCleanUsingContextMenu
✔️ givenNewProjectCreatedDfuBuiltThenHasDfuBin
✔️ givenNewProjectCreatedThenInstallNewComponent