src/main/java/org/jenkinsci/plugins/awsdevicefarm/AWSDeviceFarmRecorder.java
@SuppressWarnings("unused")
        public ListBoxModel doFillTestSpecNameItems(@QueryParameter String projectName, @QueryParameter String currentTestSpecName) {
            List<ListBoxModel.Option> entries = new ArrayList<ListBoxModel.Option>();
            List<String> testSpecNames = getAWSDeviceFarmTestSpec(projectName);
            if (testSpecNames == null) {
                return new ListBoxModel();
            }
            for (String testSpecName : testSpecNames) {
                // We don't ignore case because these *should* be unique.
                entries.add(new ListBoxModel.Option(testSpecName, testSpecName, testSpecName.equals(currentTestSpecName)));
            }
            return new ListBoxModel(entries);
        }
/**
         * Populate the TestSpec drop-down from AWS Device Farm API or local cache.
         * based on the selected project.
         *
         * @param projectName           Name of the project selected.
         * @param currentTestSpecName Name of the TestSpec selected.
         * @return The ListBoxModel for the UI.
         */
Populate the TestSpec drop-down from AWS Device Farm API or local cache.
based on the selected project.

@param projectName           Name of the project selected.
@param currentTestSpecName Name of the TestSpec selected.
@return The ListBoxModel for the UI.
Populate the TestSpec drop - down from AWS Device Farm API or local cache . based on the selected project . @param projectName Name of the project selected . @param currentTestSpecName Name of the TestSpec selected . @return The ListBoxModel for the UI .
@SuppressWarnings("unused")
        public ListBoxModel doFillTestSpecNameItems(@QueryParameter String projectName, @QueryParameter String currentTestSpecName) {
            List<ListBoxModel.Option> entries = new ArrayList<ListBoxModel.Option>();
            List<String> testSpecNames = getAWSDeviceFarmTestSpec(projectName);
            if (testSpecNames == null) {
                return new ListBoxModel();
            }
            for (String testSpecName : testSpecNames) {
                entries.add(new ListBoxModel.Option(testSpecName, testSpecName, testSpecName.equals(currentTestSpecName)));
            }
            return new ListBoxModel(entries);
        }
@ SuppressWarnings ( "unused" ) public ListBoxModel doFillTestSpecNameItems ( @ QueryParameter String projectName , @ QueryParameter String currentTestSpecName ) { List < ListBoxModel . Option > entries = new ArrayList < ListBoxModel . Option > ( ) ; List < String > testSpecNames = getAWSDeviceFarmTestSpec ( projectName ) ; if ( testSpecNames == null ) { return new ListBoxModel ( ) ; } for ( String testSpecName : testSpecNames ) { entries . add ( new ListBoxModel . Option ( testSpecName , testSpecName , testSpecName . equals ( currentTestSpecName ) ) ) ; } return new ListBoxModel ( entries ) ; }
Populate the TestSpec drop-down from AWS Device Farm API or local cache.
Populate the TestSpec drop - down from AWS Device Farm API or local cache .
// We don't ignore case because these *should* be unique.